---
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=debugging"
---

# Posts

Filtered by topics: Debugging, source: ClickHouse.

Posts 1–9 of 9, 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-02-09

- [How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth](https://swe.quest/articles/how-ly-corporation-uses-clickhouse-to-observe-one-of-the-largest-kafka-4673da61e0f144c7.md): ClickHouse · 2026-02-09 · Medium · 6 min read · Observability, Queues & messaging, Analytics & OLAP, Debugging
  LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day.

## 2025-11-03

- [Faster root cause for slow traces with ClickStack Event Deltas](https://swe.quest/articles/faster-root-cause-for-slow-traces-with-clickstack-event-deltas-a6101b03bbd87110.md): ClickHouse · 2025-11-03 · Medium · 9 min read · Observability, Debugging, Performance engineering
  ClickStack's Event Deltas compare a user-selected region of slow spans on a duration-over-time heatmap against the remaining inlier spans, issuing two queries and sampling both sets to surface attribute values disproportionately present in the outliers.

## 2025-09-24

- [Trace similarity systems on top of ClickHouse to analyze crash stack traces from our CI](https://swe.quest/articles/trace-similarity-systems-on-top-of-clickhouse-to-analyze-crash-stack-traces-c60df248c0d43431.md): ClickHouse · 2025-09-24 · Medium · 9 min read · Debugging, CI/CD, SQL, Algorithms, Testing
  ClickHouse built a crash-deduplication pipeline for its CI that groups similar stack traces from fuzzing, stress and functional tests using the TraceSim similarity method, implemented almost entirely in ClickHouse SQL.

## 2025-07-08

- [When SIGTERM Does Nothing: A Postgres Mystery](https://swe.quest/articles/when-sigterm-does-nothing-a-postgres-mystery-0ecf6df7cd549d22.md): ClickHouse · 2025-07-08 · Hard · 11 min read · PostgreSQL, Replication, Debugging, Event-driven architecture
  Creating a logical replication slot on a Postgres hot standby (v16+) can hang indefinitely and ignore pg\_cancel\_backend and pg\_terminate\_backend when a transaction is still open on the primary.

## 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.

## 2024-06-17

- [Seeing the Big Picture: Shopee’s Journey to Distributed Tracing with ClickHouse](https://swe.quest/articles/seeing-the-big-picture-shopee-s-journey-to-distributed-tracing-with-clickhouse-3d442ea100c6757c.md): ClickHouse · 2024-06-17 · Easy · 7 min read · Observability, Analytics & OLAP, Kubernetes, Debugging
  Shopee runs dozens of ClickHouse clusters on Kubernetes, fronted by managed services (Manager, Gateway, Console, Monitoring), and uses them to store and query distributed traces of the ClickHouse service itself.

## 2022-12-21

- [System Tables and a Window into the Internals of ClickHouse](https://swe.quest/articles/system-tables-and-a-window-into-the-internals-of-clickhouse-4ad666c7ab1a3be7.md): ClickHouse · 2022-12-21 · Medium · 13 min read · Analytics & OLAP, Observability, Debugging, SQL
  ClickHouse system tables are read-only virtual tables in the system database that expose server state, settings, metrics, errors, parts and query history.

## 2021-04-14

- [The Tests Are Passing, Why Would I Read The Diff Again?](https://swe.quest/articles/the-tests-are-passing-why-would-i-read-the-diff-again-a7df681d6f6e3587.md): ClickHouse · 2021-04-14 · Medium · 10 min read · Code review, Documentation, Debugging
  Code review reduces defects largely because explaining code to another person exposes gaps in understanding, much as writing comments or rubber duck debugging does.

Same list as RSS: [https://swe.quest/feed.xml?source=clickhouse&tag=debugging](https://swe.quest/feed.xml?source=clickhouse&tag=debugging). 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)
