Posts
-
Failure Safety in API Request Handling: Designing Defaults for Rate Limiting, Feature Switches, Authorization and Observability
Defining how cross-cutting concerns such as rate limiting, feature switches, authorization and metrics behave when dependencies are missing, misconfigured or failing, so that misconfiguration degrades toward the less harmful outcome.
-
Letting MySQL Enforce Business Invariants: A Single Active Slot via a Generated Column, Guarded UPDATEs, and "Duplicate Key as the Answer"
Without distributed locks, using a generated column with a unique index, guarded UPDATEs and unique constraints so that MySQL itself enforces the six business invariants of batch aggregation.
-
Driving Long-Running Workflows with Merge Requests: State Machines, Idempotency and Reconciliation in Practice
How a workflow spanning an approval system, GitLab and CI stays observable, surfaces every failure, tolerates duplicate and late events, and evolves without interrupting in-flight requests.