Company
Date Published
Author
Mostafa Moradian
Word count
1464
Language
English
Hacker News points
None

Summary

Grafana k6's new v0.27.0 release introduces an enhanced execution engine and a scenarios API, allowing users to configure and model load on systems under test with various executors, including the constant-arrival-rate executor. This executor enables generating a constant request rate by dynamically adjusting active virtual users (VUs) to maintain the desired iterations per time unit. The article explains configuring scenarios using this executor, detailing terms like rate, timeUnit, duration, preAllocatedVUs, and maxVUs, and emphasizes the importance of considering performance issues and realistic expectations when setting up tests. The new approach eliminates the need for previous JavaScript workarounds, simplifying the process of achieving a fixed requests per second (RPS) rate, and offers improved support over earlier versions.