functionland / fula-archived

Client-server stack for Web3! Turn your Raspberry Pi to a BAS server in minutes and enjoy the freedom of decentralized Web with a superior user experience!
https://fx.land
MIT License
4 stars 0 forks source link

Libp2p mobile client #162

Open farhoud opened 2 years ago

farhoud commented 2 years ago

Our mobile client rn-fula it not ideal for production it has some deficiencies:

I'm looking into alternative:

farhoud commented 2 years ago

I will try to bind https://github.com/libp2p/go-libp2p/tree/master/examples/echo in react-native sample and report my result

farhoud commented 2 years ago

@gitaaron @keyvan-m-sadeghi @ehsan6sha @masih These are my facts for migrating to go-libp2p I know it add complexity of writing go protocols for client, but i think that is better than develop and maintain:

farhoud commented 2 years ago

I don't add any think around the performance because i don't have data. but a native code most have better performance than running a browser and then run js-libp2p on it.

gitaaron commented 2 years ago

Nice writeup @farhoud - as you mentioned - my main concern is having to marshal the data to a string to pass it back and forth between the webview <-> native.

gitaaron commented 2 years ago

As discussed in yesterday's meeting here are a list of pros/cons for going with webview / webrtc :

ehsan6sha commented 2 years ago

I think here efficiency is priority 1