Skip to content- Sources: primary
- Summary: Fly.io says Vault's Raft cluster in IAD gave apps a p99 of 10 seconds to load secrets at boot and made boot depend on that region. Petsem keeps a write primary in IAD with read replicas in other regions, accepting stale reads, and cut p99 to 300 ms. A worker can read an app's secrets only with its own credential plus a third-party macaroon discharge proving it hosts that app, and denied reads raise alerts.
- Why it matters: It shows a concrete design for limiting a compromised host to the secrets of workloads placed on it, and for trading secret consistency for boot latency.
- Background: Macaroons are bearer tokens that carry caveats, and a third-party caveat requires a separate discharge token from another service before the request is valid. Raft-backed stores such as Vault need low latency between members, so they usually live in one region. Fly.io earlier replaced Consul and Nomad with its own systems.