This specification discloses a
data synchronization method, apparatus, device, medium, and program product. The method is applied to a distributed cluster
system comprising multiple single-
machine replicas, each running an independent
virtual machine. The method includes: responding to a timed scheduling instruction to control each single-
machine replica to start a data loading and
parsing task at the beginning of a synchronization time window; the duration of the synchronization time window is less than the scheduling cycle of the timed scheduling instruction; during the execution of the data loading and
parsing task, when it is detected that a target single-
machine replica has completed the data loading and
parsing task and generated data to be deployed, triggering a deployment blocking mechanism for the target single-machine replica; when the end of the synchronization time window is reached, releasing the blocking state of all single-machine replicas under the deployment blocking mechanism, controlling multiple single-machine replicas to perform data deployment operations simultaneously,
synchronizing their respective data to be deployed to their respective virtual machines.