cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
31 stars 18 forks source link

Dedicated Web Workers for API-only calls #209

Closed profjsb closed 2 years ago

profjsb commented 3 years ago

Rather than have bulk/programmatic API calls bog down and block the frontend user experience, baselayer should allow for a separate pool of webworkers to handle API-only calls. This will not fully solve the need for autoscaling under large loads (which is complicated by webtokens) but it will go a long way.

acrellin commented 3 years ago

nginx can detect whether a request comes from a browser or not, so it should be fairly straightforward to direct requests accordingly

acrellin commented 2 years ago

Implemented