Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Performance History

Latest Results

Give each db_vacuum kind its own connection pool flow_runs/events/orphans vacuum shared one cached, single-connection AsyncPostgresConfiguration keyed only by connection_url. Docket is Redis-backed and each kind's tasks are enqueued independently, so nothing prevents two kinds' tasks from running concurrently and contending for that one connection. Key the cache by (connection_url, kind) instead so each kind gets its own dedicated pool; batches within one kind still share one connection sequentially, which remains correct since each kind's own loop only enqueues its next task after the previous one completes. Fixes the connection-contention half of #22839. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
WAHIB-EL-KHADIRI:fix/db-vacuum-connection-contention
4 hours ago
Merge branch 'main' into fix/23129-conditional-mark-deployments-ready
chuqCTC:fix/23129-conditional-mark-deployments-ready
12 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Give each db_vacuum kind its own connection pool#23136
4 hours ago
d7c1f94
WAHIB-EL-KHADIRI:fix/db-vacuum-connection-contention
CodSpeed Performance Gauge
0%
7 hours ago
bbf4431
chuqCTC:fix/23129-conditional-mark-deployments-ready
CodSpeed Performance Gauge
0%
15 hours ago
30ce0cd
desertaxle/migrate-httpx2
© 2026 CodSpeed Technology
Home Terms Privacy Docs