dao-xyz / peerbit

P2P database framework with encryption, sharding and search
https://peerbit.org
Apache License 2.0
194 stars 15 forks source link

`shared-log`: Efficient sync #276

Open marcus-pousette opened 9 months ago

marcus-pousette commented 9 months ago

Problem
Currently the syncing mechanisms is not very efficient.

Solution Implement a syncing mechanism that have following features:

E.g. https://github.com/AljoschaMeyer/set-reconciliation

274

eL1x00r commented 9 months ago

bump

marcus-pousette commented 9 months ago

@eL1x00r Working on a PR here #278 but not done yet. Seems like a little bigger task then initially thought since I also am considering implementing live query features #200 at the same time, so I don't close any doors when doing the abstraction for index engines. Another estimation for completion is around 2-3 weeks

For this specific issue (efficient sync), it is more about improving the protocol for syncing activities which might become a bottleneck later, but not a one that is troubling you now. The work for a solution on this issue will commence once #274 and #200 are resolved