Redis
Redis is an in-memory data structure store created by Salvatore Sanfilippo and maintained by Redis Ltd. It distinguishes itself from traditional databases by supporting complex data types like strings, lists, sets, and hashes with atomic operations, enabling high-performance caching, real-time analytics, and session storage. Companies like Twitter use Redis for real-time timelines, and GitHub employs it for caching repository data to reduce database load. A key technical detail is its single-threaded event loop architecture, which simplifies concurrency but can limit CPU utilization on multi-core systems.
Use Redis when you need sub-millisecond latency for read-heavy workloads, such as caching web pages or leaderboard updates in gaming apps. It is not suitable for persistent storage of large datasets where data durability is critical, as its in-memory nature risks data loss during crashes without proper configuration. The Redis community acknowledges that its single-threaded design can become a bottleneck for CPU-intensive operations, requiring careful sharding or replication to scale horizontally.
See how it ranks →