Indicia-Team / warehouse

GNU General Public License v3.0
5 stars 3 forks source link

Improve caching of service requests #479

Open JimBacon opened 1 year ago

JimBacon commented 1 year ago

On Saturday 22nd April, 2023, the Daily Mail published an article containing an iframe holding https://eip.ceh.ac.uk/hydrology/bloomin-algae/

The Bloomin' Alage map therein, obtained its data from ElasticSearch via the proxy on warehouse1. The rate of requests (10 or 15 per second) caused a slowdown on warehouse1 meaning it was unable to give timely responses to the many other websites it supports, leading to timeouts and blank screens.

To prevent a repetition, we should look at improving caching for responses, where appropriate, and enabling this by default.