Show HN: Pg-interleave (Postgres proxy for reproducible race-condition tests)
Category: devtools
Tags: postgresql, concurrency, testing, proxy, database
Score: 7.5/10 (Innovation: 8, Technical: 8, Documentation: 8, Utility: 6)
pg-interleave is a PostgreSQL wire-protocol proxy that enables deterministic, controllable concurrency testing by intercepting and manipulating queries at the protocol level. It allows freezing statements, injecting deadlocks, and dropping connections at precise moments, with a schedule fuzzer that dramatically improves race condition detection rates. The project is innovative and technically sophisticated, filling a niche gap for backend developers testing transactional behavior.
Target audience: backend developers and database engineers
Repository: https://github.com/alt-f6/pg-interleave · Rust · MIT
View on Hacker News