s4 magento & zend server - php web application server - php
TRANSCRIPT
© All rights reserved. Zend Technologies, Inc.
S4
Magento & Zend Server
Jan Burkl
Senior Solution Consultant
Zend Technologies
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
© 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>
© 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
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
• Code Deployment
• Config Deployment
• Zend Server Web API
Restful Service
© All rights reserved. Zend Technologies, Inc.
© 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
© All rights reserved. Zend Technologies, Inc.
Jmeter – 10 Threads, 100 Loops, 3 pages
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
Development Staging
Production
http://zenddach.my.phpcloud.com/magento
http://magento.staging
http://magento.live
© All rights reserved. Zend Technologies, Inc.
© All rights reserved. Zend Technologies, Inc.
Thank you! [email protected]