Is there any ratelimiting feature that does all of this:
• Custom ratelimits based on endpoint
• Custom key to determine who the sender is (an Ip address)
• Standard HTTP header responses like when to resend, etc
h
hfhbd
08/01/2021, 8:38 AM
I implemented one simple rate limit on my own, https://github.com/hfhbd/RateLimit.
BUT if you are using micro services with many instances, handling rate limits in your application is the wrong way! Instead you should use some load balancer/rate limit service, which focus on this feature and do it faster, use additionally keys to prevent DDoS from multiple IPs, terminates long TCP handshakes etc.