Replication
Replication keeps copies of the same data on several machines, so it survives the loss of one and can be read from more than one place.
Replication is the process of copying data from one machine to others and keeping the copies up to date. Each copy is called a replica. Writes go to one replica or to several, and the change then spreads to the rest. Storage systems and databases use replication to keep data safe and available.
The main choice is when a write counts as done. Synchronous replication waits until several replicas have the change, which is safer but slower. Asynchronous replication confirms the write right away and copies it later, which is faster but can lose recent writes in a failure. Replicas in different racks, zones or regions protect against larger failures, at the cost of more latency.
A sandbox's disk and memory usually live on one host and are not replicated. Its snapshots, volumes and images are stored on replicated storage, so they survive the loss of a host or a disk. The platform's own records of every sandbox are replicated as well. Work that must not be lost is written to replicated storage instead of kept only inside the sandbox.
Related terms