Skip to content

Merge from OSDU-delfi: Change RedisCache to VmCache (loadingCache)

Hong Yan requested to merge vmcache into master

Merge from OSDU-delfi: !205409 replace RedisCache with VmCache (loadingCache)

  • Change redis cache to VmCache
  • Remove all redis cache deployment and config files
  • Set cache expiration time to 5 minutes, maximum cache size to 1000

REDIS cache is exposed outside of the Kubernetes boundary, which provides a potential security risk. It also has a slight performance penalty since each call requires a network request. There may also be some configuration complications with setup since we have to know where REDIS is and align with it. Therefore we want to use a local in-service memory cache instead of a standalone cache process.

Edited by Hong Yan

Merge request reports