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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "desktop" friendly init profile #4989

Open
olizilla opened this issue Apr 30, 2018 · 2 comments
Open

Add a "desktop" friendly init profile #4989

olizilla opened this issue Apr 30, 2018 · 2 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@olizilla
Copy link
Member

Type:

Enhancement

Description:

From the discussion in ipfs/ipfs-companion#312 (comment)

It would be useful to have an init profile optimised for a desktop IPFS user. Something like

ipfs init --profile=desktop

The specific use case is to allow a browser to run the daemon on behalf of the user. The user may have limited or no awareness of the daemon or the repositories existence.

Of note, as there is already a server profile, it might be worth considering setting up the defaults so that they match the needs of a desktop user, though I realise that may be a more disruptive change.

@whyrusleeping
Copy link
Member

Some initial thoughts for a desktop user:

  • probably want dhtclient. Most desktop users are behind NAT, and it's better to default assume NAT's arent traversable
  • connection manager limits probably want to be low (50-150 ish) but with a higher grace period, perhaps several minutes.
  • mdns and NAT port mapping should be enabled
  • relay addresses should be advertised

I'll add more as I think of them.

@whyrusleeping whyrusleeping added the kind/enhancement A net-new feature or improvement to an existing feature label May 1, 2018
@olizilla
Copy link
Member Author

Having a --profile=desktop option would go some way to reducing the concerns raised in this issue #1482 (comment) if it was clearly documented.

In the meantime ipfs-desktop is going to apply the defaults suggested here to repos initialized via the app. ipfs/ipfs-desktop#828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
No open projects
Development

No branches or pull requests

2 participants