Design an API Rate Limiter

👷‍♂️ In progress: We are writing our own solutions
We find that solutions online don't do justice to real FAANG interviews. So, we're writing our own.
to get these early versions. Unsubscribe anytime.
📕 Here are some good solutions we found for this question:

Great article + mock interview video: https://www.tryexponent.com/blog/rate-limiter-system-design

Great solution by Google engineer: https://www.youtube.com/watch?v=VzW41m4USGs

Intro: https://blog.bytebytego.com/p/rate-limiting-fundamentals

Good article on algorithms: https://medium.com/geekculture/system-design-design-a-rate-limiter-81d200c9d392

Leetcode discussion: https://leetcode.com/discuss/interview-question/system-design/1616482/System-Design%3A-Rate-Limiter


🙋 Here are some details you should know about this question:

How to identify users to rate limit?

What algorithm do you use for rate limiting?

How about in a distributed system - how do you scale this in large distributed website?

How to make your rate limiter fault tolerant?


← Back to Main Table