GOAT EngineerPreparing your learning space…

Practice problems · Topic

Rate limiting & protection problems

Covers token bucket, sliding window, circuit breaker, load shedding.

Rate limiting problems are about the pace work is allowed to move. Some ask you to enforce a limit fairly across many servers, others to respect a limit someone else enforces, and the hardest ones show how your own retries can multiply an outage unless something sets the pace.

Problems that need rate limiting & protection

  1. Run 3,000 Jobs Due at Once: Practice

    Run a burst of scheduled jobs against a dependency that can only take so many. Practise queues, pacing and retries with jitter on a canvas that runs.

  2. Third-Party API Rate Limits: Practice

    Your push provider refuses anything past 500 calls a second. Queue the work, pace workers to the limit, retry safely, and lose nothing when a worker dies.

  3. Rate Limiting Across Multiple Servers

    Hold each client to its limit when its calls land on many servers, so only the noisy client suffers. Practise token buckets and failing open or shut.

  4. LLM Provider Failover: Practice Problem

    Keep an AI feature up when a model provider fails, with two providers that each fall short of your peak. Practise fallback order and queued work.

  5. Survive a Retry Storm: Practice Problem

    A short timeout and generous retries can turn a five second outage into a long one. Practise timeouts, backoff and limits, then watch the storm.

By GOAT Engineer. Practice problems · Privacy Policy · Contact.