Getting started
Click Try it now on the home page. A private guest workspace is created with one built-in receiver, and your session lives in an HttpOnly cookie in this browser. A quick tour:
- Open Simulations → New simulation, pick Intermittent server errors and start it.
- Watch progress stream in, then filter the run's events to Retried and open one to see each attempt.
- Click Rerun with changes, lower Max attempts to 2, keep the seed, and run again.
- Select both runs on the Simulations page and compare them.
Creating an endpoint
Built-in receivers are real HTTP endpoints hosted by the platform. The worker signs every request with HMAC-SHA256 (x-webhook-signature: t=…,v1=…) and the receiver verifies it before responding. The signing secret is shown once at creation or rotation and is stored encrypted.
Each receiver has a behavior: always succeed, always fail, fail the first N attempts, or fail randomly from a seed. Failures can be an HTTP error status, a 429 with Retry-After, a timeout (the receiver never answers in time), or a connection dropped mid-response. Lost acknowledgements make the receiver process a request and then drop the response, which is how duplicates happen in real systems.
Sending an event
On Events, choose a type, write a JSON payload (256 KB max), pick receivers and optionally set an idempotency key. The event, one delivery per receiver and their first jobs are written in one database transaction, then the worker sends them asynchronously. The inspector shows the timeline, every attempt's headers, status, body excerpt and timing, and the state transitions.
Delivery states
- Pending: stored and queued, not yet picked up.
- Processing: a worker holds a lease on the job and is sending it.
- Retry scheduled: the last attempt failed with a retryable outcome; the next one is due at a stored time.
- Succeeded: a 2xx response was received.
- Dead-lettered: retries ran out or the failure was not retryable.
- Cancelled: stopped by you, by a simulation cancel or runtime limit, or because the endpoint was disabled.
Delivery is at-least-once. If a worker crashes after sending but before recording the result, its lease expires and the attempt is repeated. The duplicate is visible in the history. Exactly-once delivery is not claimed. Receivers should be idempotent.
Retry policies
A policy sets max attempts, an initial delay, a multiplier, a delay cap, jitter (none, full or equal), the retryable status codes, whether network errors are retried, a request timeout, and whether to honor Retry-After. The delay before retry n is min(cap, initial × multiplier^(n−1)), then jittered. Retries are scheduled as durable jobs; no worker sleeps. Each delivery keeps a snapshot of the policy it started with, so editing an endpoint never changes deliveries already in flight.
Idempotency
When idempotency is on, the built-in receiver deduplicates on the Idempotency-Key header, or on the event ID if there is none. Keys are scoped to one receiver and kept for 24 hours. A database unique constraint on (receiver, key) decides which request processes first, so even concurrent duplicates are processed once. Each attempt shows the receiver's verdict (processed, duplicate suppressed, rejected), and the endpoint page lists processed keys. This demonstrates the pattern; the platform cannot make a third-party receiver idempotent.
Dead-letter queue and replay
Exhausted or permanently failed deliveries land in the dead-letter queue with the reason and full attempt history. Nothing is discarded. From there you can replay, or dismiss with a note. Both are recorded in the audit log.
A replay is a new delivery linked to the original (replay_of). It uses the original policy, the endpoint's current policy, or a preset. Bulk replay is capped at 50 deliveries and needs explicit confirmation, and replays have an hourly quota to prevent replay storms. An event's status is judged by the latest delivery in each replay chain.
Running and comparing simulations
A simulation creates real events and deliveries and sends them through the same worker and receivers. Its receiver behavior, retry policy, event count, concurrency, release window, producer duplicates and runtime limit are stored with the run. The eight presets are just filled-in configurations you can edit.
Failure decisions are a pure function of the seed, the event's position and the attempt number, and retry jitter is seeded too. The same seed and settings reproduce the same decisions. Wall-clock timings and latencies still vary with load. Progress streams over server-sent events, with automatic reconnection and a polling fallback; the database is always the source of truth. Results are computed from the stored deliveries and attempts. Percentiles are shown only with at least 20 samples.
The comparison view lines up outcomes and lists every configuration difference. Different seeds mean different failure decisions, so for a fair policy comparison keep the seed. Small runs are noisy; the comparison makes no claim of statistical significance.
Analytics and export
Analytics are computed on request from your stored records, for a time window and source (manual or simulation). Each figure states its denominator. “n/a” means there is not enough data, which is different from zero. Exports (CSV or JSON) cover events, deliveries, attempts, dead letters, simulations and an analytics summary. They are capped at 10,000 rows and say when they are truncated. Secrets and request headers are never exported.
External endpoint safety
External HTTPS destinations are a server-side request forgery (SSRF) risk on a shared service. The hosted demo only delivers to them when the deployment enables them, and then only over HTTPS to port 443. Hostnames are resolved and every resolved address must be public: loopback, private, link-local, metadata, multicast and reserved ranges are rejected, including unusual numeric forms of IP addresses. The connection is pinned to the validated address (with the original name used for TLS), redirects are not followed, and timeouts and response sizes are bounded. If your deployment shows external endpoints as disabled, use the built-in receiver: every feature works with it.
Guest data retention and limits
Guest workspaces are deleted, with everything in them, after 24 hours without activity. A durable cleanup job enforces this. You can reset or delete your workspace at any time from the Workspace page.
Limits are enforced by the server and shown on the Workspace page: 5 endpoints, 256 KB payloads, hourly caps on events, replays and simulated events, one running simulation of up to 1,000 events and 5 minutes, and 4 deliveries in flight per workspace. Work beyond the in-flight limit waits in the queue; it is never dropped. The hosted demo runs on free infrastructure and may pause or slow down; the sidebar shows whether the worker is online.
Self-hosting
Requirements: Docker. Everything (PostgreSQL, API, worker, web) runs from the repository root:
cp .env.example .env # set SECRET_KEY to a long random value
docker compose up --build
# open http://localhost:3000The API applies database migrations on start. Quotas are environment variables (for example QUOTA_SIMULATION_EVENTS, QUOTA_WORKSPACE_CONCURRENCY), so a self-hosted install can raise or remove the shared-demo limits. API reference: /docs on the API service in development.