---
title: "#rate-limiting articles | Hashnode"
description: "Explore 138 articles tagged #rate-limiting on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/rate-limiting"
---

Tag

# #rate-limiting

138 posts · 2 followers

[Azeem Ahmad](https://hashnode.com/@code-azeem) · [3d ago](https://hashnode.com/posts/api-rate-limiting-with-redis/6af95a3cb7275a77e60d919c)

### [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.

19 min read · [code-azeem.hashnode.dev](https://code-azeem.hashnode.dev/api-rate-limiting-with-redis?utm_source=hashnode&utm_medium=feed)

[Super Ma](https://hashnode.com/@usagerail) · [Nov 7](https://hashnode.com/posts/api-keys-and-per-customer-rate-limits-for-a-hono-api/6aef02d7bfbfb6be5902d0f0)

### [API keys and per-customer rate limits for a Hono API](https://usagerail.hashnode.dev/api-keys-and-per-customer-rate-limits-for-a-hono-api?utm_source=hashnode&utm_medium=feed)

A working middleware in about 40 lines, what it leaves out, and when to stop writing it yourself.

5 min read · [usagerail.hashnode.dev](https://usagerail.hashnode.dev/api-keys-and-per-customer-rate-limits-for-a-hono-api?utm_source=hashnode&utm_medium=feed)

[Najmul Hasan](https://hashnode.com/@najmulhasan) · [Oct 26](https://hashnode.com/posts/github-api-rate-limit-in-next-js-go-from-60-to-5-000-requests-per-hour/6adf9b8158f35fda50afa520)

### [GitHub API Rate Limit in Next.js: Go From 60 to 5,000 Requests per Hour](https://najmulhasan.hashnode.dev/github-api-rate-limit-in-next-js-go-from-60-to-5-000-requests-per-hour?utm_source=hashnode&utm_medium=feed)

Stay under the GitHub API rate limit in Next.js: a server-side token lifts 60 to 5,000 requests per hour. Parallel fetches and a clean 503 included.

6 min read · [najmulhasan.hashnode.dev](https://najmulhasan.hashnode.dev/github-api-rate-limit-in-next-js-go-from-60-to-5-000-requests-per-hour?utm_source=hashnode&utm_medium=feed)

[Small Hours](https://hashnode.com/@smallhours) · [Oct 24](https://hashnode.com/posts/pytrends-toomanyrequestserror-google-returned-a-response-with-code-429-and-what-still-works/6adc02880c6db37576695155)

### [pytrends TooManyRequestsError: Google returned a response with code 429 (and what still works)](https://smallhours.hashnode.dev/pytrends-toomanyrequestserror-google-returned-a-response-with-code-429-and-what-still-works?utm_source=hashnode&utm_medium=feed)

It is Google's rate limit, not your code. Three small scripts: retries with a growing wait, today's trends without pytrends, and an optional hosted version.

6 min read · [smallhours.hashnode.dev](https://smallhours.hashnode.dev/pytrends-toomanyrequestserror-google-returned-a-response-with-code-429-and-what-still-works?utm_source=hashnode&utm_medium=feed)

[Jeetjyoti Deka](https://hashnode.com/@Jeetjyoti) · [Oct 12](https://hashnode.com/posts/rate-limit-part-3/6acd0eb99acee2c949d575d6)

### [I Stopped Calling Redis on Every Request And It Got 97× Faster.](https://jeet-blogs.hashnode.dev/rate-limit-part-3?utm_source=hashnode&utm_medium=feed)

Leasing rate limit quoata from redis to increase latency with accuracy trade-off

14 min read · [jeet-blogs.hashnode.dev](https://jeet-blogs.hashnode.dev/rate-limit-part-3?utm_source=hashnode&utm_medium=feed)

[Powerduck](https://hashnode.com/@powerduck) · [Oct 7](https://hashnode.com/posts/openapi-rate-limiting-429-retry-after-headers/6aca07aa6f133930eb17f663)

### [Document rate limits in OpenAPI so clients actually back off: 429, Retry-After, and rate-limit headers](https://blogs.powerduck.com/openapi-rate-limiting-429-retry-after-headers?utm_source=hashnode&utm_medium=feed)

A 429 with no Retry-After just makes clients guess, hammer harder, or give up. A usable rate-limit contract states the quota window, the remaining count, and exactly when to retry. Here is how to model 429, Retry-After, and the RateLimit headers in OpenAPI and verify the backoff

6 min read · [blogs.powerduck.com](https://blogs.powerduck.com/openapi-rate-limiting-429-retry-after-headers?utm_source=hashnode&utm_medium=feed)

[Madhav Bhasin](https://hashnode.com/@madhavbhasin) · [Oct 1](https://hashnode.com/posts/redis-patterns-every-backend-engineer-should-know/6abe320c8c269df6ae50774c)

### [Redis Patterns Every Backend Engineer Should Know](https://blog.madhav.dev/redis-patterns-every-backend-engineer-should-know?utm_source=hashnode&utm_medium=feed)

Caching, idempotency, rate limiting, distributed locks — and when not to use Redis at all. Five patterns with Python examples and the failure modes

6 min read · [blog.madhav.dev](https://blog.madhav.dev/redis-patterns-every-backend-engineer-should-know?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/redis-patterns-every-backend-engineer-should-know/6abe320c8c269df6ae50774c)

[Damilola Ogungbesan](https://hashnode.com/@dami-pp) · [Sep 30](https://hashnode.com/posts/designing-retry-strategies-for-large-scale-web-data-collection/6abcb3ad4c0c6562c47ee02a)

### [Designing Retry Strategies for Large-Scale Web Data Collection](https://blog.raspbytes.com/designing-retry-strategies-for-large-scale-web-data-collection?utm_source=hashnode&utm_medium=feed)

How to recover failed requests without creating retry storms, wasting proxy bandwidth, or overwhelming large-scale collection pipelines.

14 min read · [blog.raspbytes.com](https://blog.raspbytes.com/designing-retry-strategies-for-large-scale-web-data-collection?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [Sep 29](https://hashnode.com/posts/the-bouncer-s-math-rate-limiting-explained-like-you-re-new/6abb2eeb2bc85a22209bf055)

### [The Bouncer's Math: Rate Limiting, Explained Like You're New](https://blueprintsofscale.hashnode.dev/the-bouncer-s-math-rate-limiting-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Blueprints of Scale — Core Concepts #8

52 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/the-bouncer-s-math-rate-limiting-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Auth By Example](https://hashnode.com/@authbyexample) · [Sep 23](https://hashnode.com/posts/rate-limits-are-not-authorization/6ab37fd253115725935148fa)

### [Rate limits are not authorization](https://authbyexample.hashnode.dev/rate-limits-are-not-authorization?utm_source=hashnode&utm_medium=feed)

Rate limits protect availability. They do not decide whether this subject may perform this action on this resource. A caller under the limit can still be unauthorized. A caller over the limit may beco

1 min read · [authbyexample.hashnode.dev](https://authbyexample.hashnode.dev/rate-limits-are-not-authorization?utm_source=hashnode&utm_medium=feed)
