sudopower · posts
Technical articles about code, algorithms, system design, and problem solving in tech.
Shrink your Kubernetes init containers: swap curl for netcat
A small but satisfying change: replacing a curl-based TCP probe with netcat made our Kubernetes init container 65% smaller and the intent instantly obvious.
JSON vs Protobuf vs Avro
Protobuf and Avro decode ~20x faster than JSON in a microbenchmark and ~7x faster in a real pipeline. The popular explanation — "no keys in the payload" — is only half the story.
M1 as a Homelab
Most devs barely touch their personal laptop. Mine is now a tiny homelab I never look at — kind cluster today, maybe Photos and Ollama later.
Traces and code profile
Added tracing to the sink component and experimented with Go profiling to understand performance bottlenecks
Experiments With Kafka
Experiments with Kafka and Go to check performance and required configurations
Blog Migration
I decided to migrate my wordpress site from AWS Lightsail to HUGO+Github Pages. I wanted to explain this with a post.