System Design ($200k+) · STORAGE · Distributed Systems Core · 2026

Redis (RDB/AOF) vs Durable ACID Primary Database

Quick Decision Rule: When Storing financial ledger balances where zero committed-transaction loss is required across sudden node crashes, choose ACID relational database (PostgreSQL / Aurora) with synchronous WAL replication; use Redis strictly as a rebuildable cache.

Trigger ConditionStoring financial ledger balances where zero committed-transaction loss is required across sudden node crashes
Recommended ChoiceACID relational database (PostgreSQL / Aurora) with synchronous WAL replication; use Redis strictly as a rebuildable cache
Classic TrapDefault Redis AOF (`appendfsync everysec`) can lose up to 1 second of committed writes on crash, and Redis lacks multi-key durable ACID isolation guarantees.
VerificationAudited on 2026-11-23 · Distributed Systems Core · 2026

30-SECOND DECISION TRAP CHECK · STORAGE

Test your instinct

To cut p99 latency, an AI-generated PR replaces PostgreSQL with Redis (default AOF `everysec`) as the sole database for customer wallet balances. Why should you block this PR?

Primary Engineering Documentation

Related Storage Decision Guides