MicrolearnENPTES

Rate limiting

Lesson 25 of 40 · Sys.Micro

Cap how fast any one client can call you, so one misbehaving caller cannot sink everyone.

One client sends 5,000 requests a second

A customer’s integration has a retry bug and hammers the API. CPU hits 100%, latency explodes and thousands of normal users get timeouts. Nothing is wrong with your code, except that nothing says “that is enough”.

Why one client can take down a shared API

Check yourself

You run 8 gateway instances with in-memory counters set to 100 req/s per key. What can a client actually send?

Do it in the browser: a real system design tool, a short mission and instant feedback. No install.

Start this lesson — free
← Redundancy and failoverTimeouts and retries →

All lessons · Sys.Micro