PostgreSQL Network Filter for EnvoyProxy
summary
An Envoy PostgreSQL network filter is implemented as an open source extension that decodes Postgres wire protocol (simple and extended), reassembles messages, and emits per-statement metrics and metadata to Prometheus/Grafana. A five-container demo uses pgbench to generate traffic and shows TPS, selects vs writes, and sessions/sec with zero DB config. The filter requires cleartext (with TLS termination planned), prevents OOM via out-of-sync detection, and supports query-level routing via metadata.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:43Envoy postgres filter
- 2:36Filter architecture
- 4:13State management
- 7:46Metadata and features
- 9:30Postgres community context
- 11:34Postgres wire protocol
- 14:38Protocol interaction
- 19:20Demonstration
- 23:42Future plans
- 25:50Q&A and conclusion
related talks
59mEnvoy & Service Mesh for Databases: What the Future Holds
53mThe Future of Observability in Postgres
49mUnified Observability: Monitoring Postgres Anywhere with OpenTelemetry
49mProfessional PostgreSQL monitoring made easy
29mReverse-Engineering PromQL Usage: A Proxy’s Tale
51mCollectd and Graphite: Monitoring PostgreSQL w/Style
42mProfessional PostgreSQL monitoring made easy
51mHow to improve PostgreSQL Monitoring and ...
