amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
17.96k stars 1.16k forks source link

Write data is slow on Android and IOS #1287

Open dezmou opened 1 year ago

dezmou commented 1 year ago

Hello,

Thanks for making GunDB, it is a great tools for me to prototype littles multiplayers games quickly.

There is something strange when using writing GunDB on mobile device, this is how to reproduce :

Open the Hello world example with a desktop computer and a mobile device ( android or IOS ) https://gun.eco/docs/Hello-World

Is there some know issues or flags to activate when using mobile ?

I tested it with a One Plus 7 with Android 12 and a 2016 IPAD, issue appear no matter the browser used. I tested with the mobile connected to the same network as the desktop, and I also switched to 4G, issue is there is both case

Thanks !

amark commented 1 year ago

Could be a clock sync issue? If not, help me track it down? Jump on a call?

Sorry... was gone at conferences.

Buom01 commented 2 months ago

I just tested on my Android 13 with Firefox 125. My computer is on Firefox 125 too. I got less than 500ms of latency on WiFi and 4G once connected in both ways. My phone were in power saver mode, and it still worked just fine.

I think it's solved for you too, can you confirm @dezmou ?