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

Question/measurement: What is the difference between performance/resources used between IPFS backends? #31

Open
meandavejustice opened this issue May 1, 2023 · 2 comments

Comments

@meandavejustice
Copy link
Collaborator

meandavejustice commented May 1, 2023

Durin could be a good test case/sandbox for testing and measuring different IPFS backends on mobile.

For this we would need to contact each of the teams maintaining these projects and have them do the heavy lifting or work closely with us on integrating. This could also benefit their DX and documentation.

Some ideas for projects to try out:

  • Kubo
  • Iroh
  • Nabu

Iroh

https://github.com/n0-computer/iroh
From initial discussion from discord:

depends on what you are looking for, if you already have rust compiling for mobile, you can just pull in the crate, and it will for the most part just work

When asked about caveats on mobile:

So far, nope! Iroh has no configuration, and is tested across a whole bunch of architectures, including old android devices.

Steps:

Nabu

https://github.com/Peergos/nabu

Getting Java to run on ios may be an option.

Same ideas as iroh integration, although appears to be less flexible (solely based on being written in Java and my ignorance of how that works in ios world)

@ianopolous
Copy link

You can also build native iOS executables from Java using https://gluonhq.com/

We are working on this for Peergos for example here: https://github.com/peergos/mobile

@lidel
Copy link
Member

lidel commented May 8, 2023

Kubo:

  • afaik android/ios is not officially supported, but if you are able to run Kubo on these platforms, the modern default settings should be ok
  • we are encouraging people to use https://github.com/ipfs/boxo library to build their own node instead

Aside from Kubo, depending on the feature set you need, there may be better (lighter) implementations for mobile:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants