ipfs-shipyard / Durin

Native mobile apps for share actions on iOS and Android
MIT License
46 stars 5 forks source link

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

Open meandavejustice opened 1 year ago

meandavejustice commented 1 year ago

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:

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 commented 1 year ago

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 commented 1 year ago

Kubo:

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