~/talk

Distributed load testing with k6

Talkat DevOps Barcelona Conference 2023 · 2023-11-09..11-10· [testing, javascript]
slides:none on file

k6 is an open‑source JS-based load tester that runs locally, on k6 cloud, or as custom binaries; distributed runs send real‑time metrics to Prometheus scraped on port 9090 via an xk6 Prometheus module and visualized in Grafana. Tests use scenarios/executors, checks and thresholds (example: 95th percentile <200 ms), custom counters and trends, and the HTTP API on port 6565 to pause/scale remote runners. Demonstrated throughput reaches ~25 Gbps on a single node and multi‑region tests (Ireland, US, SG) work.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 4:50k6 introduction and capabilities
  3. 9:29Running k6 tests locally and in cloud
  4. 10:13Understanding k6 test outputs
  5. 11:56Virtual users, iterations and time
  6. 12:18HTTP requests and API testing
  7. 15:05Checks and assertions in k6
  8. 16:31Thresholds and test execution control
  9. 18:16Tags and test segmentation
  10. 20:19Groups and test hierarchy
  11. 21:25Testing lifecycle and setup functions
  12. 23:33Accessing and customizing metrics
  13. 27:06Real-time metrics and Prometheus integration
  14. 30:17Distributed testing with multiple instances
  15. 32:45Controlling tests via k6 API
  16. 35:32Scenarios and executors explained
  17. 40:25Externally controlled distributed testing
  18. 41:06Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.