---
title: "Discussion on \"API Rate Limiting with Redis\" | Hashnode"
description: "Discussion on \"API Rate Limiting with Redis\". Build a distributed rate limiter for FastAPI with Redis. Learn fixed window, and token bucket algorithms with Lua scripts and 429 responses."
url: "https://hashnode.com/posts/api-rate-limiting-with-redis/6af95a3cb7275a77e60d919c"
---

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

Discussion

# [API Rate Limiting with Redis](https://code-azeem.hashnode.dev/api-rate-limiting-with-redis?utm_source=hashnode&utm_medium=feed)

Build a distributed rate limiter for FastAPI with Redis. Learn fixed window, and token bucket algorithms with Lua scripts and 429 responses.

1d ago · 19 min read · code-azeem.hashnode.dev  
Read the article

-   [#redis](https://hashnode.com/tag/redis)
-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#rate-limiting](https://hashnode.com/tag/rate-limiting)
-   [#python](https://hashnode.com/tag/python)
-   [#backend-development](https://hashnode.com/tag/backend-development)

## Written by

[Azeem Ahmad](https://hashnode.com/@code-azeem)

@code-azeem

  
[View profile](https://hashnode.com/@code-azeem)

I speak in Logic

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
