No. 33 · Storage & data modeling
Design like counts for very popular posts
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further 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.
- Distributed Counter System Design
Long, thorough treatment of counter options: SQL row, sharded rows, Redis, stream aggregation and CRDT counters, plus cross-region concerns. Best single read for the counting core; wordy in places.
Link checked 2026-12-06
- Distributed counters
Official explanation of the sharded-counter pattern: split one hot counter into N shards, write one at random, sum on read. Small, concrete, and the exact trick for very popular posts.
Link checked 2026-12-06
- System Design Question: How does FB/Insta store/retrieve likes
Engineers debating denormalised counts versus stream aggregation and handling unlikes. Useful for the trade-off conversation; it is informal discussion, not a design.
Link checked 2026-12-06
- 18. System Design Example (Realtime Like Counter) | Welcome to the Coding Interview: You Suck
Builds a near-real-time like counter with batching and sharded pipelines, then critiques its own answer. Leans more toward live updates than toward storage correctness.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 3 links from the audited catalog kept
- blog.interviewcamp.io/live-design-facebook-likes-distributed-counter Lands on a generic index of class recordings rather than the specific lesson; the underlying video was not reviewed.
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)AmazonX (Twitter)
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Pattern Caching and hot keys
- Pattern Counting at scale: exact when it matters, approximate when it does not