Software Engineering Notes

Infrastructure, systems programming and occasional rants about tools that get in the way.

Recent Posts

Zero-copy I/O in modern Linux: io_uring in practice

After rewriting our log aggregation pipeline using io_uring we saw 3× throughput improvement. Here's what the migration looked like and where the rough edges still are.

linux io_uring performance

Postgres connection pooling: PgBouncer vs pgpool-II in 2026

Benchmarked both poolers under realistic SaaS workloads. The results were not what I expected — PgBouncer's transaction mode has a surprising edge case with prepared statements.

postgres pgbouncer databases

Writing a minimal TLS 1.3 client from scratch

A learning exercise that taught me more about cryptography than any textbook. We'll implement the handshake, key schedule and record layer step by step.

tls cryptography rust