rdsync

module
v0.0.0-...-a32c973 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT

README

Unit-tests-status Linters-status Func-tests-status

rdsync

Rdsync is a valkey high-availability tool. It uses a patched valkey version to make a cluster or sentinel-like setup less prone to data loss.

Limitations and requirements

  • Patched valkey (patches for valkey 9.0 are included in this repo)
  • ZooKeeper as DCS
  • Single valkey instance per host
  • In clustered setup each shard must have it's own DCS prefix
  • Client application must use WAITQUORUM command to make data loss less usual (check jepsen test for example).

Try it out

  • You will need a linux vm with gnu make, docker, docker compose and go >=1.25 installed.
  • Use make start_sentinel_env to start an environment with senticache
  • Or make start_cluster_env to start an environment with single shard of clustered setup
  • Run make clean to drop containers and network

Directories

Path Synopsis
cmd
rdsync command
internal
app
dcs
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL