Sizing a Signing Fleet for the Module That Stops

Size the signing fleet against surviving capacity, using a conservative service rate measured with withdrawal policy enforcement enabled. A warm enclave contributes nothing to failover capacity until it can access an authorized signing key and accept work without weakening withdrawal controls. The governing limit is the slowest mandatory stage that remains available after a signing module stops.

Define the capacity boundary

For the CoinHSM workload, take an estimated arrival envelope of 200,000 withdrawals per second as an illustrative design input, not a verified platform benchmark. Assume each admitted withdrawal requires a signing operation, and include policy checks, durable authorization recording and audit backpressure inside the service measurement boundary. Let λU denote that arrival envelope and μL the conservative sustained completion rate of an independent signing lane, including its HSM and supporting enclave resources. Measure μL with the intended chain mix, message sizes, key residency and concurrent sessions, because signature throughput alone does not capture transaction preparation or serialized access to a busy key. This calculation ends at durable signature completion, since network submission and chain confirmation require their own capacity models.

Calculate the surviving fleet

With an illustrative estimated μL of 125,000 signatures per second, the sizing rule N = f + ceil(λU / μL), where f reserves capacity for the failed module, gives an estimated installed fleet of three independent signing lanes, provided every surviving lane can serve the redistributed key and policy workload.

Put uncertainty around the rate

The error bars belong on measured demand and service, before rounding the fleet size. Define demand bounds λL and λU and service bounds μL and μU from sustained tests spanning the intended workload distribution, thermal conditions and policy execution cost, then express the fleet interval as [f + ceil(λL / μU), f + ceil(λU / μL)]. The worked estimate uses the conservative endpoint, but neither its service bound nor its uncertainty coverage is established without measurements, so the result remains a provisional hardware budget. Correlated contention matters: if all surviving lanes share a policy store, audit sink or host interface, derive μL from the redistributed workload instead of multiplying an isolated module benchmark. Security assurance such as the FIPS cryptographic module validation family helps qualify the protection boundary, but supplies no evidence for this throughput bound.

Make the spare capacity usable

A module stopping creates a backlog during detection and reassignment even when surviving steady state capacity exceeds arrivals. Let τ be the interruption interval and Qexisting the queued work already present, so the recovery backlog is Q = Qexisting + λU × τ; define surviving capacity Csurv and positive headroom H through Csurv = λU + H, giving drain time T = Q / H under sustained envelope traffic. Reassignment must recover the original authorization and signing intent from durable state, preserve chain nonce or sequence reservations, and return an existing signed payload when available instead of constructing another withdrawal. Warm enclaves therefore need verified policy state and approved key access before they enter the capacity count, with key replication constrained by the custody design rather than assumed by the scheduler. Accept the calculated fleet only when a module removal test demonstrates both the conservative surviving service rate and backlog clearance within the withdrawal deadline, otherwise buy additional independent capacity or cap admission at the rate the survivors can sustain.

Back to CoinHSM · Domains

← Back to CoinHSM
Engineering & Architecture Brief

Sizing a Signing Fleet for the Module That Stops

Size the signing fleet against surviving capacity, using a conservative service rate measured with withdrawal policy enforcement enabled. A warm enclave contributes nothing to failover capacity until it can access an authorized signing key and accept work without weakening withdrawal controls. The governing limit is the slowest mandatory stage that remains available after a signing module stops.

Define the capacity boundary

For the CoinHSM workload, take an estimated arrival envelope of 200,000 withdrawals per second as an illustrative design input, not a verified platform benchmark. Assume each admitted withdrawal requires a signing operation, and include policy checks, durable authorization recording and audit backpressure inside the service measurement boundary. Let λU denote that arrival envelope and μL the conservative sustained completion rate of an independent signing lane, including its HSM and supporting enclave resources. Measure μL with the intended chain mix, message sizes, key residency and concurrent sessions, because signature throughput alone does not capture transaction preparation or serialized access to a busy key. This calculation ends at durable signature completion, since network submission and chain confirmation require their own capacity models.

Calculate the surviving fleet

With an illustrative estimated μL of 125,000 signatures per second, the sizing rule N = f + ceil(λU / μL), where f reserves capacity for the failed module, gives an estimated installed fleet of three independent signing lanes, provided every surviving lane can serve the redistributed key and policy workload.

Put uncertainty around the rate

The error bars belong on measured demand and service, before rounding the fleet size. Define demand bounds λL and λU and service bounds μL and μU from sustained tests spanning the intended workload distribution, thermal conditions and policy execution cost, then express the fleet interval as [f + ceil(λL / μU), f + ceil(λU / μL)]. The worked estimate uses the conservative endpoint, but neither its service bound nor its uncertainty coverage is established without measurements, so the result remains a provisional hardware budget. Correlated contention matters: if all surviving lanes share a policy store, audit sink or host interface, derive μL from the redistributed workload instead of multiplying an isolated module benchmark. Security assurance such as the FIPS cryptographic module validation family helps qualify the protection boundary, but supplies no evidence for this throughput bound.

Make the spare capacity usable

A module stopping creates a backlog during detection and reassignment even when surviving steady state capacity exceeds arrivals. Let τ be the interruption interval and Qexisting the queued work already present, so the recovery backlog is Q = Qexisting + λU × τ; define surviving capacity Csurv and positive headroom H through Csurv = λU + H, giving drain time T = Q / H under sustained envelope traffic. Reassignment must recover the original authorization and signing intent from durable state, preserve chain nonce or sequence reservations, and return an existing signed payload when available instead of constructing another withdrawal. Warm enclaves therefore need verified policy state and approved key access before they enter the capacity count, with key replication constrained by the custody design rather than assumed by the scheduler. Accept the calculated fleet only when a module removal test demonstrates both the conservative surviving service rate and backlog clearance within the withdrawal deadline, otherwise buy additional independent capacity or cap admission at the rate the survivors can sustain.

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 →Sizing a Withdrawal Signing Tier That Survives Its Own Failures →Sizing a Withdrawal Signing Cluster That Survives Losing a Module →Sizing an exchange signing cluster for the day a rack goes dark →CoinHSM: Reference Architecture, Interoperability & Deterministic Telemetry →