Gaurav Mittal

work / 02 / Live servers, near-zero downtime

CMigrate, a Rust block-level replication engine

A Rust agent that live-migrates on-prem servers to the cloud by streaming disk blocks with checksum-based incremental scans - coordinated multi-disk cutover, durable resume, near-zero downtime.

  1. 01 Three-crate Rust workspace (source agent, receiver, wire protocol) built on async Tokio.
  2. 02 The agent streams disk blocks from live Linux/Windows servers over dual TLS connections, with lz4/zstd compression and xxHash checksums.
  3. 03 Full sync, then checksum-based incremental scans, then a quiesced multi-disk cutover - with durability barriers and resume state on both ends.
  4. 04 Ships as signed static binaries for Linux and Windows, with a Python/FastAPI control plane and React dashboard around it.