Reliably replicate files between backpack instances.
npm install backpack-replicator
|11||downloads in the last month|
|Version||0.2.7 last updated 6 months ago|
|Keywords||backpack, replication, replicate|
|Dependencies (7)||zk-redis-queue, async, mess, replicate-http, zkjs, redis, nop|
Reliably replicate items between instances, runs as daemon that auto-updates itself configuration. Reads queue from backpack-coordinator and does what it says.
Use values from your backpack-coordinator.
Usage: backpack-replicator <zk_servers> </zk/root> [concurrency]
concurrency is the number of items that replicator will process in parallel.
Initial configuration is stored in zookeeper. When zookeeper data changes, backpack-replicator automatically reload and apply new configuration so there's no need for manual restarts.