SE/Notes

Software Engineering Notes

Personal notes on backend, infrastructure, and system design.

Building a minimal TCP proxy in Go

Exploring low-level networking by writing a simple transparent proxy from scratch using the net package.

Hardening an Ubuntu server in 2026

A practical checklist: SSH keys, UFW, Fail2ban, unattended-upgrades, and a few less obvious things.

Multi-stage Docker builds for Go services

How to cut image size from 900MB to under 20MB using multi-stage builds and scratch base images.

Query performance: indexes you might be missing

Partial indexes, covering indexes, and how to read EXPLAIN ANALYZE output without going insane.