While the cluster fails a write request in a cluster that does not have at least k+p Swarm nodes available, the minimum number of required nodes is actually higher, to allow space for recovery in the event of a failed volume.

Number of nodes

RAM per node

Nodes using erasure coding benefit from additional CPU cores (and Swarm multi-server processes to utilize them).

Encoding level

Performance considerations

Write throughput for large objects that are erasure-coded is approximately equivalent to replicated objects written with Replicate on Write. Smaller objects are less performant due to the overhead of creating the parity segments relative to the time to write only the content body.