Notes from real projects: payments, POS, architecture, security, performance, and AI in production.
-
Design Patterns That Earn Their Place in Business Software
The patterns that answer real, recurring forces in business software: state machines, strategies, adapters, the outbox, policy objects, and pipelines, plus the ones to use carefully.
01 · SaaS Architecture · Oct 27, 2026 · 6 min read -
The Modular Monolith: Boundaries First, Microservices Later
Why clean module boundaries matter more than separate deployments: capability-based modules, owned data, events and the outbox, module-scoped transactions, and when to extract a service.
02 · SaaS Architecture · Oct 27, 2026 · 5 min read -
A Performance Workflow That Finds the Real Bottleneck
Stop guessing why the app is slow. A repeatable workflow: name the slow action, reproduce with real data, trace where time goes, then remove, batch, index, and cache, in that order.
03 · SaaS Architecture · Oct 27, 2026 · 5 min read -
Tenant Isolation: How Multi-Tenant Apps Leak Data, and the Guardrails That Stop It
Where multi-tenant isolation breaks in practice, from unfiltered queries and guessable IDs to caches, files, and vector search, and six guardrails that make leaks unlikely and visible.
04 · SaaS Architecture · Oct 27, 2026 · 5 min read -
Designing a POS Order Lifecycle: Discounts, Tax, Returns, and a Stock Ledger That Never Drifts
How to keep every number in a point-of-sale system in agreement: immutable closed orders, a fixed pricing pipeline, discount allocation, rounding policy, stock as a ledger, and idempotent offline sync.
05 · SaaS Architecture · Oct 27, 2026 · 6 min read -
Payments That Never Lose a Transaction: Webhooks, Idempotency, and Reconciliation
A practical guide to payment integrations that stay correct: payment state machines, signed webhooks, idempotency in both directions, out-of-order events, buy-now-pay-later flows, and daily reconciliation.
06 · SaaS Architecture · Oct 27, 2026 · 7 min read