System Design Atlas

Live sports interaction for large audiences

09 / 10Worked example

Operations and security

Restoration begins with votes. What conditions ensure the result?

A result counter may be damaged.

Starting point Measure ingestion, aggregation and fanout separately.

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.

Watermark before finalisation

Three barriers to finalization

Time limit endsServer time ≥ 60,000 ms
Acceptance watermark 300,000Monotonic and complete
Processed 299,999One vote is missing
Annahmewasserstand 300.000 → Verarbeitet 300.000Aggregate the last vote
Processed 300,000Watermark reached
Editorial confirmationEditorial publication
Verarbeitet 300.000 → Final veröffentlichtDeadline + watermark + editorial team
Redaktionsbestätigung → Final veröffentlichtbestätigt
Final PublishedTotal of 300,000

Deadline expiry, a complete monotonic acceptance watermark and editorial confirmation are all required.

300,000 accepted versus 299,999 processed; processing the last vote closes the gap, and the editorial team publishes the result.

Access and recovery

Limiting abuse
Acceptance verifies authenticated account and rate limit; these reduce abuse but do not prove a real person. Moderation may remove chat, not rewrite votes.
Recover the result
Platform operations rebuilds tallies from the authoritative vote store and compares watermarks. The editorial team publishes the final result only after completeness has been verified.

Business outcome and completion

Evidence ownership
Publishing a final result requires a complete acceptance watermark and a reproducible tally. Rejected and Removed are terminal chat states; published posts remain subject to moderation. Rejected votes are never counted.

Recovery starts with votes.

Recovery starts with votes.

Recalculate the total from accepted votes.

A result counter may be damaged.

Durably stored votes and the acceptance watermark. The editorial team publishes after technical evidence confirms completeness.

Alternative considered
Cachebackup alone does not prove completeness.
Trade-off
Recalculation takes time.
Reassess
Larger events need prepared reconstruction procedures.

Try it yourself

Name the authoritative source and the role that authorizes publication.

A hint for your attempt

A result counter may be damaged.

Compare with a possible solution
Source
Durably stored votes and the acceptance watermark.
Publication authority
The editorial team publishes after technical evidence confirms completeness.

Apply to your project

What is the equivalent of “restoration begins with votes.” in your own undertaking?

Step 10: The end-to-end path shows an honest final score. What conditions ensure the result?