We at SmartLogic have been running an intermittent series of live coding sessions on Twitch that we then archive on YouTube; in the latest series, Eric has been implementing Rate Limiting on chat channels, and adding alerting with Prometheus and Telemetry. Here’s the series:
Creating a Rate Limiter
Alerting with a Rate Limiter
Rate Limiting Continued
He’s got pull requests linked from the episodes as well if you’d like to take a look at the code.