Jan 6 · 6 min read · What is a Rate Limit ? Most API’s and websites have a rate limit to deal with fair usage, high traffic and latency issues. The number of requests you can make in an hour or in a day (technically called the “time-window”) is called as ‘rate limit’. Th...
Join discussion
Nov 29, 2025 · 13 min read · I recently fell down the rabbit hole of rate limiting and decided to build my own token bucket implementation in Go. This blog covers what rate limiters actually do, why do we need them, and how you can build one from scratch yourself (preferably wit...
Join discussionNov 22, 2025 · 9 min read · In Part 1, we introduced Cloudflare Workers and the concept of middleware at the edge. We saw how Workers let you execute logic close to your users, and we discussed their V8 isolate runtime. Now it’s time to move from theory to practice. In this art...
Join discussion
Oct 25, 2025 · 6 min read · “Token Bucket allows bursts. Leaky Bucket ensures smooth flow.Together — they make your backend bulletproof.” So far, we’ve understood two classic strategies: 🪣 Token Bucket — Burst-friendly, user-first 💧 Leaky Bucket — Consistent, system-first ...
Join discussion
Aug 25, 2025 · 6 min read · Picture this: your API is running along smoothly, serving requests at a steady pace. Suddenly, clients starts bombarding it with thousands of requests per second. Servers are overwhelmed, legitimate users are locked out, and your carefully architecte...
Join discussion
Aug 8, 2025 · 4 min read · In the world of backend development, rate limiting is a must-have. Whether you're building an API or a microservice, rate limiting ensures that your server doesn't get overwhelmed by too many requests — either by accident or abuse. Among the various ...
Join discussion
Aug 6, 2024 · 6 min read · What is a Rate Limiter 🤔 Rate Limiter is a web application decision engine that decides whether a client request should be fulfilled or rejected. A rate limiter tracks the request rate against each client and if that exceeds a certain threshold, it ...
Join discussion
Apr 16, 2024 · 5 min read · In this article, I will try to explain Token Bucket algorithm and its implementation in NodeJS for API Rate Limiting in very simple terms. What is Token Bucket ? Token Bucket is an algorithm which is used to limit our resources or server usage. It is...
Join discussion
Nov 14, 2023 · 3 min read · In this article, our focus will be on the API rate limiter—a crucial element within an API Gateway. To put it simply, a rate limiter restricts the number of API invocations per time unit for individual users, IPs, or APIs. Its role is to prevent abus...
Join discussion