Design: live reactions at high throughput

The core idea

A goal is scored during a livestream.

Thousands of viewers tap the heart button at once.

In this lesson

  • Decide what a reaction means
  • Separate acceptance from delivery
  • Batch taps without dropping them
  • Work out the two multipliers
  • Keep the hot stream from owning one counter
  • Send current state to slow viewers
  • Test the acceptance boundary locally
  • What to measure before scaling

Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.