-
Notifications
You must be signed in to change notification settings - Fork 13
ratelimit.kontain.me #65
Copy link
Copy link
Open
Description
A few weeks ago, @developer-guy @erkanzileli shared me this project and I really liked the fun behind the idea! We'd like to add interesting features to extend this project!
Rate limit the image pull operation to simulate some chaos testing scenarios.
While having a global rate limiter is useful in some cases, another common scenario is to implement a rate limiter per user, based on an IP address.
If I run $ docker pull ratelimit.kontain.me/ubuntu a few times, service should being started to return 429 Too Many Requests response for my IP address for a few minutes or hour.
Maybe we can use the golang.org/x/time/rate package in this case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels