Availability — Throttling (1)
dev.to·13h·
Discuss: DEV
Flag this post

the “PLEASE CHILL” Pattern your services desperately need

Imagine your service is a tiny café.

Most days it’s fine. A few customers, some coffee orders, a little latency but nothing dramatic.

Then one day you get featured on Hacker News. Suddenly 10,000 people show up, all yelling GET /coffee at the same time.

Options:

  • You try to serve everyone → kitchen melts, nobody gets coffee.
  • You shut the door and deny everyone → users rage, business dies.
  • You let people in at a controlled rate → some wait, some get “come back later,” the kitchen keeps working.

That third one is throttling.

In distributed systems, throttling is how we tell clients:

You’re not wrong, you’re just early.

Let’s unpack what throttling really is, how it differs from plain rate limiting, an…

Similar Posts

Loading similar posts...