---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=clickhouse&tag=linux"
---

# Posts

Filtered by topics: Linux, source: ClickHouse.

Posts 1–11 of 11, page 1 of 1, newest first.

## 2026-10-13

- [Chasing that 32 ms tail latency in ClickHouse](https://swe.quest/articles/chasing-that-32-ms-tail-latency-in-clickhouse-e6423f2da8a7c8b8.md): ClickHouse · 2026-10-13 · Hard · 11 min read · Networking, Performance engineering, Linux, Databases, Debugging
  An extra full round trip (~32 ms) on simple SELECTs over ClickHouse's Native protocol came from TCP\_NODELAY turning each end-of-query metadata packet (Logs, Progress, ProfileEvents) into its own TCP segment.

## 2026-09-28

- [Can your Postgres survive a bad query?](https://swe.quest/articles/can-your-postgres-survive-a-bad-query-744ea9a22b65710c.md): ClickHouse · 2026-09-28 · Hard · 13 min read · PostgreSQL, Memory management, Resilience, Query engines, Linux
  Postgres's \`work\_mem\` limits memory per plan node per process, not per query, so parallel workers and \`hash\_mem\_multiplier\` can push a simple aggregation past 8x \`work\_mem\`.

## 2026-08-21

- [What else runs on your Postgres server, and how do we stop it from taking the database down?](https://swe.quest/articles/what-else-runs-on-your-postgres-server-and-how-do-we-stop-it-from-taking-the-79e9559393b71ab0.md): ClickHouse · 2026-08-21 · Medium · 4 min read · PostgreSQL, Linux, Memory management, Resilience, Multi-tenancy
  Supporting processes on a managed Postgres VM (PgBouncer, WAL-G, Prometheus, exporters, log collector, watchdogs) share memory, CPU and disk with the database, so a leak or CPU burst in any of them can take it down.

## 2026-08-05

- [What is WAL backpressure, and why does ClickHouse Managed Postgres need it?](https://swe.quest/articles/what-is-wal-backpressure-and-why-does-clickhouse-managed-postgres-need-it-a02421af1a627e86.md): ClickHouse · 2026-08-05 · Hard · 4 min read · PostgreSQL, Resilience, Linux, Storage systems
  ClickHouse Managed Postgres prevents WAL-full PANICs, which happen when writes outpace archiving to object storage, by throttling client write bandwidth with the cgroup v2 I/O controller.

## 2026-07-28

- [Why strict memory overcommit matters for Postgres](https://swe.quest/articles/why-strict-memory-overcommit-matters-for-postgres-b9d0f67bf7c921e4.md): ClickHouse · 2026-07-28 · Medium · 7 min read · PostgreSQL, Linux, Memory management, Resilience
  Under Linux's default overcommit policy, an OOM-killed Postgres backend forces the postmaster to terminate all backends and run crash recovery.

## 2026-07-14

- [How we configure huge pages in ClickHouse Managed Postgres](https://swe.quest/articles/how-we-configure-huge-pages-in-clickhouse-managed-postgres-6544ec044914bebf.md): ClickHouse · 2026-07-14 · Medium · 5 min read · PostgreSQL, Linux, Performance engineering, Memory management, Configuration management
  ClickHouse Managed Postgres runs every server's shared\_buffers on 2MB huge pages, which avoids per-backend page-table bloat and improves TLB reach.

## 2026-07-01

- [How we scale PgBouncer in ClickHouse Managed Postgres](https://swe.quest/articles/how-we-scale-pgbouncer-in-clickhouse-managed-postgres-130231ec324c9f46.md): ClickHouse · 2026-07-01 · Medium · 4 min read · PostgreSQL, Performance engineering, Load balancing, Linux, Scaling
  Because PgBouncer is single-threaded, ClickHouse Managed Postgres runs a fleet of PgBouncer processes sized to the core count, all binding one port via so\_reuseport so the kernel load-balances connections behind a single endpoint.

## 2026-06-25

- [Announcing Silk: a silky smooth fiber runtime for ClickHouse](https://swe.quest/articles/announcing-silk-a-silky-smooth-fiber-runtime-for-clickhouse-bd3ca633b291b6b6.md): ClickHouse · 2026-06-25 · Hard · 11 min read · Concurrency, Runtimes & VMs, C & C++, Performance engineering, Linux
  Silk is a C++ stackful-fiber runtime for ClickHouse. It pins one scheduler thread per CPU, uses io\_uring as its I/O foundation, steals work in order of CPU topology cost (hyperthread sibling, then same socket, then cross-socket), and does zero heap allocation in the steady-state hot path through mmap'd stack pools, stack-resident futures and intrusive containers.

## 2025-03-05

- [The case of the vanishing CPU: A Linux kernel debugging story](https://swe.quest/articles/the-case-of-the-vanishing-cpu-a-linux-kernel-debugging-story-3db1aa1b81ec8319.md): ClickHouse · 2025-03-05 · Hard · 32 min read · Linux, Memory management, Debugging, Performance engineering, Incidents & postmortems
  Intermittent, indefinite CPU saturation of ClickHouse Cloud pods, seen only on GCP, turned out to be a Linux kernel memory-management livelock.

## 2025-01-30

- [Open sourcing kubenetmon: how we monitor data transfer in ClickHouse Cloud](https://swe.quest/articles/open-sourcing-kubenetmon-how-we-monitor-data-transfer-in-clickhouse-cloud-b1818230173f499e.md): ClickHouse · 2025-01-30 · Medium · 20 min read · Observability, Kubernetes, Networking, Cost optimization, Linux
  kubenetmon, now open source, is ClickHouse Cloud's in-house tool for monitoring data transfer across many Kubernetes clusters on AWS, GCP and Azure.

## 2021-03-09

- [A journey to io\_uring, AIO and modern storage devices](https://swe.quest/articles/a-journey-to-io-uring-aio-and-modern-storage-devices-ea62e6880dceaf0b.md): ClickHouse · 2021-03-09 · Medium · 5 min read · Storage systems, Hardware, Performance engineering, Linux
  Single random read latency was benchmarked with pread(2) across HDD, SATA SSD, NVMe SSD and Intel Optane, at block sizes from 4 KB to 32 MB.

Same list as RSS: [https://swe.quest/feed.xml?source=clickhouse&tag=linux](https://swe.quest/feed.xml?source=clickhouse&tag=linux). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
