Journal
Writing
Opinionated engineering notes—security, scalability, correctness, and the interfaces between humans and machines. No listicles—just explanations you can reuse in prod and in interviews.
Filter
Featured
All posts
- SystemsMay 5, 20262 min read
Distributed systems basics adults revisit under pressure
Partial failures, clock lies, consensus tradeoffs, idempotency at money boundaries, and load shedding vocabulary operators actually recognize.
distributed-systemsreliabilityconsensusfallacies - InfrastructureMay 1, 20262 min read
Docker networking for engineers who resent memorizing buzzwords
Bridge overlays, NAT and published ports, embedded DNS versus external discovery, and debugging paths beyond restart theater.
DockerKubernetesnetworkingobservability - PlatformsApril 25, 20262 min read
Edge runtime explained — locality, isolation, and the limits of v8 snippets
What shifts when handlers run closer to users: cold starts, memory ceilings, cryptography constraints, and why edge does not magically delete physics.
EdgelatencyNext.jsreliability - SystemsApril 18, 20262 min read
Event-driven architecture without losing operational discipline
Outboxes versus brittle dual-writes, idempotent consumers, poison queues, and drawing lines between choreography and orchestration.
messagingreliabilitysagasobservability - PerformanceApril 10, 20262 min read
Caching strategies that survive invalidation reality
TTL alone is not a design. Layer CDN, proxy, application, and data caches with explicit ownership of staleness budgets and measurable hit quality.
cachingRedisCDNstaleness - SecurityApril 2, 20262 min read
JWT authentication without mythology — rotations, revocation, and session ergonomics
Symmetric versus asymmetric verification, JWKS fleets, leaky storage pitfalls, and when opaque cookies outperform bearer tokens.
JWTsessionsOAuthAPI design - Frontend architectureMarch 25, 20262 min read
Server Actions in Next.js — boundaries, security contracts, and cache semantics
What crosses the network, how Actions relate to RPC ergonomics over POST, and the checklist for parity with disciplined API handlers.
Next.jsReactsecurityforms - NetworkingMarch 18, 20262 min read
WebSockets vs HTTP — connection economics, backpressure, and when streaming wins
Framing the transport choice as an operations problem: fan-out, heartbeats, scaling stateful sockets, and falling back to SSE or polling without shame.
WebSocketHTTP/2SSEscaling - DataMarch 12, 20263 min read
Database indexing beyond B-trees — selectivity, partial indexes, and write amplification
How query planners pick indexes, when covering indexes beat heap fetches, and the operational cost every extra index hides.
PostgreSQLperformancequery-plansstorage