prezi / reverse-proxy-rate-limiter

Reverse proxy written in Node.js that limits incoming requests based on their origin and the number of active concurrent requests.
Apache License 2.0
9 stars 1 forks source link

Emit event when loading changed limits config #7

Open johannesschirrmeister opened 9 years ago

johannesschirrmeister commented 9 years ago

The rate-limiter can load the limits configuration from the backend service, where it might be generated dynamically. It could be useful to trigger some custom action (some logging, sending an event to https://github.com/prezi/changelog, ...) whenever the rate-limiter loads a new limits configuration that was actually different from the one it was working with before.