Edge Notes

Small experiments in networking, protocols and edge computing. Updated whenever I find time.

2026-10-28

Notes on WebSocket framing

Spent an evening reading RFC 6455 again. The masking rules for client-to-server frames are still the part everyone gets wrong on the first try, myself included. Wrote a tiny parser to keep the details straight; it handles fragmented messages and ping/pong interleaving the way the spec intends.

2026-09-14

What I learned running services at the edge

Cold starts are mostly a solved problem, but connection setup is not free: every fresh TCP plus TLS handshake still costs a round trip or two. Keeping connections warm and reusing them where the platform allows makes a bigger difference than any micro-optimisation in the handler itself.

2026-08-02

Reading packet captures without going cross-eyed

A short workflow that works for me: filter early, follow one stream at a time, and annotate as you go. Wireshark display filters are worth learning properly; ten minutes with the reference saves an hour of scrolling.