---
title: "Discussion on \"I Tried Designing a Distributed Rate Limiter. Here’s Every Place It Broke.\" | Hashnode"
description: "Discussion on \"I Tried Designing a Distributed Rate Limiter. Here’s Every Place It Broke.\". Learn how I designed a distributed rate limiter using Redis, Lua scripts, fixed windows, and sliding windows, and where the design broke in production"
url: "https://hashnode.com/posts/i-tried-designing-a-distributed-rate-limiter-here-s-every-place-it-broke/6a80a3f5cb55cc5b9debe75c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I Tried Designing a Distributed Rate Limiter. Here’s Every Place It Broke.](https://curiousnilay.hashnode.dev/i-tried-designing-a-distributed-rate-limiter-here-s-every-place-it-broke?utm_source=hashnode&utm_medium=feed)

Learn how I designed a distributed rate limiter using Redis, Lua scripts, fixed windows, and sliding windows, and where the design broke in production

Aug 15 · 8 min read · curiousnilay.hashnode.dev  
Read the article

-   [#system-design](https://hashnode.com/tag/system-design)
-   [#distributedsystems](https://hashnode.com/tag/distributedsystems)
-   [#redis](https://hashnode.com/tag/redis)
-   [#backend-development](https://hashnode.com/tag/backend-development)
-   [#backenddevelopment](https://hashnode.com/tag/backenddevelopment)
-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#distributed-systems-design](https://hashnode.com/tag/distributed-systems-design)
-   [#rate-limiting](https://hashnode.com/tag/rate-limiting)
-   [#ratelimit](https://hashnode.com/tag/ratelimit)
-   [#ratelimiting](https://hashnode.com/tag/ratelimiting)

## Written by

[Nilay Shahane](https://hashnode.com/@nilayshahane)

@nilayshahane · Mumbai, India

  
[View profile](https://hashnode.com/@nilayshahane)

Learning-Building-Sharing.

B.Tech Computer Engineering student | Exploring Backend Engineering, Agentic AI &amp; System Design | Learning in public.

## Responses 1

Markdown supported · ⌘↵ to post

[Tushita Prashant Patil](https://hashnode.com/@tush-bug)

[Aug 15](https://hashnode.com/posts/i-tried-designing-a-distributed-rate-limiter-here-s-every-place-it-broke/6a80a3f5cb55cc5b9debe75c/comment/6a80ad4190b660b244fa8163)

Great read! The jump from a simple hashmap to sliding window and still having a bottleneck - crazy read! (i think I should go back to my github go through the crimes I might've committed💀) Great share Nilay!
