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

Lorbic._

Decoding the mechanics of high-performance systems.

Technical Journal // Featured Articles
Technical Journal // Recent Articles
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.

Jun '26

Nobody Will Read This

Writing documentation, comments, or even blog posts into the void, and doing it anyway.

Jun '26

What is DRY? (And Other Things We Say at 3 AM)

DRY is a rule we all know. But at 3 AM with a crashing server, the copy-paste starts looking pretty reasonable.

Jun '26

Constructing Concurrent Inverted Indexes in Go

Building a thread-safe inverted index from scratch in Go. Covers sharded mutexes, lock contention profiling, slice pooling to avoid GC pressure, and benchmark comparisons against a naive sync.RWMutex approach under varying read/write ratios.

May '26

Why Explaining Technical Difficulty is Hard

"It's just a simple query". Why the distance between a logical requirement and its infrastructure cost is the most expensive gap in engineering.

May '26

Building a Poor Document Store inside PostgreSQL

A forensic analysis of why abusing JSONB for schemaless architecture leads to write amplification, TOAST bloat, and catastrophic query planner failures.

Apr '26

Migrating Cloudflare to Terraform

A technical reference on migrating existing Cloudflare infrastructure to Terraform. Includes an automated bootstrapping script to bypass manual state imports and handle API edge cases.