Databases · Senior · Question 44 of 75
Why is using Redis as the only store for important business data risky?
- ✓Correct answer: Data lives in memory; depending on persistence settings (RDB snapshots, AOF fsync policy) a crash can lose recent writes, and memory limits can evict keys
- 2Redis can't store strings longer than 100 characters
- 3Redis has no replication
Explanation
AOF with appendfsync always is durable but slow; everysec can lose about a second. Keep the source of truth in a durable database and use Redis for derived data.