Git Product home page Git Product logo

Comments (1)

julienmalard avatar julienmalard commented on September 28, 2024 1

Hello,

I know this is a bit late, but hopefully it will still be useful to you!

I think part of your question really gets at the core of what Orbit-DB does differently from centralised databases. In Orbit-DB, there is no centralised database; every copy, on every peer, is just as "valid" as the others and can equally contribute to sharing the data in a peer-to-peer manner (though only authorised peers are allowed to add new entries to the database). So if a peer with no local copy of a database attempts to open the database, it will sync operations (entries) on this database from all peers with the same database open. This will form the new, local copy of the database on the new peer and will then also be able to contribute to any newer peers that join the network.

Regarding pinning, as far as I know this is still a matter that requires some progress. Third-party IPFS pinning services so far do not support Orbit-DB out of the box. Of course, you could always manualy pin all of your Orbit-DB database's operations to IPFS. But since databases sync through PubSub, you will always need an actual instance of your database open in Orbit-DB on a peer somewhere for new peers to sync with. I'd say the best solution would be to run an instance of Orbit-DB on a server somewhere and configure it to open (pin) the database(s) you're interested in guaranteeing 24/7 availability for. See orbitdb/orbitdb#941 for a more detailed discussion.

Hope this helps!

from orbit-db-store.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.