Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Deshong:
Top Ten List + CoderFaire Atlanta 2013
Apr 12, 2013 @ 12:27:50

Brian Deshong has a new post to his site sharing some of the content (videos) from his upcoming CoderFaire Atlanta (April 20th) talk about web application performance that he's learned over his years in development.

Back in March, I gave a new talk at Atlanta PHP: "Top Ten List: PHP and Web Application Performance". This talk is a culmination of my ~14 years of experience primarily as a web application developer, but also as a systems administrator / DevOps-type. After working with PHP and web applications for so many years, I have amassed quite a few tricks for squeezing maximum performance out of web applications, PHP or otherwise.

The tips are presented by various people from around the web development (and PHP) community and relate to things like:

  • Realpath cache settings
  • Using offline processing
  • Optimized queries
  • Gzipping responses
  • Caching everything
  • Using a content delivery network

If you'd like to see Brian present the full talk, there's still time to get your ticket for CoderFaire - they're only $50 USD for the two day event.

tagged: topten coderfaire conference performance tuning presentation atlanta

Link: http://www.deshong.net/2013/04/top-ten-list-coderfaire-atlanta-2013

PHPMaster.com:
Speeding Up Your CakePHP Websites
Oct 09, 2012 @ 10:08:19

PHPMaster.com has a new tutorial posted sharing a few helpful hints about speeding up CakePHP-driven sites to help squeeze the most performance out of your site.

By applying a few simple modifications, and even some more complex enhancements, CakePHP can be sped up quite a bit. By the time you work your way through even half of these changes, the performance of your your CakePHP site will be comparable to many other popular PHP frameworks, with the advantage that your development speed will never falter!

There's several tips in their list - some a bit more difficult to accomplish than others, but worth the results:

  • Upgrade CakePHP Versions
  • Disable Debug Mode
  • Disable Recursive Find Statements
  • Cache Query Results
  • Install Memory Based Caching
  • Removing Apache and Installing Nginx
  • Configure Nginx to use Memcached
  • Remove MySQL and Install Percona

For more information on the CakePHP framework, see the project's main site.

tagged: cakephp website optimize performance tuning tips

Link:

Leaseweb Labs Blog:
Tuning Zend framework and Doctrine
Jul 26, 2011 @ 12:35:03

On the Leaseweb Labs blog there's a recent post looking and some of the things you can do to optimize Zend Framework and Doctrine when used together for database access.

In principle, the combination of Zend Framework with Doctrine is not too difficult. But first let's talk about the preparations. According to the author of Zend Framework, the default file structure of project can be a bit more optimal.

They start by describing this optimized file structure (moving the models out of the modules and into the library) and what you'll need to change in Doctrine's configuration to make this work. The post also includes examples of what the larger config should look like when the changes are made. They show how to extend the default Doctrine CLI tool to make a custom "sandbox" instance and show some tuning you can do on the Zend Framework side so it can optimally work with the new models.

tagged: tuning zendframework doctrine tutorial model structure

Link:

Brian Swan's Blog:
Performance Tuning PHP Apps on Windows/IIS with Output Caching
Jun 09, 2011 @ 08:28:03

Brian Swan has a new post to his blog today showing you how to use caching for performance tuning on your Windows/IIS PHP application. He uses the IIS 7 output caching method instead of an external cacing tool or library.

The IIS output caching module allows you to configure IIS to cache dynamic pages generated by PHP. When a PHP page becomes "hot", the content of the page is cached so that is served without executing the script that generates it. [...] With the IIS Output Caching module you can cache all pages generated by PHP, vary what is cached by query string parameter value, or vary what is cached by header value.

He touches briefly on when he thinks you should use output caching for your applications since it can add extra overhead if it's not actually needed. He suggests turning it on when you have entire pages that don't change often and could benefit from just being displayed as-is. He shows how to enable the caching on IIS and includes some bits of code to show the results. There's a few other handy features he points out too like a file change notification and a configuration for a time interval caching rule.

tagged: performance tuning cache windows iis tutorial

Link:

Bollysite Blog:
PHP xcache performance tuning tutorial on Lighttpd
Aug 23, 2010 @ 10:14:00

In a new post to the Bollysite Blog there's a look at how to get better performance out of your Lighttpd web server with xcache.

A typical PHP application and most of the frameworks uses "The Loop" method to code the website. Whenever request comes to website, It's typically sent to index page to handle every parameters. [...] We can use xcache variables to store entire web page and serve it from RAM.

They include some basic benchmarks showing the impact that caching an have on a site as well as code that you can use to integrate their xcache library into your site. The library uses the XCache functionality to store the rendered output of the page for a default of three hours time.

tagged: xcache scale performance tuning lighttpd

Link:

Zend Developer Zone:
The ZendCon Sessions Episode 17: SQL Query Tuning: The Legend of Drunken Query
Apr 24, 2009 @ 11:13:13

The Zend Developer Zone has posted their seventeenth episode in the ZendCon Sessions podcast series today. This time it's Jay Pipes' MySQL-centric talk The Legend of Drunken Query Master.

The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. In this series we will be releasing regular sessions from ZendCon 2008 as we lead up to this year's ZendCon.

You can check out his slides as you listen to the episode either through the in-page player, downloading the mp3 directly or subscribing to the podcast's feed.

tagged: jaypipes zendcon session podcast drunken query master tuning sql mysql

Link:

Zend Developer Zone:
Zend Platform Performance Tuning on IBM i
Feb 19, 2009 @ 13:49:03

The Zend Developer Zone has a new article posted looking to help you squeeze the most performance you can out of the Zend Platform application from Zend on your IBM i machine.

Zend Platform on IBM I provides many benefits including monitoring and advanced debugging. One of the more confusing issues that customers face with Zend Platform on IBM i is the impact on development machines. Most will try out Zend Platform in a development environment or on a development LPAR.

There's three things they suggest to tweak to help you get the most out of Platform - code acceleration, dynamic content caching and code compression.

tagged: zend platform performance tuning ibmi ibm acceleration content cache compress

Link:

Mike Willbanks' Blog:
Performance Tuning Overview
Jan 31, 2008 @ 11:11:00

Mike Willbanks has posted an introduction he's written up giving some helpful hints at tuning your servers and PHP applications for performance.

The focus of this post is not to show performance related items to specific PHP frameworks since many bottlenecks actually apply before running the framework itself that should certainly be solved up front. Therefore in this posting I attempt to look at simple items that can be deployed in order to produce finer tuned systems.

He talks about a few different aspects:

  • PHP Performance Tuning (opcode caching, apc file priming, includes, loops, etc)
  • RDBMS Performance Tuning (indexes in queries, query caching, archiving)
  • HTTP Performance Tuning (content compression, css sprites, limit modules, etc)
tagged: performance tuning http rdbms server cache compress

Link:

Christopher Jones' Blog:
Oracle & PHP Users: don't miss the Zend Conference
Sep 21, 2007 @ 09:31:00

In a new post to his blog, Christopher Jones mentions some of the talks that he's going to give at the upcoming Zend/PHP Conference & Expo:

Oracle & PHP users: make sure you check out the Zend Conference. I'll be given a couple of sessions, "Connection Pooling & Other Features for Data Scaling" and "Performance Tuning for PHP with Oracle Databases". There are plenty of other great talks, too.

There's tons of other sessions happening during the conference including talks on:

  • best practices
  • enterprise PHP
  • the Zend Framework
  • API design

Check out the official conference page for information on location, other sessions and registration.

tagged: zendcon2007 oracle presentation connection pooling performance tuning zendcon2007 oracle presentation connection pooling performance tuning

Link:

Christopher Jones' Blog:
Oracle & PHP Users: don't miss the Zend Conference
Sep 21, 2007 @ 09:31:00

In a new post to his blog, Christopher Jones mentions some of the talks that he's going to give at the upcoming Zend/PHP Conference & Expo:

Oracle & PHP users: make sure you check out the Zend Conference. I'll be given a couple of sessions, "Connection Pooling & Other Features for Data Scaling" and "Performance Tuning for PHP with Oracle Databases". There are plenty of other great talks, too.

There's tons of other sessions happening during the conference including talks on:

  • best practices
  • enterprise PHP
  • the Zend Framework
  • API design

Check out the official conference page for information on location, other sessions and registration.

tagged: zendcon2007 oracle presentation connection pooling performance tuning zendcon2007 oracle presentation connection pooling performance tuning

Link: