willbryant/verm

Push new files to one or more other verm instances

Closed this issue · 0 comments

The next part of replication is to asynchronously push newly-received files to one or more other verm instances.

A queue of files to push is required, but it does not need to be persistent as the next change is to introduce a full sync on startup (and on demand), so we can use that to get back to a consistent replication position without having to actually track it.

Similarly the queue does not have to support indefinite lengths so long as there is a mechanism to cause a full sync if the length limit is reached.