vizhub-core / vizhub-feedback

VizHub feedback issue tracker
32 stars 3 forks source link

Optimize for Low AWS Costs #739

Closed curran closed 2 years ago

curran commented 3 years ago

What could be done to lower AWS costs?

curran commented 3 years ago

Idea: Enable Caching static resources (e.g. JS chunks), but do not cache index.html, so new deploys get sent right away.

Cache viz requests.

Implement ShareDB ingestSnapshot to cut data transfer in half when a viz loads (currently one request is made for the current snapshot, and again the same data is sent over a WebSocket when ShareDB initializes the document.) Tracked as Adopt ingestSnapshot #363