Code Room
System designHard
Question
Design an event-streaming backbone that is the single source of truth for a bank's account-balance ledger: ~200k transaction events/sec, multiple downstream consumers (fraud, statements, analytics, a materialized balance store), and a regulatory requirement to replay any account's full history at any point. Cover the topic/partition design, how you let a brand-new consumer rebuild state from the beginning, how you evolve the event schema without breaking old consumers, and how you keep storage bounded.
What a strong answer looks like
Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts — data model, bottlenecks, consistency, failure modes — and name the trade-offs you are making.
Learn the concepts
Loading whiteboard…
Run or narrate your approach, then ask the coach.