Daniel H Fong DF

Daniel H Fong

Notes on software, systems, and life.

Journal Archive About RSS

What Part Merging Taught Us About ClickHouse

Nov 22, 2026 · 19 min read
clickhouseopentelemetryobservabilitysite reliability engineering
Diagram of ClickHouse inserts creating initial parts that background merges combine into larger parts

Heavier spans, not more of them, pushed ClickHouse merges past replica memory. Failed merges were retried forever, and more memory only made the merges bigger. A walk through parts, merges and the 6 GiB merge cap that fixed it.

Read more →

The Database Connection Setting That Silently Throttles Your Writes

Sep 5, 2026 · 8 min read
couchdbdatabasenetworkinglinuxsite reliability engineering
Diagram of a TCP receive buffer showing the receive window and buffered data

Part 3 of the Scaling CouchDB to 1 Million Requests Per Minute series - A config line about connection counts pinned our TCP receive window to 8,192 bytes, turning a single write into thousands of round trips.

Read more →

AWS VPC CNI Was Holding 71% of Our Subnet IPs Hostage

Jun 13, 2026 · 9 min read
awskubernetesnetworkingsite reliability engineeringobservability
AWS VPC CNI

One of our production subnets sat at 99% IP utilization. The IPs were there, just held hostage by the VPC CNI's defaults.

Read more →

The 64 KiB Pipe That Killed Our Database

Jun 7, 2026 · 10 min read
couchdbloggingkubernetessite reliability engineeringlinux
Linux Logo

Part 2 of the Scaling CouchDB to 1 Million Requests Per Minute series - The story of how a 64 KiB pipe between CouchDB and containerd led to OOM a production node.

Read more →

When Your GitOps Monorepo Starts Fighting Argo CD

May 30, 2026 · 4 min read
argocdgitopskubernetessite reliability engineering
ArgoCD Logo

The Argo CD scaling problem we only noticed after 2,000+ Applications started sharing the same GitOps monorepo.

Read more →
View all 7 posts →

Built with Astro.