Is there any ratelimiting feature that does all of...
# ktor
d
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
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.