-
Most Linux developer toolchain guides list software. This one describes a workflow — the specific tools I use, why I chose them, how they are configured, and how they work together for the kind of work this blog covers: reading and writing systems code, debugging production issues, and exploring open-source codebases. Every choice here is…
-
Reading other people’s code is a skill. It is different from writing code, different from debugging your own code, and different from reading documentation. Most developers never develop a systematic approach — they open a repository, feel overwhelmed by the file count, and give up. This post describes a methodology I have refined over years…
-
OAuth 2.0 is not a backward-compatible upgrade of OAuth 1.0. It is a different protocol with different security properties, different complexity tradeoffs, and different threat models. Understanding the OAuth 2.0 vs OAuth 1.0 differences at the protocol level is essential for making correct implementation decisions — and for understanding why many OAuth 2.0 deployments are…
-
Nginx upstream keepalive connections are one of the most impactful performance optimizations for reverse proxy deployments. By reusing TCP connections to upstream servers, you eliminate the latency and CPU cost of TCP handshakes on every request. But the configuration is non-obvious, the defaults are misleading, and there are several production pitfalls that only appear under…
-
Keepalived is the standard tool for implementing virtual IP failover on Linux. In theory, it is straightforward: the master holds the VIP, it fails, the backup takes over. In practice, production keepalived VRRP failover has a dozen failure modes that only surface under real conditions. This post covers a complete multi-node setup, a rigorous testing…
-
What the Docs Don’t Explain Nginx’s gzip compression and charset modules work well in isolation. Combined, they expose a series of edge cases that can corrupt responses, break browser compatibility, or silently disable compression. This post documents the most significant nginx gzip encoding issues encountered in production, with the config and source-level explanation for each.…
-
Twisted is the original Python asynchronous networking framework, predating asyncio by more than a decade. Its reactor pattern — the central I/O event dispatcher — influenced the design of asyncio, node.js, and many other frameworks. Yet Twisted’s internals are rarely studied. This post reads through SelectReactor in twisted/internet/selectreactor.py and the base reactor in twisted/internet/base.py to…







