k6.wiki
k6 Architecture
Technical articles detailing Sobek execution engines, memory optimization structures, thread-multiplexing runtimes, and external asset packaging models.
k6 Architecture: Sobek JavaScript Engine Under the Hood
Posted on May 24, 2026 in Architecture
Discover how the Sobek JavaScript virtual machine powers Grafana k6. Learn about Goja interpreter transitions, isolated VU execution contexts, modular ESM compilation overhead, and SharedArray read-only heap memory optimizations.
k6 vs JMeter: Why Goroutine Multiplexing Crushes OS Threads
Posted on May 24, 2026 in Architecture
Compare the virtual user models of Grafana k6 and Apache JMeter. Learn how Go's 2KB goroutines solve the scale bottlenecks of JVM OS threads by avoiding heavyweight kernel-level context switching.
The k6 Node.js Event Loop Paradox and Webpack Bundling
Posted on May 24, 2026 in Architecture
Why k6 does not have a native Node.js event loop and how this affects your asynchronous JavaScript code. Learn how to configure Babel and Webpack to transpile raw npm packages for isolated Sobek executions.