Skip to content

62

Articles

Featured Series

Latest Articles

AI Engineering29 min read

Designing a Multi-Agent Backend: The Orchestrator Pattern

One agent, one context window, one serial loop — until it stalls at 40 minutes and 180K tokens. The orchestrator pattern fans work out to isolated sub-agents in parallel, then synthesizes. Here's the backend, in compiling Go.

#ai#llm#mcp
Designing a Multi-Agent Backend: The Orchestrator Pattern
Hard
AI Engineering
Backend Engineering21 min read

Go 1.26 Green Tea GC in Production: What Changes, How to Measure It, When to Opt Out

Go 1.26 makes the Green Tea garbage collector the default. What actually changed, how to measure GC CPU before and after on your own workload, and the short window you have to opt out.

#go#performance#production
Go 1.26 Green Tea GC in Production: What Changes, How to Measure It, When to Opt Out
Medium
Backend Engineering
Backend Engineering24 min read

JVM Cold Start in 2026: Leyden vs GraalVM Native Image vs CRaC

Slow JVM cold start breaks scale-to-zero and autoscaling. Three ways to fix it in 2026 — Project Leyden's AOT cache, GraalVM Native Image, and CRaC — with the exact commands, the trade-offs, and a decision framework.

#java#jvm#graalvm
JVM Cold Start in 2026: Leyden vs GraalVM Native Image vs CRaC
Hard
Backend Engineering
Backend Engineering15 min read

Go context.Context Cheat Sheet: Cancellation, Timeouts & Gotchas

Go context.Context: constructors, cancellation, deadlines, request values, and five goroutine leak patterns in production.

#go#context#concurrency
Go context.Context Cheat Sheet: Cancellation, Timeouts & Gotchas
Medium
Backend Engineering
Backend Engineering16 min read

Kafka Producer Tuning Cheat Sheet: Throughput, Latency & Durability

Kafka producer configuration: acks, idempotence, batching, compression, and the tradeoffs that matter for throughput and durability.

#kafka#event-driven#distributed-systems
Kafka Producer Tuning Cheat Sheet: Throughput, Latency & Durability
Medium
Backend Engineering
Backend Engineering16 min read

Postgres EXPLAIN Cheat Sheet: Reading Query Plans Like a Pro

Postgres EXPLAIN plans: node types, cost interpretation, and six patterns that kill query performance on large datasets.

#postgresql#database-internals#performance
Postgres EXPLAIN Cheat Sheet: Reading Query Plans Like a Pro
Medium
Backend Engineering
AI Engineering14 min read

Building an MCP Server in Go with Code Mode: From 1.17M Tokens to 1,000

2,500 API endpoints in one MCP server without blowing context windows. The Code Mode pattern uses search + execute to cut token cost by 1,000x.

#llm#ai#mcp
Building an MCP Server in Go with Code Mode: From 1.17M Tokens to 1,000
Hard
AI Engineering
AI Engineering13 min read

Securing AI Agent Infrastructure: MCP Servers, Tool Calls, and the Attack Surface You're Not Watching

AI agents calling tools via MCP create new attack surfaces: prompt injection through tool responses, credential leakage, and unauthorized execution.

#ai#security#llm
Securing AI Agent Infrastructure: MCP Servers, Tool Calls, and the Attack Surface You're Not Watching
Hard
AI Engineering
System Design15 min read

Consistent Hashing: The Algorithm Behind Every Scalable Distributed System

Adding one cache server shouldn't invalidate every key. Consistent hashing with virtual nodes and bounded loads — full Go and Java implementations.

#consistent-hashing#distributed-systems#system-design
Consistent Hashing: The Algorithm Behind Every Scalable Distributed System
Medium
System Design
System Design14 min read

Distributed Rate Limiting at Scale: The Probabilistic Drop Architecture

Probabilistic drop rate limiting: uncoordinated enforcement bypassing Redis for 1M+ RPS with zero coordination overhead.

#rate-limiting#distributed-systems#go
Distributed Rate Limiting at Scale: The Probabilistic Drop Architecture
Hard
System Design