Compare vulnerable and corrected behavior
Built duplicate-delivery, delay and crash scenarios with vulnerable and corrected implementations, giving six variants to inspect.
RELIABILITY ENGINEERING / FailureLab
A controlled environment for duplicate webhooks, delayed delivery and interrupted processing.
A payment handler can look successful while leaving duplicate fulfillment or unfinished work in storage. I wanted a demonstrator where failures could be introduced deliberately and outcomes checked independently.
Built duplicate-delivery, delay and crash scenarios with vulnerable and corrected implementations, giving six variants to inspect.
The corrected path writes the payment and durable job in one transaction. Recovery workers apply idempotent fulfillment so retries do not repeat the effect.
Outcome checks inspect persisted payment, order and job records. Worker limits and bounded execution keep the experiment controlled.
TRY THE IDEA / CLIENT-SIDE ILLUSTRATION
This small illustration shows the intended effect of idempotency. The repository contains the actual storage and crash-recovery experiments.
All 11 backend tests passed in the latest local review. The application demonstrates recovery patterns using synthetic payments; its previous AWS demonstration deployment has been retired.
This is a bounded single-host engineering demonstrator. It does not process real payments or claim production-scale payment certification.