The accepted answer only answer pros and cons, not answer Is Redis faster than MySQL?
The answer:
Yes, Redis is faster than MySQL
How can it be faster:
without cache, it depend on hardrive bandwidth (not query)
MySQL, use disk: HDD 100 MB/s, SSD 500 MB/s, NVME 500-3000 MB/s
Redis, other noSQL, use Memory/RAM: DDR3 15,000 MB/s, DDR4 25,600 MB/s
so if using MySQL with HDD 100 MB/s VS Redis DDR4 25,600 MB/s = 256X faster*
*note: not real performance, only theoretically
which is also hard disk based?
both using hard disk but Redis only use HDD for backup/restore.