SlideShare a Scribd company logo
Sample Title
DevelopersParadise
2016 / Opatija / Croatia
Magento 2 performance comparison in different
environments
DevelopersParadise
2016 / Opatija / Croatia
Hardware configuration and software
• Gatling
• Docker
• M2 Custom Sample Data generator
Tools used in benchmark:
Hardware configuration:
• Intel® Core™ i7-6700, 64 GB DDR4 RAM, 2 x 250 GB SATA
6 Gb/s SSD
• Intel® Core™ i7-6700, 64 GB DDR4 RAM, 2 TB SATA 4 Gb/s
Enterprise Hard Drive
DevelopersParadise
2016 / Opatija / Croatia
Yaroslav Rogoza
CTO - Atwix
DevelopersParadise
2016 / Opatija / Croatia
Fixing a bad (slow) code
Software tweaks
Hardware changes
DevelopersParadise
2016 / Opatija / Croatia
Bad code
<?php $giftcardProducts = Mage::getModel("catalog/product")-
>getCollection();

foreach ($giftcardProducts as $giftProduct) {

$product = Mage::getModel("catalog/product")-
>load($giftProduct->getId()); ?>

. . .
DevelopersParadise
2016 / Opatija / Croatia
Software Tweaks
[Here should be some funny picture]
DevelopersParadise
2016 / Opatija / Croatia
Emulation steps
1. Visit Home Page ->
2. Visit Woman Pants category ->
3. Visit Overnight Duffle product ->
4. Add to cart Overnight Duffle product ->
5. Search for “band” keyword ->
6. Go to login page ->
7. Log in ->
8. Go to My Account page
DevelopersParadise
2016 / Opatija / Croatia
Standard sample data, SSD
Standard sample data:1 customer, 2k products, 40 categories
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading time (ms.)
0.00 1000.00 2000.00 3000.00 4000.00
1275
1207
418
3257
453
829
3834
1928
DevelopersParadise
2016 / Opatija / Croatia
Bottlenecks
• Configurable::getUsedProducts
• Configurable::getConfigurableAttributes
• ConfigurableAttributeCollection::_afterLoad
DevelopersParadise
2016 / Opatija / Croatia
Standard sample data, SSD
Standard sample data:1 customer, 2k products, 40 categories
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading time (ms.)
0.00 1000.00 2000.00 3000.00 4000.00
1275
1207
418
3257
453
829
3834
1928
DevelopersParadise
2016 / Opatija / Croatia
Standard sample data, HDD
Standard sample data:1 customer, 2k products, 40 categories
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1275
1207
418
3257
453
829
3834
1928
1293
1489
470
3618
599
1278
4446
1970
HDD SSD
DevelopersParadise
2016 / Opatija / Croatia
Standard sample data, SSD
Standard sample data:1 customer, 2k products, 40 categories
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading time (ms.)
0.00 1000.00 2000.00 3000.00 4000.00
1275
1207
418
3257
453
829
3834
1928
DevelopersParadise
2016 / Opatija / Croatia
Standard sample data + additional customers
2k products, 40 categories, 400k customers
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1000 2000 3000 4000
1275
1207
418
3257
453
829
3834
1928
1392
1350
422
3260
470
830
3837
1933
400k customers 1 customer
DevelopersParadise
2016 / Opatija / Croatia
Many customers + Redis backend cache
2k products, 40 categories, 400k customers +
Redis as backend cache storage
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1000 2000 3000 4000
1396
1349
421
3477
469
956
3955
1915
1392
1350
422
3475
470
953
3970
1933
Disk Redis
DevelopersParadise
2016 / Opatija / Croatia
Many customers + many products
600k products, 40 categories, 400k customers
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1392
1350
422
3475
470
953
3970
1933
1396
1347
426
4132
521
1002
4943
2013
400k customers 1 customer
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products + Redis
600k products, 40 categories, 400k customers +
Redis as backend cache storage
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1392
1349
422
4129
524
996
4951
1997
1396
1347
426
4132
521
1002
4943
2013
Disk Redis
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products, disk cache
600k products, 40 categories, 400k customers +
disk cache clean and warmed up
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1500 3000 4500 6000
1392
1349
422
4129
524
996
4951
1997
1436
1355
448
4218
522
1194
5161
2107
Warmed Up Clean
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products, Redis cache
600k products, 40 categories, 400k customers +
Redis and disc cache warmed up
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1500 3000 4500 6000
1391
1352
421
4127
523
998
4951
1998
1436
1355
448
4218
522
1194
5161
2107
Disk Redis
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products, MariaDB
600k products, 40 categories, 400k customers +
MariaDB as DB engine
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1391
1352
421
4127
523
998
4951
1998
1391
1362
422
4120
511
987
3112
1994
MariaDB MySQL
DevelopersParadise
2016 / Opatija / Croatia
What else?
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products, DB replication
600k products, 40 categories, 400k customers +
database replication
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1391
1352
421
4127
523
998
4951
1998
1383
1339
421
4133
509
1001
4946
1996
Replication No Replication
DevelopersParadise
2016 / Opatija / Croatia
What else?
PHP7!
DevelopersParadise
2016 / Opatija / Croatia
Many customers and products, PHP 7.0
Home Page
Woman Pants category
Overnight Duffle product
Add to cart request
Search for 'Band'
User log in page
User log in process
My Account page
Loading Time (ms.)
0 1250 2500 3750 5000
1391
1352
421
4127
523
998
4951
1998
803
816
288
2984
313
560
4192
1515
PHP 7 PHP 5.6
DevelopersParadise
2016 / Opatija / Croatia
Links
• Gatling scenario https://github.com/Atwix/gatling-m2-
benchmark
• M2 sample data generator https://github.com/Atwix/m2-
sampledata-generator
DevelopersParadise
2016 / Opatija / Croatia
Thank You!
@rogyar enarc@atwix.com

More Related Content

Viewers also liked

Magento powerpoint sample
Magento powerpoint sampleMagento powerpoint sample
Magento powerpoint sample
smtech002
 
An Introduction To Magento
An Introduction To MagentoAn Introduction To Magento
An Introduction To Magento
Emipro Technologies Pvt. Ltd.
 
A/B Testing Magento Extension by Amasty | User Guide
A/B Testing Magento Extension by Amasty | User GuideA/B Testing Magento Extension by Amasty | User Guide
A/B Testing Magento Extension by Amasty | User Guide
Amasty
 
Proposal sample 1
Proposal sample 1Proposal sample 1
Proposal sample 1
Momy Saikia
 
Web design proposal sample
Web design proposal sampleWeb design proposal sample
Web design proposal sample
Adviacent
 
Magento community 1-7_user_guide
Magento community 1-7_user_guideMagento community 1-7_user_guide
Magento community 1-7_user_guide
Santosh Yadav
 

Viewers also liked (6)

Magento powerpoint sample
Magento powerpoint sampleMagento powerpoint sample
Magento powerpoint sample
 
An Introduction To Magento
An Introduction To MagentoAn Introduction To Magento
An Introduction To Magento
 
A/B Testing Magento Extension by Amasty | User Guide
A/B Testing Magento Extension by Amasty | User GuideA/B Testing Magento Extension by Amasty | User Guide
A/B Testing Magento Extension by Amasty | User Guide
 
Proposal sample 1
Proposal sample 1Proposal sample 1
Proposal sample 1
 
Web design proposal sample
Web design proposal sampleWeb design proposal sample
Web design proposal sample
 
Magento community 1-7_user_guide
Magento community 1-7_user_guideMagento community 1-7_user_guide
Magento community 1-7_user_guide
 

Similar to Magento 2 performance comparison in different environments by Yaroslav Rogoza from Atwix

OSMC 2012 | Icinga by Icinga Team
OSMC 2012 | Icinga by Icinga TeamOSMC 2012 | Icinga by Icinga Team
OSMC 2012 | Icinga by Icinga Team
NETWAYS
 
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
Sascha Wenninger
 
OSMC 2011 | Neues von Icinga by Icinga Team
OSMC 2011 | Neues von Icinga by Icinga TeamOSMC 2011 | Neues von Icinga by Icinga Team
OSMC 2011 | Neues von Icinga by Icinga Team
NETWAYS
 
Django oscar introduction
Django oscar introductionDjango oscar introduction
Django oscar introduction
KAI CHU CHUNG
 
Introducing SciaaS @ Sanger
Introducing SciaaS @ SangerIntroducing SciaaS @ Sanger
Introducing SciaaS @ Sanger
Peter Clapham
 
SAP TechEd 2016 Barcelona TEC123 Session Presentation
SAP TechEd 2016 Barcelona TEC123 Session PresentationSAP TechEd 2016 Barcelona TEC123 Session Presentation
SAP TechEd 2016 Barcelona TEC123 Session Presentation
Core To Edge
 
GDI Seattle - Intermediate HTML and CSS Class 3 Slides
GDI Seattle - Intermediate HTML and CSS Class 3 SlidesGDI Seattle - Intermediate HTML and CSS Class 3 Slides
GDI Seattle - Intermediate HTML and CSS Class 3 Slides
Heather Rock
 
Tabular Data Stream: The Binding Between Client and SAP ASE
Tabular Data Stream: The Binding Between Client and SAP ASETabular Data Stream: The Binding Between Client and SAP ASE
Tabular Data Stream: The Binding Between Client and SAP ASE
SAP Technology
 
Azure for Data Platform
Azure for Data PlatformAzure for Data Platform
Azure for Data Platform
Mariano Kovo
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I started
Faelix Ltd
 
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
Acquia
 
Apache Solr Changes the Way You Build Sites
Apache Solr Changes the Way You Build SitesApache Solr Changes the Way You Build Sites
Apache Solr Changes the Way You Build Sites
Peter
 
Kaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overviewKaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overview
Kaldeera
 
Kaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overviewKaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overview
Kaldeera
 
LavaCon 2017 - Static Site Generators are the Game Changers
LavaCon 2017 - Static Site Generators are the Game ChangersLavaCon 2017 - Static Site Generators are the Game Changers
LavaCon 2017 - Static Site Generators are the Game Changers
Jack Molisani
 
自律型データベース Oracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
自律型データベースOracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)自律型データベースOracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
自律型データベース Oracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
オラクルエンジニア通信
 
Let’s talk Retain – Requirements, Setup and Features
Let’s talk Retain – Requirements, Setup and FeaturesLet’s talk Retain – Requirements, Setup and Features
Let’s talk Retain – Requirements, Setup and Features
GWAVA
 
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomiApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
Serge Huber
 
aask
aaskaask
The Rough Guide to MongoDB
The Rough Guide to MongoDBThe Rough Guide to MongoDB
The Rough Guide to MongoDB
Simeon Simeonov
 

Similar to Magento 2 performance comparison in different environments by Yaroslav Rogoza from Atwix (20)

OSMC 2012 | Icinga by Icinga Team
OSMC 2012 | Icinga by Icinga TeamOSMC 2012 | Icinga by Icinga Team
OSMC 2012 | Icinga by Icinga Team
 
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
A Look at the Performance of SAP UI Technologies - UXP212 at SAP TechEd && d-...
 
OSMC 2011 | Neues von Icinga by Icinga Team
OSMC 2011 | Neues von Icinga by Icinga TeamOSMC 2011 | Neues von Icinga by Icinga Team
OSMC 2011 | Neues von Icinga by Icinga Team
 
Django oscar introduction
Django oscar introductionDjango oscar introduction
Django oscar introduction
 
Introducing SciaaS @ Sanger
Introducing SciaaS @ SangerIntroducing SciaaS @ Sanger
Introducing SciaaS @ Sanger
 
SAP TechEd 2016 Barcelona TEC123 Session Presentation
SAP TechEd 2016 Barcelona TEC123 Session PresentationSAP TechEd 2016 Barcelona TEC123 Session Presentation
SAP TechEd 2016 Barcelona TEC123 Session Presentation
 
GDI Seattle - Intermediate HTML and CSS Class 3 Slides
GDI Seattle - Intermediate HTML and CSS Class 3 SlidesGDI Seattle - Intermediate HTML and CSS Class 3 Slides
GDI Seattle - Intermediate HTML and CSS Class 3 Slides
 
Tabular Data Stream: The Binding Between Client and SAP ASE
Tabular Data Stream: The Binding Between Client and SAP ASETabular Data Stream: The Binding Between Client and SAP ASE
Tabular Data Stream: The Binding Between Client and SAP ASE
 
Azure for Data Platform
Azure for Data PlatformAzure for Data Platform
Azure for Data Platform
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I started
 
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
Varnish and Drupal- Accelerating Website Performance and Flexibility with Var...
 
Apache Solr Changes the Way You Build Sites
Apache Solr Changes the Way You Build SitesApache Solr Changes the Way You Build Sites
Apache Solr Changes the Way You Build Sites
 
Kaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overviewKaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overview
 
Kaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overviewKaldeera Tools for SharePoint - overview
Kaldeera Tools for SharePoint - overview
 
LavaCon 2017 - Static Site Generators are the Game Changers
LavaCon 2017 - Static Site Generators are the Game ChangersLavaCon 2017 - Static Site Generators are the Game Changers
LavaCon 2017 - Static Site Generators are the Game Changers
 
自律型データベース Oracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
自律型データベースOracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)自律型データベースOracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
自律型データベース Oracle Autonomous Database 最新情報(Oracle Cloudウェビナーシリーズ: 2020年8月6日)
 
Let’s talk Retain – Requirements, Setup and Features
Let’s talk Retain – Requirements, Setup and FeaturesLet’s talk Retain – Requirements, Setup and Features
Let’s talk Retain – Requirements, Setup and Features
 
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomiApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
ApacheCon NA 2019 : Customer segmentation and personalization using apache unomi
 
aask
aaskaask
aask
 
The Rough Guide to MongoDB
The Rough Guide to MongoDBThe Rough Guide to MongoDB
The Rough Guide to MongoDB
 

More from Atwix

Igor Miniailo - Magento 2 API Design Best Practices
Igor Miniailo - Magento 2 API Design Best PracticesIgor Miniailo - Magento 2 API Design Best Practices
Igor Miniailo - Magento 2 API Design Best Practices
Atwix
 
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
Atwix
 
Yaroslav Rogoza - Development Environment: Local or Remote?
Yaroslav Rogoza - Development Environment: Local or Remote?Yaroslav Rogoza - Development Environment: Local or Remote?
Yaroslav Rogoza - Development Environment: Local or Remote?
Atwix
 
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
Atwix
 
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
Atwix
 
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
Atwix
 
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
Atwix
 
Владимир Дубина - Meet Magento Ukraine - Data consistency
Владимир Дубина - Meet Magento Ukraine - Data consistencyВладимир Дубина - Meet Magento Ukraine - Data consistency
Владимир Дубина - Meet Magento Ukraine - Data consistency
Atwix
 
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
Atwix
 
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в MagentoСергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
Atwix
 
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Макс Екатериненко - Meet Magento Ukraine - Magento 2 OverviewМакс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Atwix
 
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещейАлександр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
Atwix
 
Антон Капля - Meet Magento Ukraine - Кодогенератор в Magento
Антон Капля - Meet Magento Ukraine - Кодогенератор в MagentoАнтон Капля - Meet Magento Ukraine - Кодогенератор в Magento
Антон Капля - Meet Magento Ukraine - Кодогенератор в Magento
Atwix
 
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possibleАнатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Atwix
 
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
Atwix
 
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
Atwix
 
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
Atwix
 
Александр Колб - Meet Magento Ukraine - психология потребления онлайн
Александр Колб - Meet Magento Ukraine - психология потребления онлайнАлександр Колб - Meet Magento Ukraine - психология потребления онлайн
Александр Колб - Meet Magento Ukraine - психология потребления онлайн
Atwix
 
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с MagentoЕлена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
Atwix
 
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
Atwix
 

More from Atwix (20)

Igor Miniailo - Magento 2 API Design Best Practices
Igor Miniailo - Magento 2 API Design Best PracticesIgor Miniailo - Magento 2 API Design Best Practices
Igor Miniailo - Magento 2 API Design Best Practices
 
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
Valeriy Nayda - Best Practices in Magento 2. Based on Multi Source Inventory ...
 
Yaroslav Rogoza - Development Environment: Local or Remote?
Yaroslav Rogoza - Development Environment: Local or Remote?Yaroslav Rogoza - Development Environment: Local or Remote?
Yaroslav Rogoza - Development Environment: Local or Remote?
 
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
Viacheslav Kravchuk. Working as a distributed company. Our journey. Meet Mage...
 
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
Сергей Иващенко - Meet Magento Ukraine - Цены в Magento 2
 
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
Александр Смага, Юрий Муратов - Meet Magento Ukraine - Технический обзор OroCRM
 
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
Иван Чепурный - Meet Magento Ukraine - Varnish Cache and its usage in the rea...
 
Владимир Дубина - Meet Magento Ukraine - Data consistency
Владимир Дубина - Meet Magento Ukraine - Data consistencyВладимир Дубина - Meet Magento Ukraine - Data consistency
Владимир Дубина - Meet Magento Ukraine - Data consistency
 
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
Андрей Самиляк - Meet Magento Ukraine - Как мы играли в DevOps и как получилс...
 
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в MagentoСергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
Сергей Кибиткин - Meet Magento Ukraine - Что вы никогда не сделаете в Magento
 
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Макс Екатериненко - Meet Magento Ukraine - Magento 2 OverviewМакс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
 
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещейАлександр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
Александр Каранда - Meet Magento Ukraine - Реальность нереальных вещей
 
Антон Капля - Meet Magento Ukraine - Кодогенератор в Magento
Антон Капля - Meet Magento Ukraine - Кодогенератор в MagentoАнтон Капля - Meet Magento Ukraine - Кодогенератор в Magento
Антон Капля - Meet Magento Ukraine - Кодогенератор в Magento
 
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possibleАнатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
 
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
Артем Кузнецов - Meet Magento Ukraine - инструменты для отдела поддержки, опы...
 
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
Александр Стельмах - Meet Magento Ukraine - Прибыльная e-mail рассылка за 5 ш...
 
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
Владимир Галика - Meet Magento Ukraine - Чудесный Новый Мир – почему продвиже...
 
Александр Колб - Meet Magento Ukraine - психология потребления онлайн
Александр Колб - Meet Magento Ukraine - психология потребления онлайнАлександр Колб - Meet Magento Ukraine - психология потребления онлайн
Александр Колб - Meet Magento Ukraine - психология потребления онлайн
 
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с MagentoЕлена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
Елена Леонова - Meet Magento Ukraine - Трасформация в e-commerce с Magento
 
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
Thomas Fleck - Meet Magento Ukraine - How Magento and open source change the ...
 

Recently uploaded

20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
rajancomputerfbd
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
ScyllaDB
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
Toru Tamaki
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 

Recently uploaded (20)

20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 

Magento 2 performance comparison in different environments by Yaroslav Rogoza from Atwix

  • 1. Sample Title DevelopersParadise 2016 / Opatija / Croatia Magento 2 performance comparison in different environments
  • 2. DevelopersParadise 2016 / Opatija / Croatia Hardware configuration and software • Gatling • Docker • M2 Custom Sample Data generator Tools used in benchmark: Hardware configuration: • Intel® Core™ i7-6700, 64 GB DDR4 RAM, 2 x 250 GB SATA 6 Gb/s SSD • Intel® Core™ i7-6700, 64 GB DDR4 RAM, 2 TB SATA 4 Gb/s Enterprise Hard Drive
  • 3. DevelopersParadise 2016 / Opatija / Croatia Yaroslav Rogoza CTO - Atwix
  • 4. DevelopersParadise 2016 / Opatija / Croatia Fixing a bad (slow) code Software tweaks Hardware changes
  • 5. DevelopersParadise 2016 / Opatija / Croatia Bad code <?php $giftcardProducts = Mage::getModel("catalog/product")- >getCollection();
 foreach ($giftcardProducts as $giftProduct) {
 $product = Mage::getModel("catalog/product")- >load($giftProduct->getId()); ?>
 . . .
  • 6. DevelopersParadise 2016 / Opatija / Croatia Software Tweaks [Here should be some funny picture]
  • 7. DevelopersParadise 2016 / Opatija / Croatia Emulation steps 1. Visit Home Page -> 2. Visit Woman Pants category -> 3. Visit Overnight Duffle product -> 4. Add to cart Overnight Duffle product -> 5. Search for “band” keyword -> 6. Go to login page -> 7. Log in -> 8. Go to My Account page
  • 8. DevelopersParadise 2016 / Opatija / Croatia Standard sample data, SSD Standard sample data:1 customer, 2k products, 40 categories Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading time (ms.) 0.00 1000.00 2000.00 3000.00 4000.00 1275 1207 418 3257 453 829 3834 1928
  • 9. DevelopersParadise 2016 / Opatija / Croatia Bottlenecks • Configurable::getUsedProducts • Configurable::getConfigurableAttributes • ConfigurableAttributeCollection::_afterLoad
  • 10. DevelopersParadise 2016 / Opatija / Croatia Standard sample data, SSD Standard sample data:1 customer, 2k products, 40 categories Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading time (ms.) 0.00 1000.00 2000.00 3000.00 4000.00 1275 1207 418 3257 453 829 3834 1928
  • 11. DevelopersParadise 2016 / Opatija / Croatia Standard sample data, HDD Standard sample data:1 customer, 2k products, 40 categories Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1275 1207 418 3257 453 829 3834 1928 1293 1489 470 3618 599 1278 4446 1970 HDD SSD
  • 12. DevelopersParadise 2016 / Opatija / Croatia Standard sample data, SSD Standard sample data:1 customer, 2k products, 40 categories Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading time (ms.) 0.00 1000.00 2000.00 3000.00 4000.00 1275 1207 418 3257 453 829 3834 1928
  • 13. DevelopersParadise 2016 / Opatija / Croatia Standard sample data + additional customers 2k products, 40 categories, 400k customers Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1000 2000 3000 4000 1275 1207 418 3257 453 829 3834 1928 1392 1350 422 3260 470 830 3837 1933 400k customers 1 customer
  • 14. DevelopersParadise 2016 / Opatija / Croatia Many customers + Redis backend cache 2k products, 40 categories, 400k customers + Redis as backend cache storage Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1000 2000 3000 4000 1396 1349 421 3477 469 956 3955 1915 1392 1350 422 3475 470 953 3970 1933 Disk Redis
  • 15. DevelopersParadise 2016 / Opatija / Croatia Many customers + many products 600k products, 40 categories, 400k customers Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1392 1350 422 3475 470 953 3970 1933 1396 1347 426 4132 521 1002 4943 2013 400k customers 1 customer
  • 16. DevelopersParadise 2016 / Opatija / Croatia Many customers and products + Redis 600k products, 40 categories, 400k customers + Redis as backend cache storage Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1392 1349 422 4129 524 996 4951 1997 1396 1347 426 4132 521 1002 4943 2013 Disk Redis
  • 17. DevelopersParadise 2016 / Opatija / Croatia Many customers and products, disk cache 600k products, 40 categories, 400k customers + disk cache clean and warmed up Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1500 3000 4500 6000 1392 1349 422 4129 524 996 4951 1997 1436 1355 448 4218 522 1194 5161 2107 Warmed Up Clean
  • 18. DevelopersParadise 2016 / Opatija / Croatia Many customers and products, Redis cache 600k products, 40 categories, 400k customers + Redis and disc cache warmed up Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1500 3000 4500 6000 1391 1352 421 4127 523 998 4951 1998 1436 1355 448 4218 522 1194 5161 2107 Disk Redis
  • 19. DevelopersParadise 2016 / Opatija / Croatia Many customers and products, MariaDB 600k products, 40 categories, 400k customers + MariaDB as DB engine Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1391 1352 421 4127 523 998 4951 1998 1391 1362 422 4120 511 987 3112 1994 MariaDB MySQL
  • 20. DevelopersParadise 2016 / Opatija / Croatia What else?
  • 21. DevelopersParadise 2016 / Opatija / Croatia Many customers and products, DB replication 600k products, 40 categories, 400k customers + database replication Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1391 1352 421 4127 523 998 4951 1998 1383 1339 421 4133 509 1001 4946 1996 Replication No Replication
  • 22. DevelopersParadise 2016 / Opatija / Croatia What else? PHP7!
  • 23. DevelopersParadise 2016 / Opatija / Croatia Many customers and products, PHP 7.0 Home Page Woman Pants category Overnight Duffle product Add to cart request Search for 'Band' User log in page User log in process My Account page Loading Time (ms.) 0 1250 2500 3750 5000 1391 1352 421 4127 523 998 4951 1998 803 816 288 2984 313 560 4192 1515 PHP 7 PHP 5.6
  • 24. DevelopersParadise 2016 / Opatija / Croatia Links • Gatling scenario https://github.com/Atwix/gatling-m2- benchmark • M2 sample data generator https://github.com/Atwix/m2- sampledata-generator
  • 25. DevelopersParadise 2016 / Opatija / Croatia Thank You! @rogyar enarc@atwix.com