As of Magento Commerce Cloud and Magento Commerce v2.3.5 or higher, it is recommended that you use the extended Redis cache implementation.
The enhancements minimize the number of queries to Redis that are performed on each Magento request.
These optimizations include:
- Decrease in the size of network data transfers between Redis and Magento.
- Reduction in Redis consumption of CPU cycles by improving the adapter’s ability to automatically determine what needs to be loaded.
- Reduce race conditions on Redis write operations.
Affected products and versions
- Magento Commerce Cloud and Magento Commerce 2.3.5+
Best practices
As of Magento v2.3.5 and higher, it is recommended to use the extended Redis cache implementation.
\Magento\Framework\Cache\Backend\Redis
'cache' => [
'frontend' => [
'default' => [
'backend' => '\\Magento\\Framework\\Cache\\Backend\Redis',
'backend_options' => [
'server' => '127.0.0.1',
'database' => '0',
'port' => '6379'
],
],
],
To implement, upgrade the ece-tools to the latest release. The configuration will be done automatically with the new ece-tools version.
Related reading
- Magento DevDocs Magento Commerce Release v2.3.5
- Magento DevDocs Redis Page Cache
If assistance is required or if there are questions or concerns, submit a Magento Support ticket.