Payment System
Hard · system design problem
A third-party fraud API slows down and drags the whole payment flow with it.
Every payment is scored by an external fraud-detection vendor before being written to the payments DB (via PgBouncer) and published to Kafka for the ledger. Calls to the vendor are retried 3× and have no timeout. You can't restart or scale someone else's API.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.