Skip to main content

Crate edgestore_repl

Crate edgestore_repl 

Source
Expand description

edgestore-repl — HTTP transport layer and pull-only anti-entropy loop.

Provides:

  • HttpReplicationClient — implements ReplicationProtocol over HTTP + MessagePack (D07)
  • HttpReplicationServer — serves 3 pull-only endpoints with ?debug=json support (D07)
  • AntiEntropyLoop — background thread for pull-only sync with per-peer cursor (D08)
  • S3RemoteStore (with s3 feature) — RemoteStore impl using AWS SDK for S3

§What this crate does NOT do

edgestore-repl is a transport crate. It moves segments between nodes or to S3. It does not implement:

  • Cache eviction / tiering policy (which segments stay local vs. go to S3)
  • Transparent read-through (automatic get() fallback to S3 on miss)
  • Prefetch or cache warming

Those are application-level concerns. You can build them yourself using the RemoteStore primitives exported here, or wait for a future edgestore-tier crate. See ARCHITECTURE.md in the repo root for the full pattern.

Re-exports§

pub use anti_entropy::AntiEntropyLoop;
pub use anti_entropy::PeerCursor;
pub use filesystem_remote_store::FilesystemRemoteStore;
pub use http_client::HttpReplicationClient;
pub use http_server::HttpReplicationServer;

Modules§

anti_entropy
Pull-only anti-entropy loop with per-peer cursor persistence.
filesystem_remote_store
FilesystemRemoteStore — local-filesystem implementation of RemoteStore.
http_client
HTTP replication client implementing the ReplicationProtocol trait.
http_server
HTTP replication server exposing 3 pull-only endpoints.