Tarek Adam
Tarek Adam

Reputation: 3525

Is there a way to speed up gun.js sync?

I am making game for my kids. I want them to control an abacus input on their iPad and a number-pad input on their iphone. The overall game-boad is on the iPad. The phone is just used to separate the number pad for ergonomics. To facilitate communication between the phone and the ipad - I store and sync with gun.js (server and clients).

It works, but the gun.js sync is a bit slow. Good enough for text messages, but not good enough to game.

Have I run into a common first time gunner pitfall? Is there a config that I missed to increase cycle frequency?

Upvotes: 0

Views: 184

Answers (1)

Tarek Adam
Tarek Adam

Reputation: 3525

There are 2 important pieces to this solution.

  1. turn off cloudflare caching.
  2. stop making silly mistakes.

Upvotes: 0

Related Questions