Battery: A Workload-Driven Database Load Testing Tool

Standardized benchmarks such as TPC-C, YCSB and sysbench are useful for comparing database systems under defined workloads. But those workloads rarely match an application’s specific transaction patterns, data access paths, contention characteristics or concurrency model. Reproducing those interactions under load provides a different perspective: how the database behaves under traffic shaped like your application. Battery is an open-source load-testing tool built for that purpose. You describe the workload using YAML, SQL and a small scripting language, then run it with potentially thousands of concurrent virtual users (VUs), optionally distributed across multiple hosts. ...

October 10, 2026 · 10 min · Kai Niemi

Multi-Active Systems and Multi-Region Architectures

Several business drivers can justify adopting a multi-region deployment strategy: Business continuity: Maintain service availability during data centre or regional disruptions. Customer experience: Serve customers worldwide with predictable, low latency. Scalability: Adapt capacity to different markets and changing traffic volumes. Regulatory compliance: Address data residency, operational resilience, and concentration risk requirements. None of this is free. A multi-region deployment typically costs more than a single-region one, and that cost has to be weighed against the availability and performance it buys. ...

October 19, 2022 · 10 min · Kai Niemi