Frequent questions about Redis: its difference from Memcached, how it persists data, and how it scales.
- Redis vs Memcached?
Redis has data structures, persistence, and Pub/Sub. Memcached is a pure cache with strings only.
- Does Redis persist data?
Yes, via RDB (snapshots) and AOF (append-only file). It is not a backup; use it for restart speed.
- How does Redis scale?
Redis Cluster shards data across nodes. Single-node Redis is limited by RAM.
- Is Redis single-threaded?
Command execution is single-threaded. I/O is threaded in Redis 6+.