Skip to main content
InterviewHubPRO
Section Overview
Q35

Question 35 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

70%
Redis & Caching (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

When should you NOT use Redis?

senior LevelredisAdvanced Internals

In Simple Words:

  1. Primary storage for datasets significantly larger than physical RAM: RAM costs $5-$10/GB vs $0.02/GB on SSDs (use DynamoDB, Cassandra, or PostgreSQL).
  2. Complex relational joins and ad-hoc aggregations: Redis lacks relational querying capabilities.
  3. Strict ACID durability requirements without any data loss tolerance: Even with AOF everysec, a power loss can lose the last 1 second of transactions. `;