Sizing an exchange signing cluster for the day a rack goes dark

Peak withdrawals do not set how many HSMs sit behind a hot wallet. Peak withdrawals minus the largest block of hardware you can lose at once do. Every figure below is an estimate, and the model is built so you can drop in your own bench measurements without changing its structure.

The base equation

Start from demand D in signatures per second, per-module throughput μ, and a utilization ceiling ρ_max. Above that ceiling, queueing delay stops growing gently and withdrawal SLAs start to slip. The active module count is N_a = ⌈D / (ρ_max · μ)⌉. Take D as 200,000 signatures/s (estimate, the design target for a withdrawal storm spread across EVM, Solana and Cosmos chains), μ as 20,000 ECDSA secp256k1 signatures per second per module (estimate, a vendor bulk figure with session reuse), and ρ_max as 0.7 (estimate). That gives ⌈14.3⌉, so 15 active modules, an estimate built entirely from estimates.

Where the error bars come from

N_a scales with 1/μ, so any relative error in throughput passes straight into the module count, and μ is the shakiest input you have. Vendors usually measure on one curve with warm sessions. A real exchange mixes secp256k1 for EVM and Cosmos with Ed25519 for Solana, and pays for the policy engine and fraud-scoring hooks that run before the private key is ever touched. ρ_max is the second lever. In a multi-server queue, waiting time climbs steeply as utilization approaches one, so the ceiling is really a latency decision dressed up as a capacity number. D is a business forecast, and its error runs one way only, because a market crash drives withdrawals up and never down.

What certification does not buy you

Validation schemes for cryptographic modules, such as FIPS 140, certify that each box protects its keys, but they say nothing about whether the cluster still meets its withdrawal SLA when a whole power domain disappears, and that SLA is what you are actually signing off on.

Failure domains, not modules

Naive sizing breaks on one particular failure mode: not a single dead HSM, but a shared dependency such as a PDU, a top-of-rack switch or a firmware rollout batch that removes several modules in the same instant and pushes their load onto survivors already running at ρ_max. Warm enclaves only help if the survivors already hold unwrapped key material for the affected wallets. If they have to restore from backup under an M-of-N custodian quorum, failover takes human minutes, not milliseconds. The decision rule is therefore N ≥ ⌈D / (ρ_max · μ)⌉ + S_max, where S_max is the number of modules in the largest domain that can fail together, and every hot key must be resident in at least S_max + 1 domains. With one module per domain the estimate lands at 16, and every module you pack into a shared rack raises the spare count with it. The trade-off left on the table is key residency: each extra domain holding a warm copy of a hot key shortens failover and widens the attack surface by exactly one enclave.

Why not simply provision N+1?

N+1 assumes modules fail one at a time. When modules share power or network, the spare count has to match the largest shared domain, or the survivors blow past ρ_max on the first rack outage.

Back to CoinHSM · Domains

← Back to CoinHSM
Engineering & Architecture Brief

Sizing an exchange signing cluster for the day a rack goes dark

Peak withdrawals do not set how many HSMs sit behind a hot wallet. Peak withdrawals minus the largest block of hardware you can lose at once do. Every figure below is an estimate, and the model is built so you can drop in your own bench measurements without changing its structure.

The base equation

Start from demand D in signatures per second, per-module throughput μ, and a utilization ceiling ρ_max. Above that ceiling, queueing delay stops growing gently and withdrawal SLAs start to slip. The active module count is N_a = ⌈D / (ρ_max · μ)⌉. Take D as 200,000 signatures/s (estimate, the design target for a withdrawal storm spread across EVM, Solana and Cosmos chains), μ as 20,000 ECDSA secp256k1 signatures per second per module (estimate, a vendor bulk figure with session reuse), and ρ_max as 0.7 (estimate). That gives ⌈14.3⌉, so 15 active modules, an estimate built entirely from estimates.

Where the error bars come from

N_a scales with 1/μ, so any relative error in throughput passes straight into the module count, and μ is the shakiest input you have. Vendors usually measure on one curve with warm sessions. A real exchange mixes secp256k1 for EVM and Cosmos with Ed25519 for Solana, and pays for the policy engine and fraud-scoring hooks that run before the private key is ever touched. ρ_max is the second lever. In a multi-server queue, waiting time climbs steeply as utilization approaches one, so the ceiling is really a latency decision dressed up as a capacity number. D is a business forecast, and its error runs one way only, because a market crash drives withdrawals up and never down.

What certification does not buy you

Validation schemes for cryptographic modules, such as FIPS 140, certify that each box protects its keys, but they say nothing about whether the cluster still meets its withdrawal SLA when a whole power domain disappears, and that SLA is what you are actually signing off on.

Failure domains, not modules

Naive sizing breaks on one particular failure mode: not a single dead HSM, but a shared dependency such as a PDU, a top-of-rack switch or a firmware rollout batch that removes several modules in the same instant and pushes their load onto survivors already running at ρ_max. Warm enclaves only help if the survivors already hold unwrapped key material for the affected wallets. If they have to restore from backup under an M-of-N custodian quorum, failover takes human minutes, not milliseconds. The decision rule is therefore N ≥ ⌈D / (ρ_max · μ)⌉ + S_max, where S_max is the number of modules in the largest domain that can fail together, and every hot key must be resident in at least S_max + 1 domains. With one module per domain the estimate lands at 16, and every module you pack into a shared rack raises the spare count with it. The trade-off left on the table is key residency: each extra domain holding a warm copy of a hot key shortens failover and widens the attack surface by exactly one enclave.

Technical FAQ: Why not simply provision N+1?

N+1 assumes modules fail one at a time. When modules share power or network, the spare count has to match the largest shared domain, or the survivors blow past ρ_max on the first rack outage.

Related Architecture Specifications (HSM): bithsm.com · digitalhsm.com · hsmcryptography.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 →Multichain Exchange HSM Reference Architecture: PKCS#11 Interoperability and Standards Alignment for secp256k1 and Ed25519 Signing →CoinHSM: Reference Architecture, Interoperability & Deterministic Telemetry →