News for hackers. Stuff that matters.
Re:OrbitDB: Peer-to-peer databases for the decentralized web by LoSboccacc on Sunday April 19, 2020 @06:25PM (#22919297)
last time I tested it needed to fetch the whole db to do even the most basic reads, so even simple but long running applications had a very long, network intensive initialization time. is that still the case?
Re:OrbitDB: Peer-to-peer databases for the decentralized web by markhenderson on Sunday April 19, 2020 @09:09PM (#22920249)
OrbitDB works with a CRDT stored in IPFS. In order to calculate the state of the database, it does need to reduce the CRDT oplog which requires fetching all the entries. This was indeed very time consuming, particularly for remote requests, since we used a "nexts" list of addresses to load.

HOWEVER! Our latest release, 0.23.0, mitigated this by using a power-of-2 skiplist to load things in parallel, which gave us a nice 4-5x boost there.

Re:OrbitDB: Peer-to-peer databases for the decentralized web by aboodman on Monday April 20, 2020 @05:11AM (#22922310)
Does this mean that in order to initialize the database, the entire version history must be synced and reduced, to get the current values?

(Is there a design doc for OrbitDB anywhere?)