Firehose on GCP
Easy · system design problem
A live show doubles an 80,000 events/s clickstream for a minute, 12 seconds from now. The enrichment service cannot scale in time, and you run on GCP.
collector-api receives 80,000 clickstream events/s and calls enrich-svc synchronously, which writes to ClickHouse. At T+12s a live show starts and events double for a minute. enrich-svc instances take a minute to boot. Events may be processed up to a minute late but must all be accepted. You run on Google Cloud.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.