pg-stress — Stress Testing PostgreSQL with Claude-powered advisory
Test it like It’s a Machine When I started building pg-collector (another project that uses heavy stress test using pg-test), I ran into a problem very quickly: I didn’t have a reliable way to brea...

Source: DEV Community
Test it like It’s a Machine When I started building pg-collector (another project that uses heavy stress test using pg-test), I ran into a problem very quickly: I didn’t have a reliable way to break PostgreSQL on demand. I looked and there are lots of generating synthetic data but no comprehensive stress test tools. And that’s when the idea for pg-stress was born. ⸻ Built from “eat your own dog food” pg-stress didn’t start as a product idea. It started as a necessity. While building pg-collector, I needed: • real workload patterns • repeatable failure scenarios • controlled environments to observe behavior • run these test in random pattern continously 7/24 for 2 weeks ! So I built a tool to stress PostgreSQL intentionally — not just benchmark it. That tool became pg-stress. ⸻ Think of it like automobile testing When a new car is built, it’s not just driven on smooth roads. It’s tested in: • freezing cold • extreme heat • rough terrain • high-speed stress conditions Why? Before releasi