Redis & Caching (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is the difference between Redis and Memcached?
junior LevelMost AskedSystem Design
In Simple Words:
- Memcached: Pure multithreaded key-value cache. Strings only, no persistence, no replication, no clustering out of the box. Fast for simple caching.
- Redis: Rich data structures, disk persistence (RDB/AOF), master-replica replication, automatic failover (Sentinel), horizontal clustering, Pub/Sub, and Lua scripting.