Bartalog / cool-maze

A quick mobile-to-desktop share capability, through matrix barcode
Apache License 2.0
2 stars 6 forks source link

Shard by continent #430

Open Bartalog opened 5 years ago

Bartalog commented 5 years ago

We can expect that communication between mobile, server, and target, would have less latency if it doesn't need to cross Atlantic or Pacific oceans.

Make sure the backend, the file server, and the server push system are properly distributed. Measure latency from various locations in the world.

Bartalog commented 4 years ago

Also, it turns out that App Engine's global routes have huge latency problems when the client communicates to an instance in a different region.

This can be solved by calling only App Engine's newer regional routes (e.g. ending with .uc.r.appspot.com).