hardplatform~110 min

Multi-Tenant Rate Limiter / Quota Service

Platform / Backend interview. Build a multi-tenant rate limiter with per-(tenant, route) sliding-window limits, burst handling, and longer-window quotas. Senior signal: accuracy at the window boundary, no cross-tenant leakage, and race safety so admitted requests never exceed the limit under concurrency.

  • rate-limiting
  • multi-tenant
  • platform
  • concurrency

Start this challenge

Run this in your terminal. You need Node.js 20+ and git.

npx @kodwai/cli challenge multi-tenant-rate-limiter-quota-service
  1. The CLI signs you in through the browser if needed and asks which agent you will use: Claude Code, Cursor, or Codex.
  2. It downloads PROBLEM.md, starter files and tests, inits a git repo, and starts a 110-minute timer. The full problem statement is revealed only once you start.
  3. You solve it on your own machine, in your own editor, with your own agent. No browser sandbox.
  4. When you are done, npx @kodwai/cli submit packages your code, git history, test runs, agent transcript, and the time you took, then ships it for scoring.

How you are scored

Your session gets a score from 0 to 100 across three axes. The score is dominated by how you direct the agent, the part a careless prompt cannot fake: passing tests is necessary but not sufficient. Every signal cites its own evidence from your transcript, commits, and test runs, and your score comes with a confidence interval instead of false precision.

Direction

How you steer, verify, and decompose.

Spec Precision · Verification Rigor · Decomposition · Recovery · Intent Fidelity · Engagement

Outcome

What shipped, replayed and stress-tested to prove it holds.

Tests · Code Quality · Complexity

Lift

How far you beat a solo AI, not just that you passed.

Edge-Case Coverage · Lift over AI

Read how the AI Collaboration Score for coding agents works for every signal and how the axes are weighted.

Try Multi-Tenant Rate Limiter / Quota Service with your agent.

Create a free account, then run the command above. Solving challenges, your score, your profile, and the leaderboard are free for developers.

More challenges

all challenges