System Design Atlas

Live sports interaction for large audiences

03 / 10Worked example

Scale estimates

Fanout exceeds acceptance load. What conditions ensure the result?

One contribution can reach many devices.

Starting point The check time must be less than 60,000 ms.

Assumptions for the example case

A fictional audience poll on the best play. Each account can cast at most one immutable vote per poll. Chat has a separate moderation path. All quantities, thresholds and operational objectives of this design are illustrative assumptions.

Fanout multiplies load

Fanout multiplies load

5,000 votes/s60 seconds
Stimmenwelle → Stimmenpartition300,000 total
Vote partitionPermanent acceptance
100 chat events/sReleased versions
Chatstrom → 500.000 Gerätetheoretically 50 million/s
500,000 devicesLimiting channels and receivers

5,000 votes/s and 50 million theoretical chat deliveries/s are separate measures; channels limit fanout.

5,000 votes/s and 50 million theoretical chat deliveries/s differ greatly in scale; channels limit fanout.

Illustrative load and domain calculations

  1. 01

    Voting burst

    300,000 votes

    5000/s × 60 s

    For the designTallying must catch up to the final watermark.

  2. 02

    Fanout

    50 million deliveries/s

    500,000 connected devices × 100 chat events/s

    For the designDelivering every unfiltered chat post is unsustainable; channels and bounded selections are required.

Fanout exceeds ingestion load.

Fanout exceeds ingestion load.

Channels and bounded selections reduce deliveries.

One contribution can reach many devices.

5,000×60=300,000. 500,000×100=50,000,000 deliveries/s before filtering.

Alternative considered
Full chat to all generates 50 million deliveries/s.
Trade-off
Not every person sees every contribution.
Reassess
Real use determines channel sizes.

Try it yourself

Calculate the vote volume and the load from delivering every chat post.

A hint for your attempt

One contribution can reach many devices.

Compare with a possible solution
Votes
5,000×60=300,000.
Chat
500,000×100=50,000,000 deliveries/s before filtering.

Apply to your project

Which equivalent has “Fanout exceeds acceptance load.” in your own project?

Step 4: Replay remains readable after the deadline. What conditions ensure the result?