s4 magento & zend server - php web application server - php
TRANSCRIPT
![Page 1: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/1.jpg)
© All rights reserved. Zend Technologies, Inc.
S4
Magento & Zend Server
Jan Burkl
Senior Solution Consultant
Zend Technologies
![Page 2: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/2.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 3: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/3.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 4: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/4.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 5: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/5.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 6: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/6.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 7: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/7.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 8: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/8.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 9: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/9.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 10: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/10.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 11: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/11.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 12: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/12.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 13: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/13.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 14: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/14.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 15: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/15.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 16: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/16.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 17: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/17.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 18: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/18.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 19: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/19.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 20: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/20.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 21: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/21.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 22: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/22.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 23: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/23.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 24: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/24.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 25: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/25.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 26: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/26.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 27: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/27.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 28: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/28.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 29: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/29.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 30: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/30.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 31: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/31.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 32: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/32.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 33: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/33.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 34: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/34.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 35: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/35.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 36: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/36.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 37: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/37.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 38: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/38.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 39: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/39.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 40: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/40.jpg)
© All rights reserved. Zend Technologies, Inc.
Performance improvements summary 1/2
• Optimizer+ (ByteCode Cache)
Disable file change check
Increase zend_optimizerplus.max_accelerated_files to 8000
• 5258 php files in Magento
• 2379 php files in Zend Framework
• Data Cache
Modify app/etc/local.xml
• <cache><backend>Zend_Cache_Backend_ZendServer_ShMem</backend></cache>
![Page 41: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/41.jpg)
© All rights reserved. Zend Technologies, Inc.
Performance improvements summary 2/2
• Page Cache
Zend Server: Rule Management | Caching
Cache Start Page
$_SESSION['core']['visitor_data']['quote_id'] doesn‘t exists
• Job Queue / Asynchronous task
Run cron.php periodically
Zend Server: Rule Management | Recurring Jobs
![Page 42: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/42.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 43: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/43.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 44: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/44.jpg)
© All rights reserved. Zend Technologies, Inc.
• Code Deployment
• Config Deployment
• Zend Server Web API
Restful Service
![Page 45: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/45.jpg)
© All rights reserved. Zend Technologies, Inc.
![Page 46: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/46.jpg)
© All rights reserved. Zend Technologies, Inc.
ab -n 500 -c 10 http://magento.staging/
Default setup Optimizer+
Data Cache
Page Cache
Requests per
second 5.77 13.08 76.88
Time per
request (s) 1732.88 764.82 130.07
Transfer rate
(Kbytes/s) 132.39 299.96 1763.15
ApacheBench
![Page 47: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/47.jpg)
© All rights reserved. Zend Technologies, Inc.
Jmeter – 10 Threads, 100 Loops, 3 pages
![Page 48: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/48.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 49: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/49.jpg)
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
![Page 50: S4 Magento & Zend Server - PHP Web Application Server - PHP](https://reader031.vdocuments.net/reader031/viewer/2022021010/6203b386da24ad121e4c7679/html5/thumbnails/50.jpg)
© All rights reserved. Zend Technologies, Inc.