Skip to content

IPFS Desktop should install go-ipfs as a service #1977

@Arlodotexe

Description

@Arlodotexe

Is your feature request related to a problem? Please describe.
This feature request stemmed from an issue on Windows where IPFS was randomly going full throttle, presumably to do DHT bootstrapping or the like.

Since IPFS Desktop and go-ipfs are running as a normal user app in the system try, it treats go-ipfs with the default "normal" process priority. When CPU usage gets high, it interferes with most all other user applications that are open.

As a temporary workaround, you can restrict the number of processor cores allowed, or lower the process priority from task manager.

I've seen some Linux users use a much nicer workaround -- running go-ipfs as a service and setting the priority lower by default.

Describe the solution you'd like
Having IPFS Desktop install go-ipfs as a service on Linux, Windows, etc, allows for

  • Better lifecycle management
  • Improved system task scheduling
  • Automatic restart on failure
  • Autostart on login
  • Running under a different or system user.
  • Automatically lowering Scheduler priority, so high CPU usage doesn't interfere with actual user apps.

Describe alternatives you've considered

  • Manually setting up the service myself and using the webui instead of IPFS Desktop. A lot of hassle for something that should be enabled by default...

Additional context
image

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps uparea/windowsWindowsexp/intermediatePrior experience is likely helpfulhelp wantedSeeking public contribution on this issueneed/analysisNeeds further analysis before proceedingneed/community-inputNeeds input from the wider community

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions