gun icon indicating copy to clipboard operation
gun copied to clipboard

Write data is slow on Android and IOS

Open dezmou opened this issue 3 years ago • 2 comments

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

  • Write data with the desktop --> data is refreshed in real time to the mobile device
  • Write data with the mobile device --> data make several seconds to refresh on other connected device.

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 !

dezmou avatar Oct 28 '22 14:10 dezmou

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

Sorry... was gone at conferences.

amark avatar Dec 01 '22 05:12 amark

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 ?

Buom01 avatar May 05 '24 20:05 Buom01