In this article
Test pool saturation, open iterators and checkpoint ordering when adopting checkpoint-postgres 3.2.1; removing a saver lock shifts waiting into connection acquisition.
LangGraph checkpoint-postgres 3.2.1, released on November 14, avoids the async saver’s instance lock when an AsyncConnectionPool supplies separate connections. Single-connection and shared-pipeline configurations retain their lock. The practical consequence is a changed waiting point: applications should inspect pool pressure when evaluating increased checkpoint concurrency.
Confirm the saver actually uses a pool
Inspect the object supplied to the async saver rather than inferring pooling from the database URL. A single shared connection exercises a different path. Start with independent synthetic threads and a pool smaller than the intended request burst. Record how many operations hold connections and how many wait. This establishes the configuration in which the release change can affect scheduling before a larger agent workload is introduced.
An open list must not hide a blocked read
The PR adds a case where a pooled read completes while a list iteration remains open. Adapt that shape to the application’s history view: hold an iterator deliberately, request an independent checkpoint and observe completion. Use separate thread identities and known values. The point is to test interference between consumers of one saver, rather than merely launching more calls and observing a lower average latency.
Keep causal checkpoint order visible
Parallel database access does not mean every application write is independent. Resume a graph after several checkpoints and verify that each restored state corresponds to its intended predecessor. Include a cancellation during background saving in a harmless fixture. These proposed checks exercise the application’s recovery contract under the new concurrency opportunity. They do not imply that the release changes transaction isolation or provides a new global ordering guarantee.
Tune from pool evidence
Measure acquisition wait, timeout count, database load and completed valid runs together. Increasing pool size can move pressure to PostgreSQL and does not automatically improve useful throughput. Preserve the single-connection case as a control. The release is a concrete removal of unnecessary serialization for supported pooled calls; its capacity benefit depends on the application’s independent work and the resources available to serve that work.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.