![Page 1: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/1.jpg)
Zend Framework Optimization
![Page 2: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/2.jpg)
Тестовый стенд
● Большая статья● Много маленьких комментариев● Приложение создано с помощью Zend
Tool
![Page 3: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/3.jpg)
Выполнение главной страницы - 142
![Page 4: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/4.jpg)
Выполнение страницы с комментариями - 152
![Page 5: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/5.jpg)
Новый autoloader
![Page 6: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/6.jpg)
Никаких плагинов в Application
● Не работает автолоадер● Сложная логика для загрузки● Не работает ленивая загрузка
![Page 7: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/7.jpg)
Bootsrap
● Никаких модулей● Ленивая загрузка ресурсов● Кеширование plugins
![Page 8: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/8.jpg)
Кеширование конфига
![Page 9: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/9.jpg)
No Zend_Table!
● Слишком много операций● Легко заменить простыми DAO классами
![Page 10: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/10.jpg)
Оптимизированная главная страница - 48
![Page 11: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/11.jpg)
Оптимизированная страница с комментариями - 56
![Page 12: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/12.jpg)
Zend -> Yaf
● код на C ● API почти совместим с Zend MVC
![Page 13: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/13.jpg)
Главная страница Yaf - 2 мс
![Page 14: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/14.jpg)
Страница с комментариями - 15 мс
![Page 15: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/15.jpg)
True FastCGI● один Bootstrap!● phpDaemon● no php-fpm
![Page 16: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/16.jpg)
Кеширование блоками
● nginx - ssi● Varnish - esi:include● Akamai - esi:include
![Page 17: Andrew Stepanov, Epam Systems "Zend Framework Projects Optimization by Andrew Stephanoff (Epam Systems)"](https://reader036.vdocuments.pub/reader036/viewer/2022082410/5492da71ac7959222e8b4731/html5/thumbnails/17.jpg)
Тестовые приложения
● https://svnmsq.epam.com/mtv-esup/zf-sample
● https://svnmsq.epam.com/mtv-esup/zf-sample-optimized
● https://svnmsq.epam.com/mtv-esup/yaf-sample