Comments (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)
- Filter heads by invocation of "access.canAppend" during a loading HOT 3
- Remove TODOs
- .npmignore HOT 6
- Idiomatic Way to Get Log Entry from Hash HOT 1
- Application throws error if it's closed during heavy replication HOT 5
- 'replicate.progress' event is not always sent HOT 3
- Allow updateIndex to be async HOT 4
- This function doesn't match the API HOT 1
- Refactoring HOT 3
- Left-over from ipfs-log refactoring HOT 1
- source.js:17 Uncaught Error: already resolved HOT 1
- Describe indices and how they work HOT 1
- Add setIdentity method
- Handling of non-existent ipfs entries when loading a store
- Can't resolve p-map HOT 2
- Improperly comparing CIDs
- Timeout not passed to Log.fromEntryHash casues stuck replication on missing heads
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbit-db-store.