Redis is an in-memory data structure store used as a cache, message broker, session store, and real-time leaderboard engine. Sub-millisecond reads, supports strings, hashes, lists, sets, sorted sets, and streams.
The Swiss Army knife of backend infrastructure. Redis 7+ adds functions, client-side caching, and ACLs. Available managed via Upstash (serverless), AWS ElastiCache, or self-hosted.
Sub-ms Latency
In-memory reads in microseconds
Rich Data Types
Strings, hashes, sets, sorted sets, streams
Pub/Sub
Real-time messaging and event broadcasting
Icon "swiss-army-knife" not found
Versatile
Cache, queue, session store, rate limiter
When to use
- You need a fast cache layer in front of your database — Redis is the default choice.
- You want pub/sub messaging, job queues (BullMQ), or rate limiting.
- You need session storage, leaderboards, or real-time counters.
- You want a battle-tested tool with massive community and managed hosting options everywhere.
When not to use
- You need serverless-friendly Redis without managing connections — use Upstash.
- You need durable event streaming with replay and consumer groups at scale — use Kafka.
- Your data must survive restarts with zero risk — Redis persistence has trade-offs vs. a real database.
Hire a Claude Code developer who ships with AI agents
Meet 2-3 vetted profiles in 48 hours, then test 1 on a real task in a 2-day trial for $7. From $30/h, no contract.







