mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Updating pinning FAQ
This commit is contained in:
parent
056f81bf6b
commit
9c674de34e
6
FAQ.md
6
FAQ.md
@ -43,9 +43,9 @@ In short: it can't be assumed that data has been replicated to the network after
|
|||||||
|
|
||||||
### Does OrbitDB already support pinning when using js-ipfs ?
|
### Does OrbitDB already support pinning when using js-ipfs ?
|
||||||
|
|
||||||
Currently [js-ipfs](https://github.com/ipfs/js-ipfs) doesn't have GC, so nothing gets removed meaning everything is pinned by default.
|
Currently [js-ipfs](https://github.com/ipfs/js-ipfs) supports `ipfs.repo.gc()` but it's yet not run on any sort of schedule, so nothing gets removed from a `js-ipfs` node and therefore an OrbitDB database.
|
||||||
|
|
||||||
However, this will change in the future as js-ipfs gets GC and we want to make sure that OrbitDB is actually persisting everything (by default), so some work on pinning needs to happen. If you're using OrbitDB with go-ipfs (through js-ipfs-api), then GC happens and data may not be persisted anymore after a time. This is a known issue and we're planning to implement actual pinning (from IPFS perspective) soon.
|
However, this will change in the future as js-ipfs schedules GC and we want to make sure that OrbitDB is actually persisting everything (by default), so [some work on pinning needs to happen](https://github.com/ipfs/js-ipfs/issues/2650). If you're using OrbitDB with go-ipfs (through js-ipfs-api), and GC happens and data may not be persisted anymore. Once the pinning performance is fixed we will implement pinning-by-default in [`orbit-db-io`](https://github.com/orbitdb/orbit-db-io).
|
||||||
|
|
||||||
### Does orbit have a shared feed between peers where multiple peers can append to the same feed?
|
### Does orbit have a shared feed between peers where multiple peers can append to the same feed?
|
||||||
|
|
||||||
@ -94,4 +94,4 @@ We'd love to add multi-writer support to OrbitDB! The maintainers at Haja are cu
|
|||||||
|
|
||||||
### How can I contribute to this FAQ?
|
### How can I contribute to this FAQ?
|
||||||
|
|
||||||
See the introduction at the top! Please open any issues and pull requests you can to improve this FAQ.md. It is here for you. If you're confused, ask another question publicly; it's possible that other people are, too. If you don't want to open an issue, feel free to jump onto [the Gitter](https://gitter.im/orbitdb/Lobby) and ask us there, too.
|
See the introduction at the top! Please open any issues and pull requests you can to improve this FAQ.md. It is here for you. If you're confused, ask another question publicly; it's possible that other people are, too. If you don't want to open an issue, feel free to jump onto [the Gitter](https://gitter.im/orbitdb/Lobby) and ask us there, too.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user