Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Reliability & operations

Observability

Metrics, logs, traces, telemetry pipelines, dashboards.

Search within Observability, or combine it with other topics →

2026

How we continuously validate formal specifications in production

Case study 16 min +160 XP

FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

ClickHouse

pg_stat_ch: a PostgreSQL extension that exports every metric to ClickHouse

Deep dive 16 min +160 XP

pg_stat_ch is an open-source (Apache 2.0) PostgreSQL 16–18 extension that captures every statement execution, including failed queries and DDL, as a fixed-size ~4.6KB event with 45 fields and streams it to ClickHouse for APM-style analysis.

2025

Inside Husky’s query engine: Real-time access to 100 trillion events

Deep dive 27 min +270 XP

Husky, Datadog's third-generation event store, serves interactive queries over more than 100 trillion events through four multi-tenant services: a planner that splits queries into time-based steps, orchestrators that fetch fragment metadata from FoundationDB and prune with zone maps, a metadata service, and readers that execute against fragments in blob storage.

2024

.NET Continuous Profiler: Exception and lock contention

Deep dive 8 min +80 XP

Datadog's .NET continuous profiler captures thrown exceptions through ICorProfilerCallback::ExceptionThrown and reads each exception's _message field by resolving System.Exception's ClassID from CoreLib metadata and computing the field offset with GetClassLayout.

2023

Meta Engineering

A fine-grained network traffic analysis with Millisampler

Research 4 min +40 XP

Millisampler is a lightweight eBPF-based tc filter deployed across Meta's server fleet that records fine-grained network traffic time series at 100μs, 1ms and 10ms granularities: ingress/egress bytes, ECN-marked bytes, retransmissions, in-region vs cross-region traffic, and active connection counts estimated with a 128-bit sketch.

2022

2021

The quest for software engineering knowledge.

Look:
Layout: