News Feed
Sections




News Archive
feed this:

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

John Lim's Blog:
Updated Optimizing PHP Article
November 06, 2009 @ 09:34:18

John Lim has updated his Optimizing PHP article with some new tips on caching data:

In this chapter, we explain why optimizing PHP involves many factors which are not code related, and why tuning PHP requires an understanding of how PHP performs in relation to all the other subsystems on your server, and then identifying bottlenecks caused by these subsystems and fixing them. We also cover how to tune and optimize your PHP scripts so they run even faster.

The article talks about true high performance, some of the bottlenecks that can keep you from it, tuning your Apache/IIS web server, tips on caching and some ways you can benchmark your application to figure out the best configuration for you.

0 comments voice your opinion now!
optimize benchmark configure bottleneck


Antony Dovgal's Blog:
locating bottlenecks in PHP code with Pinba
May 05, 2009 @ 08:47:21

Antony Dovgal has announced a tool that can help you find out where issues are in your code - specifically places where too much work is being done and gumming up the works. The Pinba statistics server for PHP that gathers UDP data from the PHP processes and makes it available for parsing/graphing.

What is it? It's a daemon gathering information sent by PHP processes by UDP. In the same time Pinba acts as a read-only storage engine for MySQL, so you can use good ol' SQL to access the data. [...] There is no need to store that information for further analysis, therefore Pinba doesn't actually store the data - it keeps it only for 15 minutes (you can change that, of course), which is more than enough to update graphs.

You can find out more about the project on its (wiki) site including links to the latest downloads (version 0.0.3 at the time of this post).

0 comments voice your opinion now!
bottleneck pinba statistics server mysql storage engine report graph


Brandon Savage's Blog:
Scaling Up Baby Steps (a.k.a. Asking The Right Questions)
February 16, 2009 @ 10:29:10

In this new post to his (newly WordPress-ed) blog Brandon Savage looks at a consideration most developers think of too late and when their applications are already starting to bulge around the edges - scalability. It's the first part of this series.

Before we actually get started hacking on our code, let's make sure we've got the right questions asked and answered. We're going to need some resources, the help of others in our organization, and probably some understanding of the current system structure before we're successful in our goal. Some of these questions may seem mundane, and others will be extremely important. But we must ask and receive answers to all of them, so let's get started.

The questions touch on the topics of bottleneck sources, why scalability of the application is needed and what other services are out there that could do what I need without having to roll my own.

0 comments voice your opinion now!
scaling application question bottleneck reason service answer


Sebastian Bergmann's Blog:
Profiling and Optimizing PHPUnit
October 23, 2007 @ 07:54:00

Sebastian Bergmann has posted about a bottle neck in the PHPUnit unit testing software for PHP:

Now that collecting code coverage information is not slow anymore (as of Xdebug 2.0.1), PHPUnit's report generation code (PHPUnit_Util_Report_*) has become a bottleneck.

There are several images included in the post (output of KCachegrind):

0 comments voice your opinion now!
phpunit xdebug bottleneck generate report kcachegrind phpunit xdebug bottleneck generate report kcachegrind


Andi Gutmans' Blog:
PHP and Database Connection Pooling
October 25, 2006 @ 15:05:00

Hot on the heels of this announcement, Andi Gutmans has posted some of his thoughts on this new functionality and how it can help companies both large and small (he mentions specifically Yahoo! of course).

In my experience, databases have had a long history of being the typical bottleneck in PHP applications. There are many reasons for that.

His reasons include the fact that web apps being heavily database driven, PHP developers would rather write PHP than SQL, and that there's a lack of good, cheap tools to help find these bottlenecks. What he focuses on most, though, is the overhead caused by the need for multi-process environments to force each process to manage their own connections to the databse.

He talks about some stats on average connections and application speed, about efforts IBM has made to help the situation, and how it's not necessarily just the server's fault for delegating out the database resources - why can't they all adapt?

0 comments voice your opinion now!
database connection pooling oracle ibm bottleneck connection manage database connection pooling oracle ibm bottleneck connection manage



Community Events





Don't see your event here?
Let us know!


framework interview composer tool laravel version series security community podcast symfony introduction list voicesoftheelephpant package release language conference opinion library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework