Workshop: Tuning services to deal with latency and errors
summary
Hands-on workshop that builds a .NET Core web API test harness using k6 for load, Polly for retries/timeouts and Simmy for fault injection; tests aim for >99% OK and <200 ms latency. It injects 15% socket errors and 10% one-second latencies, shows two retries usually make the 99% target, and demonstrates changing timeout/retry values to see effects under 250–500 RPS. Metrics flow via Telegraf → InfluxDB → Grafana so counters (retries, executions) are visible and repeatable as red‑green tests.
AI-written summary · about
chapters (9)
- 0:00Introduction and setup
- 3:19Workshop environment setup
- 19:41Resiliency frameworks overview
- 23:12Basic load testing with k6
- 30:20Introducing latency in API
- 33:15Challenge 1: Handling socket errors
- 40:03Challenge 2: Managing latency with timeouts
- 55:07Defining resiliency metrics
- 1:08:31Next challenges and summary
