orbitdb / field-manual

The Offical User's Guide to OrbitDB
210 stars 44 forks source link

Replicating service? #60

Closed jphastings closed 2 years ago

jphastings commented 5 years ago

I can see that orbitdb replicate <database> lets me replicate a single DB, is there a way to replicate a large list of databases?

If we use the orbitdb version of twitter as an example, is there a way to replicate every user's stream so that if a user goes offline before anyone else "follows" them (their orbit & ipfs nodes become inaccessible) then someone else can still follow them and retrieve their tweets from some kind of replicating service?

  1. Does something like this exist, or would I need to write it?
  2. At what scale of replication am I likely to run into scaling issues?

Thanks!

BartKnucle commented 5 years ago

It all depends on how you implement you database logic. Let's say you have a single share user db. Each user can register inside it. You can on sync of that db trigger the sync of the complete user db.

The scalling part depend on your ipfs setup and environnement. It should scale but you'll have to run stress tests.

aphelionz commented 5 years ago

@jphastings There are updates on this front. The community has been busy with pinning services!

In no particular order:

Also, I'm transferring this to the Field Manual repo so we can go into more details

jphastings commented 2 years ago

Thanks folks! I'm very late replying here, but this info is super helpful (and, as you say, the community has delivered!)