cancel
Showing results for 
Search instead for 
Did you mean: 

magento2 l2 cache performance issue

magento2 l2 cache performance issue

 

Hi,

I have a problem with redis performance after enabling l2 cache. CPU is sometimes utilized 100%. Due to the fact that redis is single-threaded I experience unavailability of the store. I noticed that I do not have the write_control parameter added in the env.php. Could this be the problem? My configuration has three application servers. Now i have over 100k ops/s in redis.

1 REPLY 1

Re: magento2 l2 cache performance issue

It sounds like your Redis setup is hitting its limits, especially since Redis is single-threaded, and you're handling a high number of operations per second. While the write_control parameter in env.php can help with managing cache consistency, the high CPU usage suggests you may need to scale your Redis instance or consider Redis clustering for better performance. You might also want to check your cache configurations and optimize the L2 cache.

Avid learner and technical marketer at devrims.com