Question bank

No. 50 · Real-time delivery

Design live like count updates

Intermediate35 minPush & WebSockets · Fan-out · Back-pressure · Hot keys · Client design · Caching

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

Only one interview-style walkthrough exists for this exact prompt; the rest are primary sources for its parts. Our worked approach ties them together.

  1. Streaming a Million Likes/Second: Real-Time Interactions on Live Video

    InfoQ (QCon London 2020) · Akhilesh GuptaVideoPartialFreeVetted

    The best primary source for this question: how LinkedIn pushed live likes to thousands of viewers per video using persistent connections, subscriptions and a dispatcher. Counting itself is out of scope.

    Link checked 2026-12-06

  2. 18. System Design Example (Realtime Like Counter) | Welcome to the Coding Interview: You Suck

    EChanTech (YouTube)VideoFull walkthroughFreeVetted

    Interview-style walkthrough of a near-real-time like counter with subscriptions per post and batched updates, plus a self-review of weak spots. Some hand-waving on scale numbers.

    Link checked 2026-12-06

  3. Instant Messaging at LinkedIn: Scaling to Hundreds of Thousands of Persistent Connections on One Machine

    LinkedIn Engineering · Akhilesh GuptaEngineering blogPartialFreeVetted

    Why LinkedIn chose SSE and how it held very many persistent connections per machine. Useful for the push-channel part; written for messaging, not likes.

    Link checked 2026-12-06

  4. Distributed Counter System Design

    systemdesign.one · Neo KimArticleFull walkthroughFreeVetted

    Covers the counter behind the live number, including sharding and pushing values over WebSockets. Read the storage sections; skip the CRDT detail unless asked.

    Link checked 2026-12-06

  5. Distributed counters

    Firebase DocumentationDocsBackgroundFreeVetted

    Quick reference for sharded counters when one viral post receives far more likes than a single row can absorb. Says nothing about pushing updates to viewers.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 1 of 1 links from the audited catalog kept

Every recommended link was kept.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Catalog tags (unverified)

Meta (Facebook)Coinbase

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions