84vhkw
Last Updated: February 25, 2016
·
916
· gjerokrsteski
F8c4fdde8545731ac4a77b52e4896595

Core principles to make performant PHP applications

Some core principles for 2013/2014 to performant PHP applications:

  1. Upgrade to PHP 5.5 with Zend OpCache or APC using PHP-PFM + Nginx
  2. Stay up to date with your framework + dependencies (using Composer)
  3. Optimize your session store to use signed cookies or database with caching
  4. Cache your database and web service access with Memcache, DBA or Redis
  5. Do blocking work in the background with queues and tasks using Resque or Gearman
  6. Use HTTP caching and a reverse proxy cache like Varnish
  7. Profile code with Xdebug + Webgrind and monitor production performance
Say Thanks
Respond

2 Responses
Add your response

13390
D42a7264714dee5006b9c99d2567a320

Some more guidance on how to upgrade one's existing code and practices to the ones you listed would be super helpful :)

over 1 year ago ·
13526
F8c4fdde8545731ac4a77b52e4896595

I would warmly suggest you this page http://www.phptherightway.com. There you can read about all above mentioned topics ;-)

over 1 year ago ·