EPISODE · May 31, 2026 · 9 MIN
Why Database Connection Pools Need Pool Tuning
from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo
Lucas and Luna explain why a default-configured database connection pool can cause more problems than it solves. They walk through a real-world case: a mid-sized e-commerce platform whose connection pool size was set to 200 connections per app instance, triggering database CPU thrashing and query timeouts during a flash sale. They break down the math behind the 'pool size = max throughput' formula, discuss how PostgreSQL connection overhead scales non-linearly, and share a simple tuning heuristic — start at 2x the number of CPU cores and monitor queue depth. They also touch on why PgBouncer's transaction-level pooling changes the calculus. No abstract advice: concrete numbers, a specific failure mode, and a fix you can apply. #DatabaseConnectionPooling #PostgreSQL #PgBouncer #ConnectionPoolTuning #DatabasePerformance #Backpressure #Threading #DatabaseCPUThrashing #QueryTimeout #EcommercePlatform #FlashSale #QueueDepth #PoolSizeFormula #TransactionLevelPooling #Technology #DataEngineering #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo
What this episode covers
Lucas and Luna explain why a default-configured database connection pool can cause more problems than it solves. They walk through a real-world case: a mid-sized e-commerce platform whose connection pool size was set to 200 connections per app instance, triggering database CPU thrashing and query timeouts during a flash sale. They break down the math behind the 'pool size = max throughput' formula, discuss how PostgreSQL connection overhead scales non-linearly, and share a simple tuning heuristic — start at 2x the number of CPU cores and monitor queue depth. They also touch on why PgBouncer's transaction-level pooling changes the calculus. No abstract advice: concrete numbers, a specific failure mode, and a fix you can apply. #DatabaseConnectionPooling #PostgreSQL #PgBouncer #ConnectionPoolTuning #DatabasePerformance #Backpressure #Threading #DatabaseCPUThrashing #QueryTimeout #EcommercePlatform #FlashSale #QueueDepth #PoolSizeFormula #TransactionLevelPooling #Technology #DataEngineering #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo
NOW PLAYING
Why Database Connection Pools Need Pool Tuning
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m