Hint: Unique IDs stop duplicate transaction records [OK]
Common Mistakes:
Ignoring duplicate checks on retries
Removing logging which loses audit trail
Increasing timeout doesn't fix duplicates
5. You are designing a payment system that must handle 10,000 transactions per second with minimal latency and high reliability. Which architectural approach best supports this requirement?
hard
A. Store all payment requests in a single database table and process sequentially
B. Process all payments synchronously on a single server to ensure order
C. Use client-side scripts to process payments directly without server validation
D. Use a distributed message queue to process payments asynchronously with multiple worker nodes
Solution
Step 1: Analyze scalability and latency needs
Handling 10,000 TPS requires distributing load and minimizing blocking.