Sizing a Withdrawal Signing Fleet That Survives Losing a Rack

An exchange HSM fleet needs enough spare capacity that it can lose its largest correlated failure domain at peak withdrawal load and still keep up. Spares are not one extra module. Losing a single module is rare and easy to absorb. A shared power feed, a firmware rollout or a top-of-rack switch can take several modules down at once, and the sizing model has to hold up against that case.

The two inputs that set the fleet

The model needs two inputs: the peak signing demand L and the derated per-module signing rate r. For L, take the description's figure of 200,000 signatures per second as a planning estimate across ERC-20, SPL, Avalanche and Cosmos withdrawals. Treat it as a burst ceiling, not an average, because a market event bunches withdrawals into minutes. The parameter that matters is r, measured in signatures per second on the module itself. Measure it with the production mix of secp256k1 ECDSA and Ed25519 running, with audit logging, policy evaluation and fraud scoring switched on. With that load I'll use an estimate of 9,000 signatures per second per module. The datasheet number is usually higher, and it means little until you have repeated it with those controls running. Active capacity is then N = ceil(L / r), which comes to 23 modules, also an estimate.

Size spares to the failure domain

The failure mode that breaks naive designs is a correlated outage. A rack loses its PDU, or a staged firmware update bricks every module in one wave, and the survivors suddenly have to carry the whole load. The decision rule: spread the fleet across k independent domains, separate in power, network path and firmware cohort, and provision N_total = ceil(N × k / (k − 1)), so losing any one domain still leaves N active modules. With four domains, the 23 active modules become 31 installed, an estimate that follows directly from the inputs above. Adding a fifth domain lowers the overhead, but every extra domain is another key ceremony and another quorum of custodians to keep in sync. The validation regime adds a further constraint. Cryptographic module certifications such as FIPS 140 at the higher levels and Common Criteria protection profiles cover a specific firmware build, so firmware cohorts can't be mixed freely to break up correlation.

Fleet size scales inversely with r, so a bench figure that is optimistic by some fraction inflates the real fleet requirement by about that same fraction, and that is why r carries the widest error bar in the model and L only the second widest.

What failover has to carry beyond throughput

Raw capacity is only half of staying up when a domain drops. The other half is state. A warm enclave on the surviving side must already hold the wrapped key material and the loaded policy, so it signs on the first request rather than after an unwrap ceremony that needs human quorum. On account-model chains, Ethereum and Avalanche C-Chain, the signer queue owns nonce sequencing. If a module dies mid-batch, failover must replay with idempotency keys, or it will either skip a nonce and stall the account or sign a second transaction with the same nonce, two conflicting transactions only one of which can land. UTXO-style and Cosmos sequence handling bring their own versions of this problem. Fraud detection also needs to run on the surviving path at full strength, because an attacker who can trigger a failover and land on a degraded path with weaker scoring has found the cheapest way around your controls.

Why not just overprovision r with a safety factor instead of counting failure domains?

A blanket safety factor protects against measurement error in r, not against topology. If the extra modules share a rack or a firmware cohort with the active ones, a single event takes out both, so they have to be placed by domain and counted by domain. The next decision is whether a fifth domain's lower overhead is worth one more set of custodians.

Back to CoinHSM · Domains

← Back to CoinHSM
Engineering & Architecture Brief

Sizing a Withdrawal Signing Fleet That Survives Losing a Rack

An exchange HSM fleet needs enough spare capacity that it can lose its largest correlated failure domain at peak withdrawal load and still keep up. Spares are not one extra module. Losing a single module is rare and easy to absorb. A shared power feed, a firmware rollout or a top-of-rack switch can take several modules down at once, and the sizing model has to hold up against that case.

The two inputs that set the fleet

The model needs two inputs: the peak signing demand L and the derated per-module signing rate r. For L, take the description's figure of 200,000 signatures per second as a planning estimate across ERC-20, SPL, Avalanche and Cosmos withdrawals. Treat it as a burst ceiling, not an average, because a market event bunches withdrawals into minutes. The parameter that matters is r, measured in signatures per second on the module itself. Measure it with the production mix of secp256k1 ECDSA and Ed25519 running, with audit logging, policy evaluation and fraud scoring switched on. With that load I'll use an estimate of 9,000 signatures per second per module. The datasheet number is usually higher, and it means little until you have repeated it with those controls running. Active capacity is then N = ceil(L / r), which comes to 23 modules, also an estimate.

Size spares to the failure domain

The failure mode that breaks naive designs is a correlated outage. A rack loses its PDU, or a staged firmware update bricks every module in one wave, and the survivors suddenly have to carry the whole load. The decision rule: spread the fleet across k independent domains, separate in power, network path and firmware cohort, and provision N_total = ceil(N × k / (k − 1)), so losing any one domain still leaves N active modules. With four domains, the 23 active modules become 31 installed, an estimate that follows directly from the inputs above. Adding a fifth domain lowers the overhead, but every extra domain is another key ceremony and another quorum of custodians to keep in sync. The validation regime adds a further constraint. Cryptographic module certifications such as FIPS 140 at the higher levels and Common Criteria protection profiles cover a specific firmware build, so firmware cohorts can't be mixed freely to break up correlation.

Fleet size scales inversely with r, so a bench figure that is optimistic by some fraction inflates the real fleet requirement by about that same fraction, and that is why r carries the widest error bar in the model and L only the second widest.

What failover has to carry beyond throughput

Raw capacity is only half of staying up when a domain drops. The other half is state. A warm enclave on the surviving side must already hold the wrapped key material and the loaded policy, so it signs on the first request rather than after an unwrap ceremony that needs human quorum. On account-model chains, Ethereum and Avalanche C-Chain, the signer queue owns nonce sequencing. If a module dies mid-batch, failover must replay with idempotency keys, or it will either skip a nonce and stall the account or sign a second transaction with the same nonce, two conflicting transactions only one of which can land. UTXO-style and Cosmos sequence handling bring their own versions of this problem. Fraud detection also needs to run on the surviving path at full strength, because an attacker who can trigger a failover and land on a degraded path with weaker scoring has found the cheapest way around your controls.

Technical FAQ: Why not just overprovision r with a safety factor instead of counting failure domains?

A blanket safety factor protects against measurement error in r, not against topology. If the extra modules share a rack or a firmware cohort with the active ones, a single event takes out both, so they have to be placed by domain and counted by domain. The next decision is whether a fifth domain's lower overhead is worth one more set of custodians.

Related Architecture Specifications (HSM): devicehsm.com · hsmcrypt.com · idhsm.com

More Technical Articles on coinhsm.com

Engineering High-Velocity Cryptocurrency Exchange HSMs: Scalability, Security, and Multi-Chain Support →Securing Cross-Chain Bridges: Preventing Reentrancy and Proof Forgery with Hardware Enclaves →Sizing an exchange signing cluster for the day a rack goes dark →CoinHSM: Reference Architecture, Interoperability & Deterministic Telemetry →