// Topics / Patterns

Patterns

Definition

Patterns coverage in this archive spans 9 posts from Sep 2018 to Jul 2026 and deals with structural tradeoffs: coupling, failure boundaries, and long-term change cost. The strongest adjacent threads are architecture, ai, and go. Recurring title motifs include patterns, agent, go, and event.

Key claims

  • Most pieces recommend choosing the simplest architecture that can be operated confidently.
  • Early posts lean on event and patterns, while newer posts lean on patterns and agent as constraints shifted.
  • This topic repeatedly intersects with architecture, ai, and go, so design choices here rarely stand alone.

Practical checklist

  • Define failure domains and data boundaries before introducing additional services or protocols.
  • Start with the newest post to calibrate current constraints, then backtrack to older entries for first principles.
  • When boundary questions appear, cross-read architecture and ai before committing implementation details.

Failure modes

  • Breaking systems into many parts without clear ownership of cross-service behavior.
  • Choosing architecture for trend alignment rather than workload constraints.
  • Applying guidance from 2018 to 2026 without revisiting assumptions as context changed.

Suggested reading path

References

    AI-Native Architecture Patterns 2026: Production Guide Production AI architecture patterns for gateways, retrieval, evaluation, fallbacks, cost control, and ownership. architecture ai patterns Agent Orchestration: Four Patterns, Honest Tradeoffs Multi-agent systems aren't magic. They're distributed systems with all the usual coordination headaches. Here are the four patterns I've seen work, and when each one falls apart. agents orchestration ai Agent Patterns That Survive Production Single-prompt agents break on real tasks. Plan-execute-replan, orchestrated specialists, structured memory, and explicit recovery -- in Go -- are what actually works. agents ai go LLM Structured Output in Go: JSON Schema, Validation, Retries How to get reliable JSON from LLMs in Go with schemas, validation, repair loops, and typed contracts. llm structured-output json Go Concurrency Patterns I Use in Every Service Worker pools, fan-out/fan-in, pipelines, and the cancellation discipline that keeps Go services predictable under load. golang concurrency patterns Distributed Systems Patterns I Keep Reaching For The patterns that actually survive production across failure handling, consistency, messaging, coordination, and scaling. distributed-systems architecture patterns Event Sourcing in Practice: What I Learned Building Financial Event Pipelines Event sourcing is powerful but expensive to get wrong. Here's what actually works, with Go code, drawn from building event pipelines at the fintech startup. event-sourcing architecture cqrs Serverless: What Works, What Doesn't, and What Will Bite You Real patterns and antipatterns from running serverless at the fintech startup. Where Lambda shines, where it hurts, and how to tell the difference before it's too late. serverless aws-lambda architecture