GPlates / gplates-app

GPlates Mobile App
https://www.gplates.org
2 stars 0 forks source link

investigate Cesium tile loading latency #48

Closed michaelchin closed 2 years ago

michaelchin commented 2 years ago

@michaelchin, the tiles still take ages to load for me, and when I spin back to the same spot in the globe it's all blurry again. Did you figure out a way to improve this?

Originally posted by @nickywright in https://github.com/GPlates/gplates-app/issues/9#issuecomment-1136536674

michaelchin commented 2 years ago

https://community.cesium.com/t/tiles-loading-extremaly-slow/8929 https://community.cesium.com/t/rendering-tiles-very-slow/9842 https://groups.google.com/g/cesium-dev/c/TCwDMTJKSC8 https://stackoverflow.com/questions/59008197/optimizing-cesium-tile-display-performance

It seems there might not be an easy solution. Increasing tileCacheSize maybe worth a try.

viewer.scene.globe.tileCacheSize = 1000; // default 100

michaelchin commented 2 years ago

@nickywright I have increased the cache size. But I am not sure if it has improved the performance since my network to the geoserver is pretty fast and I can hardly see a big difference. Could you please have a quick try?

By the way, it seems the geoserver network does not like Telstra network very much. Maybe we should move the geoserver to Sydney. But the ongoing cost might be a problem. Using Amazon cloud might cost 2-3 times more.

http://10.66.32.173:8888/main

nickywright commented 2 years ago

Tried it on my laptop (using the Usyd ethernet) and my iPhone (on mobile data instead of the wifi) and it works much better now!

jcannon-gplates commented 2 years ago

Much better for me too (on desktop at home).

michaelchin commented 2 years ago

increasing tileCacheSize works