Producers Rejected
Easy · system design problem
A flash sale doubles writes and a third of checkouts fail at publish time. The consumers are idle.
Checkout publishes payment events to Kafka. Each partition of payment-events can absorb about 800 messages/s, and the topic has 4. Consumers are plentiful. A flash sale is about to start — keep checkout availability at 99%.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.