DataDrivenAlex's picture
Publish static Async Task Reliability Lab demo
06d7a7d verified
|
Raw History Blame Contribute Delete
988 Bytes
metadata
title: Async Task Reliability Lab
emoji: 🔁
colorFrom: blue
colorTo: indigo
sdk: static
app_file: index.html
pinned: false

Async Task Reliability Lab

An interactive, browser-only backend reliability lab. Inject a worker failure and compare naive retries, idempotency keys, and a transactional outbox. The event timeline and ledger make the ambiguous “committed, but the response was lost” case visible.

The hosted simulator is static HTML/JavaScript and runs without a paid Space runtime. The repository also includes a small Python reference engine (engine.py) and unit tests (test_engine.py); run them locally with python -m unittest -v.

All records and side effects are synthetic and in memory. This demo does not charge money, call a real service, or claim production guarantees. The outbox example illustrates the atomic-write boundary; a production system still needs durable storage, delivery workers, consumer deduplication, observability, and recovery.