
Why Database Connection Pool Sizing Needs Load Testing Not Formulas
Lucas and Luna dig into why the classic 'connections = (core_count * 2) + effective_spindle_count' formula fails under modern workloads. They walk through a real-world case at a mid-size ad-tech firm where a PostgreSQL connection pool set to 90 connections caused 40-millisecond p99 latency spikes under burst traffic, and how load-testing with a stepped concurrency model revealed the actual sweet spot at 28 connections. The episode covers queue depth, Little's Law, how connection pooling libraries like PgBouncer and HikariCP handle backpressure differently, and why database proxies add unpredictable latency variance. No formulas, no theory — just the concrete testing methodology that saved the firm's Black Friday campaign.
#DatabaseConnectionPool #PostgreSQL #PgBouncer #HikariCP #LoadTesting #Little'sLaw #Backpressure #ConnectionPoolSizing #BurstTraffic #Latency #AdTech #BlackFriday #QueryPerformance #DatabaseProxies #Technology #FexingoBusiness #BusinessPodcast #DatabaseEngineering
Keep every episode free: buymeacoffee.com/fexingo
Thông Tin
- Chương trình
- Tần suấtHằng ngày
- Đã xuất bảnlúc 22:16 UTC 7 tháng 7, 2026
- Thời lượng11 phút
- Mùa2
- Tập97
- Xếp hạngSạch