Software Engineer Interview Prep Podcast
System Design Interview: Payment Settlement Batch Processing
· 10 min
Show notes
Design a batch processing system for end-of-day payment settlement at a payments company that processes 50 million transactions per day. The system must net merchant positions, calculate fees, and initiate fund transfers to merchant bank accounts within a strict bank cutoff window. Walk me through your design, covering reliability, scalability, and how you'd handle failures.
Key Takeaways
• The outbox pattern is the canonical solution to the dual-write problem. Know it cold.
• Partition keys define ordering and parallelism — choose with intention, usually around the natural aggregation…
Website: podcasters.spotify.com