Skip to main content

Module delta_sync

Module delta_sync 

Source
Expand description

Efficient delta synchronisation for distributed vector indexes.

Instead of shipping entire index snapshots on every sync cycle, this module computes and applies deltas — the minimal set of additions, removals and modifications required to transform one index snapshot into another.

§Key Types

  • IndexSnapshot — an in-memory view of the current index state.
  • VectorEntry — a single vector with its ID, data and metadata.
  • IndexDelta — the minimal diff between two snapshots.
  • DeltaSync — stateless helper for computing and applying deltas.
  • ReplicationLag — measures and evaluates sync lag between datacenters.
  • ReplicationAlert — generated when lag exceeds a configured threshold.

§Pure Rust Policy

No CUDA runtime calls or FFI.

Structs§

DeltaSync
Stateless helper for computing and applying index deltas.
IndexDelta
The minimal diff between two index snapshots.
IndexSnapshot
An immutable snapshot of the current index state.
ReplicationAlert
Alert generated when replication lag exceeds a configured threshold.
ReplicationLag
Measures and evaluates replication lag between pairs of datacenters.
VectorEntry
A single vector stored in the index.