pgagroal
summary
pgagroal is a C-written, protocol-native PostgreSQL connection pool that uses libev and a shared-memory, process-per-client model with atomic operations; runtime includes OpenSSL for TLS 1.2/1.3 and a master-keyed AES-256 user vault. It supports trust/MD5/password/SCRAM-SHA auth, prefill and per-user/db limits, management over a UNIX socket, and pgbench benchmarks on RHEL 7.7 over 10GbE show higher TPS and faster saturation than three other pools while using about ~5 MB RSS and ~67 KB per connection.
AI-written summary · about
chapters (15)
- 0:00Introduction and overview
- 0:56Connection pooling basics
- 1:43System architecture
- 3:24Shared memory and structures
- 4:05Security and authentication
- 5:40Pool management and limits
- 7:21Client workflow
- 8:20Pipeline mechanisms
- 9:24Management tools
- 10:04Features and configuration
- 12:16Deployment and setup
- 16:38Performance benchmarks
- 18:57Future and roadmap
- 20:27Conclusion and community
- 22:40Q&A session
