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

Not losing related peers info on restart #1

Closed pgmemk closed 3 years ago

pgmemk commented 3 years ago

Problem

In this version of multi-hyperbee the related peers are saved only in memory. That means that if the device restarts there is no info for restoring the relationship.

Solution

Discuss if this works for other multi-feed structures

https://github.com/datproject/comm-comm/issues/134

pgmemk commented 3 years ago

Implemented as planned.