Linux and PostgreSQL in the Multiverse of Connections (ver 3) (froscon2026) episode artwork

EPISODE · Aug 16, 2026 · 58 MIN

Linux and PostgreSQL in the Multiverse of Connections (ver 3) (froscon2026)

from Chaos Computer Club - recent audio-only feed · host Josef Machytka

This talk delivers an analysis of the architectural costs associated with PostgreSQL's process-per-connection model, examining Linux shared memory usage, memory allocation tables, CPU context switching and CFS versus EEVDF scheduling. Talk explains why too many connections become exponentially expensive and degrade performance. PostgreSQL connections are expensive, and their count is often the limiting factor for performance and stability. Connection pooling is a primary scaling tool for modern systems with microservices, short-lived clients, and bursty traffic. We all know it, but do we really understand why? This talk offers a deep dive into PostgreSQL and Linux architecture, explaining the concrete costs of “too many connections” in PostgreSQL’s process-per-connection model. We will discuss CPU overhead from context switching; kernel resources such as sockets and file descriptors; differences between the classic Completely Fair Scheduler (CFS) and its newer EEVDF-based scheduling approach; limitations of MVCC snapshot implementation across different PostgreSQL versions; accumulation of allocations in per-session memory contexts; and how much memory a query can allocate during execution. We will also look for guidance on “maximum active connections per CPU core” for OLTP vs. OLAP. Licensed to the public under http://creativecommons.org/licenses/by/4.0 about this event: https://programm.froscon.org/2026/events/3509.html

Episode metadata supplied by the publisher feed · Published Aug 16, 2026

Embed this episode

NOW PLAYING

Linux and PostgreSQL in the Multiverse of Connections (ver 3) (froscon2026)

0:00 58:25

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Chaos Computer Club - recent audio-only feed?

This episode is 58 minutes long.

When was this Chaos Computer Club - recent audio-only feed episode published?

This episode was published on August 16, 2026.

Can I download this Chaos Computer Club - recent audio-only feed episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!