Re: Testing with concurrent sessions
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Markus Wanner" <markus@bluegap.ch>
Cc: <pgsql-hackers@postgresql.org>
Date: 2010-01-05T16:48:11Z
Lists: pgsql-hackers
Markus Wanner <markus@bluegap.ch> wrote: > Kevin Grittner wrote: >> It's very soon going to be critical that I be able to test >> particular interleavings of statements in particular concurrent >> transaction sets to be able to make meaningful progress on the >> serializable transaction work. > > I've something in place for Postgres-R, as I also need to test > concurrent transactions there. It's based on python/twisted and is > able to start multiple Postgres instances (as required for testing > replication) and query them concurrently (as you seem to need as > well). It uses an asynchronous event loop (from twisted) and > basically controls processes, issues queries and checks results > and ordering constraints (e.g. transaction X must commit and > return a result before transaction Y). Where would I find this (and any related documentation)? -Kevin