Exploring Rate Limiting in Go
dev.to·2d·
Discuss: DEV
🔌API Design
Preview
Report Post

Let’s explore rate limiting together in go. If you are here, you probably already know what rate limiting is and why it is important but spare me half a minute to do a brief intro for the guys at the back.

Rate limiting is a technique used to restrict the number of requests a client can make to a server within a specific time window.

Why do I need a rate limiter you ask? to prevent DDoS attacks. What is a DDoS attack you ask? DDoS is acronym for Distributed Denial of Service. When your server is suddenly inundated with an absurb amount of internet traffic, you’re are probably experiencing a DDoS attack.

Now that we have gotten definitions out of the way, let’s talk about some common rate limiting algorithms. There are quite a number of rate limiting algorithms with varying degree…

Similar Posts

Loading similar posts...