Rahul Rrahulraghunathan.hashnode.dev·Oct 9, 2024The Art of API Traffic Control: A Deep Dive into Rate LimitingIn today’s digital landscape, managing the flow of requests to web services and APIs is essential for ensuring system stability, security, and fairness. Rate limiting has emerged as a key technique to address these challenges. This article explores t...4 likes·29 readsratelimit
Nguyen Van Tuantuannguyenhust.hashnode.dev·Sep 9, 2024Rate limiter with Redis and GolangRate limiter is a mechanism that controls the number of requests or tasks performed within a certain period. It helps prevent excessive resource usage or denial of service (DDoS) attacks. When the number of requests exceeds a set limit, subsequent re...82 readsRedis
Rory Murphyapidna.hashnode.dev·Feb 23, 2024API Rate Limits: A Beginner's GuideAPI rate limits dictate the maximum number of requests you can make to an API within a given time frame. Why does this matter? Well, exceeding these limits can result in throttling, delays, or even being blocked from accessing the API altogether! I...APIs
Christian Augustynchrisaugu.hashnode.dev·Feb 4, 2024How I Limit Incoming Requests for PNGX-APII was browsing Instagram when I saw an ad that caught my eye. The ad had a screenshot of some backend code for an API. This backend code was written in JavaScript and uses ExpressJs, MongooseJs and MongoDB. The backend code was a ME*N stack but witho...37 readsapi
Pixelpixelnotes.hashnode.dev·Dec 14, 2023Rate LimitingIntro If you use Twitter regularly, you would have experienced this firsthand in early July 2023. Almost everyone on the platform was rate-limited. It was hilarious. Some people thought this was it for Twitter, and other platforms like Mastodon would...41 readsRate-limit
Anmol Garganmolgarg.hashnode.dev·May 19, 2023Rate Limiting VS Load SheddingTL;DR (Too long didn't read) Any production service must be protected from overload, especially if you cannot control your clients. Though it can be avoided by structuring systems to scale proactively before they experience overload. This might not p...1 like·197 readsratelimit
Quang Huong Nguyenhuongnq.hashnode.dev·Aug 10, 2022System DesignTextBenefits of using an API rate limiter:Text Prevent resource starvation caused by Denial of Serive Reduce cost. Limiting excess requests mean fewer servers and allocation more resources to high priority Prevent the server from being overloaded Pr...Rate-limit