Design Rate Limiting and Quotas for the Public Asana API

Last updated: November 29, 2026

Quick Overview

Design how Asana's public REST API limits requests per app and per user, including bursts, expensive endpoints such as search, and concurrency caps, while giving integrations clear signals to back off.

Asana
System Design
Software Engineer
Asana
November 29, 2026
Software Engineer
Technical Screen
System Design
Medium

0

0

0 solved


Design how Asana's public REST API limits requests per app and per user, including bursts, expensive endpoints such as search, and concurrency caps, while giving integrations clear signals to back off.

Asana's API serves first-party integrations, customer scripts and marketplace apps, and its documentation describes per-minute request limits by plan plus concurrency limits. The interviewer checks the choice of algorithm, distributed counting, cost-weighted limits and the client experience on a 429.

What the Interviewer Expects
  • Chooses an algorithm (token bucket or sliding window) and explains burst behavior
  • Defines the limiting key (token, app, workspace) and why
  • Weights expensive endpoints more heavily
  • Implements distributed counters with low added latency
  • Returns 429 with Retry-After and documents headers
Key Topics to Cover
token bucket
sliding window
distributed counters
API gateways
backpressure
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you limit concurrent in-flight requests, not just rate?
  • What happens to limits if the Redis cluster is unavailable?
  • How would you give a large enterprise customer a higher quota?
  • How do you stop one app from consuming a workspace's entire budget?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Limits per access token per minute that vary by plan, a separate stricter cost budget for search, and a cap on concurrent requests. Decisions add under 2 ms p99. Clients get 429 with Retry-After. Th...

High-Level Design

An API gateway layer calls a limiter library before routing. Counters live in a sharded Redis cluster keyed by (token, window). Each endpoint has a cost (most cost 1, search maybe 10). A concurrency...


Submit Your Answer
Markdown supported