System Design Atlas

Live sports interaction for large audiences

01 / 10Worked example

Purpose and boundary

Votes and chat messages have separate effects. What conditions ensure the result?

Poll P-51 runs for 60 seconds. Account U-51 submits vote V-51. The server-side decision time determines acceptance: allowed at t<60,000 ms, closed from 60,000 ms. Chat post C-51 remains subject to moderation independently of the vote. Removing a comment must not delete a vote.

Starting point Let large audiences participate in time-limited polls and deliver moderated chat messages.

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.

Vote and chat separately

Votes and chat on separate paths

ViewersVote V-51 and chat C-51
Zuschauende → Abstimmung P-51Vote
Vote P-5160 seconds, once per account
Abstimmung P-51 → RedaktionConfirming the final result
Editorial teamopens and publishes
Zuschauende → Chat C-51Chat post
Chat C-51Own life cycle
Chat C-51 → Moderationrelease or removal
ModerationLeaves votes unchanged

Viewers participate in polls and chat; the editorial team controls results, while moderation controls visibility only.

Viewers branch to voting and chat; editorial controls outcome, moderation visibility.

The worked example

Commitment and limitation
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.
Responsibility
Viewers vote and send chat posts. The editorial team opens polls and publishes final results. Moderators review and remove problematic posts. Platform operations monitors load and completeness.

Votes and chat messages have separate effects.

Votes and chat messages have separate effects.

The domain processing paths remain independent.

A removed comment must not delete a vote.

The editorial team opens the poll and publishes the final result. Moderators decide chat visibility and leave votes unchanged.

Alternative considered
A shared participation state mixes moderation with voting.
Trade-off
Two state models are needed.
Reassess
New interactions need their own rules.

Try it yourself

Assign responsibilities to the editorial team and moderators.

A hint for your attempt

A removed comment must not delete a vote.

Compare with a possible solution
Editorial team
The editorial team opens the poll and publishes the final result.
Moderation
Moderators decide chat visibility and leave votes unchanged.

Apply to your project

What is the equivalent of “Vote and Chat Have Separate Effect.” in your own project?

Step 2: The server time decides the deadline. What conditions ensure the result?