Anthony-Nolan / Atlas

A free & open-source Donor Search Algorithm Service
GNU General Public License v3.0
9 stars 5 forks source link

Use shared distributed cache across all apps #730

Open benbelow opened 2 years ago

benbelow commented 2 years ago

Atlas heavily makes use of cached data from its reference data sources - the HMD and MAC stores particularly. Cache warming will be hit a lot when we're scaling on an elastic plan.

This idea is to investigate the feasibility of Redis as a shared cache solution, to allow rapid scaling without the cold start impact of cache warming.

Redis would need to be at least as quick as in memory caches to use when running searches, and would also need to be demonstrably reducing the cold start time of Atlas. Additionally any impact on the cost of running Atlas should be considered, and any known organisations with production instances of Atlas running (i.e. Anthony Nolan, WMDA) must be consulted on any change to running cost.

zabeen commented 3 months ago

Questions