A talk from POSETTE 2026 demonstrating how discrete event simulation (DES) can be used to model PostgreSQL performance degradation on burstable cloud instances (Azure B-series, AWS T-series) before actual deployment. The speaker explains the token bucket algorithm behind CPU credits, the death spiral that occurs when credits deplete, and how DES can predict failure points and optimal connection pool sizes in under a minute — replacing days-long load tests. An open-source C# library called SNA is used to model CPU credit mechanics and M/M/c/K queuing behavior, with OpenTelemetry integration for Grafana dashboards.

24m watch time
178 Impressions