Skip to content

ratelimit.kontain.me #65

@Dentrax

Description

@Dentrax

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions