-
Notifications
You must be signed in to change notification settings - Fork 430
Disambiguating nodes/peers/instances vs daemons #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As I work in the IPLD world, I often use the word "node" in my context (I'm not aware of a proper replacement). I try to talk about "peers" whenever I talk about "IPFS Nodes" as I think that's a proper substitute. |
See also this discussion: ipfs/js-ipfs#1269 (comment) — we should make sure we cover the idea of instances and daemons when correcting for the concern above node vs. daemon (node and instance are synonyms in this case).
@vmx I think “node” is pretty reasonable language there, but it’s important to make sure you contextualize it in any documentation by calling it an “IPLD node” (not just “node”) when you first introduce it in a paragraph or section of a document (after that, you can probably switch to just “node” in the rest of the doc because you’ve provided needed context already, similar to how you might write out a complicated term the first time you use it and abbreviate it for the rest of the doc). @Stebalien also suggested that we should try and not use the term
Yeah! We should make sure to mention that here, too. I think some people have a little trouble with “peer” because it sounds odd when referring to yourself/your own local instance. |
@johnnymatthews Is this general understanding correct:
Edit: Questions:
It might be useful to discuss these terms in respect to the UI/CLI and what each causes. For example:
|
Yes. Except, each node isn't running a copy of IPFS. IPFS isn't a blockchain, or something with a specific state. We could both be running IPFS on our machines, and what our nodes contain could be completely different.
Correct!
A daemon is a program that runs in the background.
No. As soon as the
Yes, but make sure that it's properly closed (right click on the IPFS icon in the status bar and click Exit, or whatever it says in MacOS).
Do you mean how much data a node can store? Not really, but there are upper limits for various bits and bobs within IPFS. @lidel can probably clarify though. |
In progress.... |
This issue was resolved with PR #1031 . I included these changed files in that PR before I knew how to properly separate them. |
The term “node” is used in very different ways in different contexts around IPFS. At the Berlin developer summit, we decided adding a concept doc describing this might be helpful (it would also be a good idea to try and avoid using the general term “node” in the future 😛).
Here was the original draft:
Some concerns:
Equating an IPFS node and a daemon is not quite correct (an IPFS node doesn’t have to be the only thing running in a process, it might not also have a gateway, etc.). Can we be more accurate without descending into arcana?
What about Libp2p Nodes (kinda like IPFS nodes)?
/cc @Stebalien @hsanjuan who were also in this session
Concept docs are concise, high-level descriptions of various core concepts in IPFS. They should strive to answer:
The text was updated successfully, but these errors were encountered: