Interactive demos

Each demo solves a real problem. Failed payments, duplicate charges, cache stampedes, GDPR compliance. Click a button and it runs against the live cluster (Fly.io, Postgres, RabbitMQ). Nothing is mocked.

Resilience under failure
Unique constraint in Postgres deduplicates every request

Safe retries

Click "pay" twice? Network retry? You are only charged once.

Duplicate clicks and network retries never double-charge a customer.

The Problem

Network retries create duplicate charges.

The Solution

Each request has a unique key. Duplicates return the cached result.

Sending the same request twice produces the same result. A duplicate click or network retry does not create a duplicate order.

  1. Click "Send request" to create an order
  2. Click it again with the same idempotency key
  3. The second request returns the existing order, not a new one

Safe retries

Advanced: Cache TTL Configuration

Lower TTL → replays after expiry produce a NEW order. Higher TTL → replays return the cached one.

Key cache
Cache empty. first request will create a new entry.
00
Total_Requests
00
Unique_Commits

Audit log

Recent requests
TimestampActionState
Fire a request from the controls above. this log will populate in real-time.

Strategy: Postgres UNIQUE Constraint · TTL: 30s

All commands target endpoints on the production cluster.
Read the deep dives