website-backend
website-backend copied to clipboard
Remove the cached response from memory
Description:
Currently we are caching our api response using custom in-memory module.
- This module does not remove the cached response when the expiry time is crossed. This results in memory leaks.
- There should also be a logic implemented to decide which response can be removed when the specified memory limit is reached.
Please assign this issue to me
Please assign this issue to me
Assigned, please create a design doc and get it reviewed before making code changes.
https://docs.google.com/document/d/1Jn8wEspXpXK_kKhMnirI_cY1pJGYvo43hfH_xXJvntA/edit?usp=sharing proposed design doc for the problem