Scaling your API with rate limiters
An API is usually used in a stateless manner, so it’s more difficult to protect from rate limiting. In a normal web app, we will have user session and a CSRF token check before it’s executed. With an API, it is a bit different, a client can misbehave and send lots of unwanted requests, for instance. In this post, Stripe shares how they do their API rate limiting.
Appears in lists (1)
More like this (3)
Rate Limiting HTTP Requests Based on the Client's IP Address — Quickly rolling out a solution...
Limiter: Dead Simple Rate Limiting Middleware — Use as middleware with http, Gin, Beego, and Chi....
Designing A Microservices Architecture For Failure Microservices make it possible to isolate failures through well-defined service...