Introduction

Light weight http rate limiting proxy.

The proxy will perform rate limiting based on the rules defined in the configuration file. If no rule match the request, it’ll proxy transparently.

Launch in development mode

make dev

HTTP Request

Perform a http request using HTTPie

http :8080

Trigger rate limiting

seq 10 | xargs -P 4 -I '{}' http post :8080/health

Credits

TODO

  • Comment exported types and functions
  • Write tests

GitHub

View Github