Monitoring with Syslog and EventMachine
summary
Shows a working pipeline that sends application events over syslog over UDP to a lightweight EventMachine process that parses proxy logs, increments counters and publishes updates via EventMachine datagram socket to dashboards. Demonstrates a real incident with ~4,000 concurrent users visualized, moved from a New Relic proxy hack into a custom syslog collector, and swaps WebSockets for server-sent events in production. Emphasizes fire-and-forget nonblocking emissions and polyglot clients that need no extra libraries.
AI-written summary · about
chapters (11)
- 0:00Introduction to monitoring
- 2:34Why dashboards matter
- 6:50DevOps and real-time monitoring
- 12:32Designing a lightweight system
- 17:31Why syslog is perfect
- 20:03Building the UDP server
- 22:57Adding WebSockets
- 28:45Server-side push events
- 30:10Key principles for event systems
- 34:07Further reading and resources
- 35:02Q&A session
