website-backend icon indicating copy to clipboard operation
website-backend copied to clipboard

Remove the cached response from memory

Open Ajeyakrishna-k opened this issue 2 years ago • 3 comments

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.

Ajeyakrishna-k avatar Jul 18 '23 17:07 Ajeyakrishna-k

Please assign this issue to me

rishirishhh avatar Jan 02 '24 23:01 rishirishhh

Please assign this issue to me

Assigned, please create a design doc and get it reviewed before making code changes.

Ajeyakrishna-k avatar Jan 02 '24 23:01 Ajeyakrishna-k

https://docs.google.com/document/d/1Jn8wEspXpXK_kKhMnirI_cY1pJGYvo43hfH_xXJvntA/edit?usp=sharing proposed design doc for the problem

rishirishhh avatar Jan 08 '24 23:01 rishirishhh