As of Magento Commerce Cloud and Magento Commerce 2.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:
- Diminish the size of network data transfers between Redis and Magento.
- Lower 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+
As of Magento 2.3.5 and higher, it is recommended to use the extended Redis cache implementation
If you have eco-tools 2002.1.1 or higher, use the
REDIS_BACKEND deployment variable to set this:
stage: deploy: REDIS_BACKEND: '\Magento\Framework\Cache\Backend\Redis'
For details about the variable, see Deploy variables > REDIS_BACKEND in Magento Developer Documentation.
If your eco-tools version is earlier than 2002.1.1, update it to the newer versions, since old versions are lacking new features and are not supported. For details, see Update eco-tools version on Magento Developer Documentation.
If assistance is required or if there are questions or concerns, submit a Magento Support ticket.