Key details

  1. Engineering disclosure dated November 20, 2026.
  2. Final customer-secret read cutover occurred in July 2025.
  3. Reported p99 retrieval latency: 10 seconds before, 300 milliseconds after.
  4. Central writer remains; regional read replicas permit stale reads.
  5. Performance and security outcomes are first-party claims.

What builders should take away

  1. Measure secret retrieval separately from total application startup time.
  2. Define rotation and revocation freshness requirements before adopting asynchronous replication.
  3. Scope secret authorisation to workload placement rather than granting fleet-wide access.
  4. Use staged migration and compare old and new read paths before cutover.

What changed

Fly.io published an engineering retrospective on November 20, 2026 describing Petsem, its internal replacement for Vault on the customer-secret retrieval path. The company reports p99 retrieval falling from ten seconds to 300 milliseconds. Migration began in March 2024 and final cutover occurred in July 2025; this is a newly disclosed architecture, not a new customer product launch.

Why it matters

A globally distributed application can still depend on one distant region when starting. Separating local reads from central writes can reduce startup delays, but teams must explicitly decide how much credential staleness is acceptable and how to constrain access when a host is compromised.

Availability versus consistency

Fly.io retains a central writer in IAD but distributes read replicas. The company accepted potentially stale reads rather than requiring every startup to contact its original central Vault deployment. The reported latency improvement is internal and does not establish a general benchmark for Vault or other secrets managers.

Authorisation follows placement

The design requires both worker credentials and a separate authorisation attestation tied to application placement. This reduces the scope of secret access available to a compromised worker. It does not prevent extraction of credentials already present in guest memory.

Migration and operational boundaries

The company used dual writes, backfilled existing data and ran the systems alongside each other before switching the read path. Vault remains in use elsewhere. The retrospective does not quantify replication lag, revocation propagation or behaviour during prolonged partitions.

What to watch next

  • Published replication lag and partition recovery measurements.
  • Further evidence on revocation propagation and authorisation failures.
  • Independent operational measurements or reusable implementation details.

Still unclear

  • No independent benchmark or security audit is established here.
  • Replication lag and recovery bounds are not quantified in the retrospective.
  • No generally available Petsem product or pricing is established.

Sources

Direct reading behind this dossier.

1 sources
Petsem: Sometimes Dead Is Better
Fly.io primary

First-party engineering retrospective; architecture, migration dates, internal latency and threat-model limitations.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment