reapit / foundations

Foundations platform mono repo
56 stars 22 forks source link

Consider implementing caching of migration whitelist in SUMS proxy #4220

Open plittlewood-rpt opened 3 years ago

plittlewood-rpt commented 3 years ago

The SUMS proxy is responsible for a huge volume of API transactions against the internal parameter API (circa 20 million a month). Now that we have already implemented logic in our lambdas to only initialize our DI containers once per Lambda container, we are in a position to also be able to locally cache the migration whitelist which is being constantly checked by this function. It would be fairly straightforwards to implement a timed cache locally inside the function. There is an obvious cost saving associated with doing this

Specification

github-actions[bot] commented 2 years ago

This issue has been updated and moved to our ‘Near Term’ column (typically completed within 1 - 4 months). We have assessed the effort required and outlined a technical specification - please take the time to review this detail. When we're ready to schedule the issue, it will be assigned to the relevant board where you can continue to track its progress to completion. For more information on our processes, please click here