Skip to content
All tags

#scalability

5 entries tagged #scalability

  • You Don't Need to Store 4 Billion Users to Count Them

    Post · Oct 03, 2026

    Counting unique visitors sounds like a set: add every user id, read its size. At a few billion ids that set is tens of gigabytes, kept only to produce one number. Do you need to remember who visited to count them?

  • How Does Facebook's Distributed Like Counter Work?

    Post · Oct 01, 2026

    A celebrity posts and a million people tap the heart in ten minutes, and every one of them sees a count that seems to keep up. One row with a number in it can't take that. So what does?

  • What Breaks From 1k to 1M Requests Per Second

    Post · Aug 11, 2026

    One product-page endpoint, the same code, ten times more traffic, then ten times more again. Each step breaks something different, and the last one breaks something extra capacity can't fix.

  • Size a System on the Back of an Envelope

    Cheat · Sep 20, 2026

    The interviewer asks how much traffic you're expecting. Round to powers of ten, turn per-day into per-second, and end every number on the design decision it forces: one node, a cache, or a shard.