0

One of my client M2 store is using Redis for session and cache storage. On inspecting the New Relic, have noticed that HGET is consuming hell lot of time Redis HGET

Redis Configuration:

  • Local Redis connected with TCP
  • Setting: maxmemory-policy allkeys-lru

How do you guys optimize the Redis (single instance) for your M2 store?

1

Magento 2.4 have preload functionality that allow load multiple keys by one request.

See https://devdocs.magento.com/guides/v2.4/config-guide/redis/redis-pg-cache.html#redis-preload-feature fir more details

Works especially well with two level cache https://devdocs.magento.com/guides/v2.4/config-guide/cache/two-level-cache.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.