Posts
All the articles I've posted.
*sshole: the Alpine OpenSSH bug where an over-long password opens a locked account
OpenSSH 10.6p2 fixes a password authentication bypass on musl systems without PAM, such as Alpine's sshd. What has to line up for it, how to check a server or a container image, the fixed Alpine packages, and the one-line mitigation. No exploit.
Postgres vs SQLite under load: where each one stops on one machine
PostgreSQL 18 and SQLite 3.53 behind the same Go shop on identical 2 vCPU machines, loaded with k6 until they pass their limits. All result tables, the syscall and lock measurements, the single writer pool, and the setup where SQLite stops being an option.
CVE-2026-98432: the Linux TCP use-after-free, and how to check your server
How the IPv4 TCP race behind CVE-2026-98432 works, why two kfree_rcu lines fix it, why scores differ between 8.1 and 9.8, how to find multipath TCP listeners, and the fix status per distribution.
Postgres JSONB vs MongoDB under load: the numbers, the plans and the one GIN setting
PostgreSQL 18 JSONB and MongoDB 8.2 behind the same Go service, on two identical stacks run side by side with k6. Reads, inserts, updates, a mixed shop workload and 40-item documents, plus the EXPLAIN output that shows why the default GIN index makes Postgres fall over.
Keycloak with React and Go: login with PKCE, JWT checks and roles, from one compose file
What Clerk, Supabase Auth, Auth0 and Firebase Auth charge as users grow, then a self-hosted Keycloak 26.8 with a React app (keycloak-js, PKCE S256) and a Go API (go-oidc) that answers 401 for a bad token and 403 for a missing role. Every admin console step also as kcadm.sh and as an Admin REST call.
Golang profiling with pprof: a slow regex and a leaking slice, found and measured
A Go log search service averages 41 ms per search and its container grows to 399 MiB in a minute. pprof's CPU profile points at regexp.MustCompile inside a loop (86% of samples), a heap profile compared with -base points at one line, and both fixes are measured with k6. Plus what profiling costs in production.
Golang context, run in a terminal: timeouts, cancellation and graceful shutdown
A request that waits ten minutes, then one that gives up at 2 s. Three mirrors where the fastest wins and the others stop at 303 ms. A loop that stops after 5 of 20 images, a cancel with a reason, a server that finishes its open request on Ctrl+C, and a request ID in every log line. Every program and every output.
Go concurrency, measured: ten slow requests from 10.3 s to 1.3 s
Goroutines, sync.WaitGroup and wg.Go, the race detector, channels, a three-worker pool and a buffered-channel limit, each run against a local server that takes one second per request. Every program and every timing, plus what 100,000 goroutines cost in memory.