Skip to content

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

Memory management Remove topic Memory management 101 posts RSS

Week of Nov 16

claude.dev

Using a "chaos loop" to harden the Claude Docs launch: 60 server errors across billions of requests

Case study 11 min +110 XP

Before launching Claude Docs, a two-week "chaos loop" had Claude Code drive a production-mirroring staging cluster at over a million synthetic docs a day, inject failures (mass reconnects, killed servers, stalled databases, hot docs), read Datadog telemetry, and ship fixes, with a human approving only hard-to-undo changes like schema or storage layout.

Week of Nov 9

Week of Nov 2

Asahi Linux

Progress Report: Linux 7.3

Release 14 min +140 XP

Asahi Linux's 7.3-cycle report covers upstream submission of the macaudio and AVD (~13,000 lines) drivers, initial M4 Pro/Max and M5 Devicetrees, and M3 support going generally available with DCP enabling sleep and the notch area. m1n1 now runs three EL1 VMs (macOS, SPTM, and the Secure Kernel with Exclaves) to reverse engineer M5 macOS.

Week of Oct 12

Week of Oct 5

Kubernetes Blog

The Shift to cgroup v2 in Kubernetes: What You Need to Know

Deep dive 11 min +110 XP

Kubernetes has deprecated cgroup v1: from v1.35 the kubelet refuses to start on cgroup v1 nodes by default (`failCgroupV1: true`), kubeadm preflight errors on it, and the fallback is slated for removal in v1.38. cgroup v2 enables Memory QoS with `memory.high` throttling and tiered `memory.min`/`memory.low` reservations, container-wide OOM kills via `memory.oom.group`, safe rootless delegation, eBPF-based device control, PSI metrics, and accurate Pod-level in-place resizing.

Week of Sep 28

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

The quest for software engineering knowledge.

Look:
Layout: