Metrics And Event-Driven System
summary
Event-driven systems require splitting into user-facing and non-user-facing subsystems and measuring concrete signals: user-facing must track request duration, request rate, request size and error rate while backend streams/databases track incoming/stored/sent messages, query counts and durations. Use Prometheus histograms for duration distributions, HPA as an example of metric-driven automation, and pick a methodology that fits each subsystem—RED, USE or Four Golden Signals—rather than collecting an ocean of unfocused metrics.
AI-written summary · about
chapters (12)
- 0:00Introduction and personal story
- 1:42What are event-driven systems
- 3:41Why metrics matter in systems
- 5:38Challenges in event-driven metrics
- 8:22Choosing the right metrics
- 11:04User vs non-user facing systems
- 13:29Key metrics for stability and efficiency
- 15:20RED method explained
- 17:48USE method explained
- 19:59Four Golden Signals method
- 22:24Choosing the right method
- 23:35Q&A on thresholds and SLOs
