ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

Continuous data protection needs checkpoint restart in the AI era

Continuous data protection replicates changes within seconds. Before it can do that, though, every protected disk needs one full initial sync to the DR site, and after a disaster, failback needs a full copy back. Those first copies are the long jobs in DR. They run for hours or days, over links tha

dev.toMittwoch 15:48 · 02.12.3 Min. Lesezeit
Bild: dev.to

Continuous data protection replicates changes within seconds. Before it can do that, though, every protected disk needs one full initial sync to the DR site, and after a disaster, failback needs a full copy back. Those first copies are the long jobs in DR. They run for hours or days, over links that drop, against hosts that reboot and storage that fills up.

A job that cannot resume from where it stopped throws away the work already done and leaves the workload unprotected while it starts again. A job that resumes carelessly is worse: it produces a DR copy that boots but holds the wrong data.

This post is a short version of our white paper. The full paper is free to download: Continuous Data Protection Needs Checkpoint Restart in the AI Era (PDF).

Training data, model weights, feature stores and vector databases push single VMs into the multi terabyte range. Bigger disks mean longer initial syncs, and pipelines that ingest and retrain write continuously, so more changes are in flight at any moment. The AI world solved the same problem for training runs long ago: a run that cannot restart from its last checkpoint is a run that cannot finish. Data protection needs the same discipline.

The time to copy a disk once at full line rate, before protocol overhead:

A 4 TB VM over 100 Mbps that fails at 90% loses more than three days if the job cannot resume, and has no DR copy for another 3.7 days.

Initial sync. Each disk is copied in chunks of 64 MB to 1 GB, with a per chunk map in the manager database. Change tracking is switched on before the first chunk is read, so writes that land in chunks already copied are picked up by the first replication cycle. A resumed job starts at the first unfinished chunk. After a crash, completed chunks are hash checked on both sides and only the ones that differ are copied again.

oVirt, OLVM and RHV. The copy runs through the platform backup API. The backup is held open across a pause, so a resumed download returns the same point in time. If no progress is made for 4 hours an alert is raised, and after 24 hours the backup is released so the VM is not blocked.

Near sync replication. Once the initial sync is done, replication runs seconds behind. Each delta is journalled in the repository. A delta that reached the repository but not yet the DR disk carries an unapplied marker, so point in time recovery never assumes the DR disk is current when it is not.

DR site outage. Deltas wait safely in the repository. When the site returns, the backlog is applied oldest first and new writes queue behind it, with no agent restart and no manual step.

Secure transport. Over the TLS channel, each file is sent under a temporary name, checked with SHA256, fsynced and only then renamed into place. After a broken link, files the receiver already holds with a matching SHA256 are skipped.

Failback, Simulation and platform calls. Failback full copies resume from the same chunk map, Simulation baseline uploads resume per disk, and reads are retried while writes that time out are never repeated, so nothing is created twice.

An interruption costs only the time the link was down, never the hours or days of work already done, and the DR copy stays correct.

Quelle: dev.to (dev.to). Original öffnen