HardDesign: Rate Limiter

How would you design a rate limiter that limits by cost rather than by count (e.g., expensive ML inference costs 10 units, simple lookup costs 1)?

Tests your understanding of this concept.

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Rate Limiter questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Rate Limiter topic (System Design Cases).

More Design: Rate Limiter Questions