So You Want to Maintain a Reliable Event Driven System
summary
A concrete case: a schema change on an email-sent event causes a loop that sends hundreds of phishing-test emails; the repo is Plant-Based Pizza on GitHub and the demo deploys. Practical fixes include a test harness subscriber that records published events via an HTTP endpoint plus a retry loop tied to an SLO (example: 300 ms), schema/contract checks, and tracing with OpenTelemetry semantic conventions and span links vs propagation to connect long-running flows. Key metrics: queue depth, message age, inflight latency, dead-letter size.
AI-written summary · about
chapters (9)
- 0:00Introduction and Personal Story
- 1:56The Problem with Event-Driven Architecture
- 2:13Practical Solutions for Observability and Testing
- 3:05Case Study: Plant-Based Pizza
- 3:58Challenges in Event-Driven Systems
- 4:52Testing Strategies for Event-Driven Systems
- 13:48Importance of Context in Observability
- 20:39Metrics and Alerting in Event-Driven Systems
- 23:12Conclusion and Resources
