DEV Community

Discussion on: Rate limiting HTTP requests in Go using Redis

Collapse
 
metramo profile image
Ragnar Moller

Hello,

A very nice article explaining why and how a server with the API's can be protected and also the concept of a http wrapper to do this so that the API developer won't have to reinvent the wheel.

But the wrapper does parts of the job. In a professional context, your servers would be protected behind a load balancer which would do this even better. And if your service hosted by a cloud provider, this cloud provider would supply the load balancing service in addition to other aspects, such as adding servers if more capacity is needed
and supply geographical redundancy..

Perhaps it would be good to add a chapter describing this.

BR