Open to Work: Senior Backend & Distributed Systems Engineer (Go / Python) View LinkedIn →

Engineering

Technical Journal // Engineering
Aug '26

How Go Channels Actually Work

Go channels look simple, but they rely on heap-allocated ring buffers and runtime scheduler parks. Learn how the hchan structure, stack-to-stack copies, and lock ordering work to prevent leaks and panics.

Aug '26

Part 6: Simulating a Living Facility: Room Derivation, Sunlight Spillover, and Positional SFX

Building structural algorithms to identify rooms procedurally from coordinate maps, propagate sunlight through doorways, parse modular JSON missions, and render positional sound.

Aug '26

Designing a Distributed Job Scheduler in Go: Partitioning, Locking, and Backpressure

A complete system design of a fault-tolerant distributed job scheduler built for scale. Covers PostgreSQL row locking with SKIP LOCKED, hash ring shard distribution, cron parsing, worker backpressure, and missed job recovery.

Aug '26

Part 5: From Terminal Cells to Sprite Maps: Font Fallbacks and Auto-Tiling

Building a 2D Raylib rendering pipeline capable of 4-bit cardinal autotiling and multi-font fallback chains for unicode glyphs and emojis.

Aug '26

Part 4: Refactoring to SoA ECS: Bitmasks and Flat Component Arrays

Refactoring entity storage from pointer-heavy OOP structs to a Structure of Arrays (SoA) ECS using bitwise masks for entity identity and zero-allocation system loops.

Aug '26

Designing a Usage-Based Billing Pipeline for SaaS

A deep technical guide to designing a robust, provider-agnostic billing pipeline for usage-based SaaS. Covers subscription state machines, idempotent event processing, automated dunning logic, credit notes, and metered invoice generation with full SQL schemas, Mermaid diagrams, and Go snippets.

Jul '26

Couchbase Index Best Practices and Query Performance Tuning

A practical field guide to Couchbase indexing. Covers primary vs GSI indexes, composite key ordering, index-order sorting, covering and partial indexes, array indexes (including replacing OR and LIKE), IntersectScan and UnionScan avoidance, replication and partitioning, projection selectivity, the ADVISE and INFER tools, scan consistency, and pagination, all with runnable SQL++ (N1QL) examples against the travel-sample dataset.

Jul '26

API Design for Backend Systems

A practical, opinionated guide to designing backend APIs. Covers request and response schema, offset and keyset pagination, BFF, server-driven UI, caching, versioning, naming, the new HTTP QUERY verb, WebSocket vs SSE, API security (auth headers, server-to-server auth, webhook receivers), and bulk data load APIs. Built around Relay, the same AI proxy system from the multi-tenant SaaS post, with REST and JSON as the running example and Go code throughout.

Jul '26

Cache-Driven Development: Saving Your Database From Itself

How to use cache to prevent your database from getting hammered. Understanding cache mechanics, types, strategies, and when each one wins.

Jul '26

Designing a Distributed Rate Limiter with Redis

A full system design of a production rate limiter. Covers every major algorithm (token bucket, sliding window, leaky bucket, fixed window), their tradeoffs, how they break in a distributed system, how Redis fixes them, and how Stripe, Cloudflare, and API gateways actually deploy this in production.