Skip the Hop
Easy · system design problem
A webhook burst triples traffic for a minute. The ingest service in front of SQS cannot boot new instances in time — and partners retry every failure twice.
Partners send 4,000 webhooks/s through the API gateway to ingest-svc, which validates them and puts them on SQS for the workers. ingest-svc instances take 90 s to boot. At T+20s a partner replays a day of events: traffic triples for 60 seconds, and partners retry failed calls twice. The gateway can publish to SQS itself (a direct service integration). Webhooks may be processed up to two minutes late.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.