Feeling overwhelmed by AI? Learn the Centaur Mindset. Read More →
A terminal with two results from the same workflow engine. First, a worker that was frozen mid-task and thawed after its replacement finished submits its late result and gets outcome=rejected status=409 code=STALE_ATTEMPT. Second, a curl request from a made-up worker named not-a-real-worker submits the payload 999999 for a task that adds 1, 2 and 3, and gets Disposition ACCEPTED with HTTP 200. The project's invariant checker then prints forge-1 valid=true violations=[].

A 409 for the Zombie, a 200 for the Stranger: Auditing a Durable Workflow Engine's Failover Claims

Any system that hands work to more than one machine eventually meets the same ghost. A worker picks up a job, then goes quiet: a long garbage-collection pause (the language runtime stopping the program to tidy up memory), a frozen virtual machine, a network cable that someone bumped. The system waits, gives up, and hands the job to a second worker. Then the first one wakes up. It has no idea any time passed. As far as it knows, it still owns the job, and it is about to write its result. ...

November 27, 2026 · 41 min · Scott Algatt

Building Production-Ready Resilient Distributed Systems: Circuit Breakers, Service Mesh, and AI-Powered Failure Prediction

Research Disclaimer This tutorial is based on: Resilience4j v2.1+ (Java resilience library) Polly v8.0+ (C# resilience library) Istio Service Mesh v1.20+ (traffic management, observability) OpenTelemetry v1.25+ (distributed tracing standard) Chaos Mesh v2.6+ (Kubernetes chaos engineering) Prometheus v2.47+ (monitoring and alerting) Grafana v10.0+ (visualization and dashboards) TensorFlow v2.15+ (machine learning for failure prediction) All architectural patterns follow industry best practices from the Site Reliability Engineering (SRE) discipline and the Twelve-Factor App methodology. Code examples have been tested in production-like environments as of January 2025. ...

April 16, 2025 · 24 min · Scott