Failtoprepare — Prepare for Failure Before It Prepares You
A deterministic failure-readiness workbench for developers and platform owners. Declare the architecture, workload, protocol, traffic shape, recovery objectives, and safeguards; the model returns capacity pressure, p99 latency, availability risk, monthly cost, an 18-rule readiness checklist, a protocol compliance checklist, and a SHA-256 receipt. Everything runs locally in the browser.
Domain archive note: the diligence record shows one Wayback capture from 2013 with the prior title “Failtoprepare — failtoprepare.com.” This build preserves the clean domain identity and maps the concept to a modern developer diagnostic.
01Failure-Readiness Workbench
Four field worksheets: Architecture Inputs → Readiness Scorecard → Tradeoff Chart → Protocol & Export. Inputs are strict; invalid values are rejected by the same validators used in the test suite.
Architecture Declaration
Choose the service shape, workload, protocol family, and auth posture.
Traffic & Service Limits
Operational Safeguards
Live Telemetry
Risk Gauge
Readiness Rules
| ID | Rule | Severity | Status | Detail |
|---|
Traffic Tradeoff Sweep
Latency, throughput, and cost as offered traffic scales around the declared value.
Replica Scaling Sweep
Capacity, utilization, and cost as replica count moves from 1 to 64.
Protocol Attestations
Structured schema and protocol checks that apply to the selected protocol family.
| ID | Area | Requirement | Severity | Status |
|---|
Protocol flags
Printable Summary Card
- Architecture
- —
- Workload
- —
- Protocol
- —
- Auth
- —
- Traffic
- —
- Capacity
- —
- Utilization
- —
- p99 estimate
- —
- Availability
- —
- RTO / RPO
- —
- Monthly cost
- —
- Risk / readiness
- —
- Protocol score
- —
- Checklist verdict
- —
Deterministic model estimate for planning only. Not a production guarantee.
Export Dossier
Exports are generated locally and include a canonical payload plus SHA-256 digest.
02Protocol Reference Profiles
The protocol families modeled by the compliance checklist.
| Protocol | Transport | Schema | Typical use |
|---|---|---|---|
| HTTP JSON | HTTPS / JSON | JSON Schema or OpenAPI | Public APIs and web clients |
| HTTP gRPC | HTTP/2 / protobuf | protobuf / buf | Low-latency service meshes |
| Event stream | Kafka / NATS / SSE | Avro / JSON Schema | Async pipelines and webhooks |
| GraphQL | HTTPS / GraphQL | SDL + persisted queries | Aggregated client data |
| Mixed estate | Multiple | Contract registry | Brownfield platforms |
03Failure Mode Field Notes
Common distributed-systems failure signals and the controls the checklist rewards.
| Failure mode | Detection signal | Mitigation pattern |
|---|---|---|
| Retry storm | Error rate rises with attempt count | Cap retries, jitter backoff, circuit breakers |
| Dependency timeout | p99 climbs while p50 stays flat | Per-dependency deadlines and bulkheads |
| Cache stampede | Origin load spikes after key expiry | Stale-while-revalidate and request coalescing |
| Bad deploy | Canary error budget burns fastest | Canary analysis and automated rollback |
| Schema drift | Validation failures after producer deploy | Versioned schemas and contract tests |
| Queue backlog | Consumer lag grows while ingress is normal | DLQ, replay tooling, and lag alerts |
| Region loss | Traffic shifts before health checks converge | Multi-region failover drills |
| Data-loss window | RPO exceeds business tolerance | Point-in-time recovery and idempotent writes |
04Methodology — Declare · Simulate · Prove
01 · Declare
The workbench asks for the operational facts a readiness review needs: architecture archetype, workload class, protocol family, traffic, replicas, dependencies, cache behavior, latency budget, availability target, RTO, RPO, retry policy, and declared safeguards.
02 · Simulate
Model ftp-readiness-1.0 derives capacity, origin load, p99 latency, availability, recovery time, recovery point, monthly cost, risk dimensions, readiness rules, protocol checks, and tradeoff curves. The math is deterministic ES2022 with strict range guards.
03 · Prove
The export path emits stable JSON, CSV metrics, and a receipt whose SHA-256 digest can be recomputed from the canonical payload. The same inputs always produce the same hash; changed inputs produce a new one.
Scope and limits
This is a planning simulator, not a production monitoring system. It does not probe endpoints, store credentials, mutate infrastructure, or predict real incidents. Treat outputs as a structured way to compare designs and expose missing safeguards before an incident does.
05Reference Datasets
Presets, constants, and checklist coverage shipped with the workbench.
Presets
| Preset | Profile |
|---|---|
| Edge read path | 4,200 rps, edge cache, HTTP JSON, 3 regions |
| Write-heavy mesh | 950 rps, microservices, gRPC, mTLS |
| Event pipeline | 2,600 rps, event-driven, event stream, OAuth 2 |
| Legacy monolith | 180 rps, bulkhead, mixed protocols, no auth |
Model constants
| Constant | Value |
|---|---|
| Model version | ftp-readiness-1.0 |
| Architecture profiles | 5 |
| Readiness rules | 18 |
| Protocol checks | 12 total, protocol-scoped |
| Tradeoff points | 3–128 per sweep |
Export contract
| Artifact | Contents |
|---|---|
| Spec JSON | Stable sorted-key canonical config + derived profile |
| Profile CSV | Capacity, latency, availability, cost, risk rows |
| Receipt JSON | Canonical payload + SHA-256 digest |