Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pining API over libp2p ? #9

Open
Gozala opened this issue Jul 2, 2020 · 1 comment
Open

Pining API over libp2p ? #9

Gozala opened this issue Jul 2, 2020 · 1 comment
Labels
dif/expert Extensive knowledge (implications, ramifications) required effort/weeks Estimated to take multiple weeks kind/enhancement A net-new feature or improvement to an existing feature need/analysis Needs further analysis before proceeding need/community-input Needs input from the wider community P2 Medium: Good to have, but can wait until someone steps up topic/devexp Developer experience related things topic/v2

Comments

@Gozala
Copy link
Collaborator

Gozala commented Jul 2, 2020

I think it is worth considering whether pinning API over libp2p would be a better option than HTTP based pinning API. Here are some of my thoughts on this subject:

Pinning API over libp2p

  1. 馃憤 This would essentially turn any IPFS node into pinning service (if they choose to provide it). Symmetry here is really compelling because I could authorize my phone to pin anything on my laptop.
  2. 馃憤 Transport agnostic.
  3. 馃憤 If I am asking to pin content from my laptop with libp2p I already have a open channel with the node so it could be leveraged to get that content from me.
  4. 馃憥 It's far more involved than a simple HTTP request, but then again if assumption is that this is used from IPFS node, this doesn't really change much.
  5. 馃憤 It would be trivial to subscribe to pin changes instead of having to poll for updates.
@lidel lidel added need/analysis Needs further analysis before proceeding need/community-input Needs input from the wider community topic/devexp Developer experience related things P2 Medium: Good to have, but can wait until someone steps up dif/expert Extensive knowledge (implications, ramifications) required effort/weeks Estimated to take multiple weeks kind/enhancement A net-new feature or improvement to an existing feature labels Jul 6, 2020
@MichaelMure
Copy link

IIRC, OrbitDB and/or 3Box use something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dif/expert Extensive knowledge (implications, ramifications) required effort/weeks Estimated to take multiple weeks kind/enhancement A net-new feature or improvement to an existing feature need/analysis Needs further analysis before proceeding need/community-input Needs input from the wider community P2 Medium: Good to have, but can wait until someone steps up topic/devexp Developer experience related things topic/v2
Projects
None yet
Development

No branches or pull requests

3 participants