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

Read Patterns with Spring Data

This article is the third in a series about data access with Spring Data. ...

July 24, 2022 · 18 min · Kai Niemi

Transaction Management with Spring Data

This article is the first in a series about data access with Spring Data. ...

July 24, 2022 · 15 min · Kai Niemi

Write Patterns with Spring Data

This article is the second in a series about data access with Spring Data. ...

July 24, 2022 · 14 min · Kai Niemi

Write Performance with Spring Data

This article is the fourth in a series about data access with Spring Data. ...

July 24, 2022 · 19 min · Kai Niemi