C# in Production (C#)

Posts about csharp

ESSAY

How Does DDD Work in Large Systems?

How does DDD scale in large systems? A decision guide to Bounded Contexts, Context Mapping, Conway's Law, modular monoliths, microservice boundaries, and…

ESSAY

Payment Failure Taxonomy

A timeout, a 429, a 5xx, a business decline, and an infrastructure fault are not the same failure. Each category needs its own retry policy.

ESSAY

Retry Algorithms for Payment Workers

Exponential backoff, jitter, caps, the difference between retry and defer, and circuit breakers — turning the previous part's taxonomy into working code.

ESSAY

DB-Backed Jobs With Leases

Acquiring a lease with a conditional UPDATE, the stuck-job watcher that rescues abandoned work, and why a broker's Nack alone isn't enough.