 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Brian Deshong: Top Ten List + CoderFaire Atlanta 2013
by Chris Cornutt April 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.
voice your opinion now!
topten coderfaire conference performance tuning presentation atlanta
PHPMaster.com: Speeding Up Your CakePHP Websites
by Chris Cornutt October 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.
voice your opinion now!
cakephp website optimize performance tuning tips
Leaseweb Labs Blog: Tuning Zend framework and Doctrine
by Chris Cornutt July 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.
voice your opinion now!
tuning zendframework doctrine tutorial model structure
Brian Swan's Blog: Performance Tuning PHP Apps on Windows/IIS with Output Caching
by Chris Cornutt June 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.
voice your opinion now!
performance tuning cache windows iis tutorial
Bollysite Blog: PHP xcache performance tuning tutorial on Lighttpd
by Chris Cornutt August 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.
voice your opinion now!
xcache scale performance tuning lighttpd
Mike Willbanks' Blog: Performance Tuning Overview
by Chris Cornutt January 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)
voice your opinion now!
performance tuning http rdbms server cache compress
Internet Super Hero: 59 tuning screws for mysqlnd
by Chris Cornutt September 13, 2007 @ 07:50:34
The Internet Super Hero blog has posted 59 statistics they've generated while they were sting the latest versions of the mysqlnd (native driver) in PHP:
59 - that is the number of statistics collected by mysqlnd. When I started writing this blog post, I hoped it would be easy going describing them. But it wasn't. Some ten days ago, we've had 51 statistics and near zero tests for them. Now we have 59 statistics. And, in a certain way, every figure is a tuning screw in the hand of one who knows what they do.
The list of stats presented include functionality for:
- buffered_sets, ps_buffered_sets
- rows_buffered_from_client_normal, rows_buffered_from_client_ps
- rows_fetched_from_client_ps_buffered
- unbuffered_sets, ps_unbuffered_sets
- rows_fetched_from_client_ps_unbuffered
- flushed_normal_sets, flushed_ps_sets
Check out the rest of the post for the numbers and results (as well as some images showing the difference between buffered and unbuffered results).
voice your opinion now!
tuning screw mysqlnd nativedriver performance statistics tuning screw mysqlnd nativedriver performance statistics
|
Community Events
Don't see your event here? Let us know!
|