Tag: k6
All the articles with the tag "k6".
Redis 8.10 vs Valkey 9.1 under load: the same Go app, the same 4-core machine
Redis 8.10.3 and Valkey 9.1.3 from their official images with default settings, behind one Go app, pushed by k6 from 10,000 to 45,000 requests per second. Peak throughput, latency per step, per-thread CPU and memory, with io-threads 1 and 3, plus the scripts to repeat it.
One Express app on Node 26, Bun 1.4 and Deno 2.9: a load test with the same node_modules
The same Express 5 notes API, the same file and the same node_modules folder, run on Node 26.13.1, Bun 1.4.4 and Deno 2.9.8. k6 read, write, mixed and no-database tests on DigitalOcean, three rounds each, with requests per second, p95/p99, memory, event loop delay and startup, plus the repo with every script and raw result.
One Spring Boot jar on five JVMs: Temurin, Corretto, Zulu, Semeru and GraalVM under load
The same Spring Boot 4.1 notes API, built once and run on five Java 25 runtimes with default settings. k6 read, write and mixed tests on DigitalOcean, with startup, requests per second, p99, memory, GC and JIT compile time for each JVM, plus the scripts to repeat it.
Go encoding/json v1 vs v2 under load: Go 1.26, Go 1.27 and MarshalWrite
The same notes API built three ways (encoding/json on Go 1.26, the same code on Go 1.27, and encoding/json/v2) and loaded with k6 on a 2 vCPU DigitalOcean machine. Requests per second, p95 and p99, CPU profiles, and why MarshalWrite made the list endpoint slower here.
Postgres vs MySQL under load: reads, writes, updates and one open transaction
PostgreSQL 18 and MySQL 9.7 LTS behind the same Go shop on identical 2 vCPU machines, loaded with k6 until each one fails. Every run's result, the settings, why secondary index lookups cost InnoDB more, HOT updates, and the long transaction that turned the result around.
Postgres vs SQLite under load: where each one stops on one machine
PostgreSQL 18 and SQLite 3.53 behind the same Go shop on identical 2 vCPU machines, loaded with k6 until they pass their limits. All result tables, the syscall and lock measurements, the single writer pool, and the setup where SQLite stops being an option.
Postgres JSONB vs MongoDB under load: the numbers, the plans and the one GIN setting
PostgreSQL 18 JSONB and MongoDB 8.2 behind the same Go service, on two identical stacks run side by side with k6. Reads, inserts, updates, a mixed shop workload and 40-item documents, plus the EXPLAIN output that shows why the default GIN index makes Postgres fall over.
Postgres vs MariaDB on two dedicated CPUs: the setup, the settings and every run
PostgreSQL 18 and MariaDB 12.3 behind the same Go service, loaded with k6 up to 3,200 users. Reads, writes, 20 million orders and a spike, with the machine sizes, the config files, the per-level tables and what a single run cannot tell you.