tradle / multi-hyperbee

A LevelUP compatible leaderless multi-master database with eventual consistency, using hyperbee + CRDT + HLC. Similarly CockroachDB achieves replication on top of RocksDB, but here it is a pure P2P **streaming** database, with zero central management. LevelDB compatibility allows to use Dynalite on top to achieve DynamoDB compatibility with sophisticated auto-updated secondary indexes, and fairly complex queries. Work on Dynalite is almost completed to remove HTTP server, to make this combination perfect for serverless.
36 stars 5 forks source link

Edge case: 3 devices play #10

Open pgmemk opened 3 years ago

pgmemk commented 3 years ago

Flow:

Three devices: A, B and C

C receives Diff from B but there is no original Object since A is offline

Solution:

Not clear what to do if A is lost - still discussing 🤔