ZF2 Optimize for high traffic

后端 未结 5 674
清酒与你
清酒与你 2020-12-12 15:17

My ZF2 application seems to be extremely slow when more than 3 users are using it at the same time.

I profile my code with xdebug and webgrind and non of my function

5条回答
  •  清歌不尽
    2020-12-12 15:40

    All of the above and using some kind of opcode caching like APC / Opcache it will speed things up. But yes ZF 2 seems to be very slow unfortunately even more slow then ZF 1 :(

    Also the module config cache speeds things up, you cannot have any closures though to make this working ;)

    http://hounddog.github.io/blog/performance-in-zend-framework-2/

提交回复
热议问题