Closed
Description
Preconditions (*)
- Install Magento 2.1.15 with
bin/magento setup:perf:generate-fixtures ./setup/performance-toolkit/profiles/ee/medium.xml
- Install Magento 2.1.8 with
bin/magento setup:perf:generate-fixtures ./setup/performance-toolkit/profiles/ee/medium.xml
- Setup redis for config and caching
Steps to reproduce (*)
- bin/Magento c:f
- Profile https://2.1.15.test/category-1.html
-- - cd Magento 2.1.8 && bin/magento c:f
- Profile https://2.1.8.test/category-1.html
Expected result (*)
- Not more Network Traffic
Actual result (*)
Url: https://blackfire.io/profiles/compare/cfe9e28e-d5c1-466e-8467-344399c6939e/graph
Info:
Main Problem in 2.1.15 is the new Encryptor the it increases the network traffic +30% this is called up 5 dependent on site
Class: \Magento\Config\App\Config\Type\System
The Problem is worst if you have many configurations because the implementation of the Encryptor is exponentially
A Cart site call 5 times Redis give my all config data (edited)
If you have a Redis Cluster not on the same server this add network latency and if you have many request you can't handle this network traffic
Currently, i reproduce this issue in 2.1.x I add information about 2.3.x