21 Comments
- legendxx, on 10/12/2007, -1/+6we also need people to stop hijacking the first comment
- umbrae, on 10/12/2007, -0/+5For those too lazy to read the slideshow, the various things that he used to speed it up were:
- disabling SSL in postgres
- turning on persistent connections in PHP's PDO
- switching to MySQL and using it's query caching
- disabling MySQL's internal prepare by using the PDO::ATTR_EMULATE_PREPARES attribute
- Using APC as an opcode cache to avoid repeated compiling
- Configuring APC to only use absolute paths, and setting apc.stat to 0 to avoid having to stat files
- Storing common variables in shared memory via APC
- Caching DB results via APC as well
- Removing unnecessary include files.
Cheers! - stinkypyper, on 10/12/2007, -1/+5At a conference I saw Rasmus Lerdorf, the creator of PHP, profile a simple application that executed about 10-20 times a second on a server and then using these tools make that same application and same server, along with a very few small changes, handle I think it was around 1700 hits a second. You would be very surprised what the bottlenecks where. Also, this article does no justice to the interface which on *nix or OS X looks pretty impressive.
- paulannesley, on 10/12/2007, -0/+3I found The PHP Anthology by Harry Fuecks most useful when I was getting started with OO PHP.
I should point out that I now work at SitePoint, the company that published these books, but I had not started working here when I read these books - this is just a personal recommendation. - paulannesley, on 10/12/2007, -0/+3I believe these are the slides from that talk: http://talks.php.net/show/lca07
Interesting stuff. - bigkm, on 10/12/2007, -0/+2this book is good for your first deal with objects
PHP 5 Objects, Patterns, and Practice
http://www.amazon.com/exec/obidos/ASIN/1590593804 - ThankTheCheese, on 10/12/2007, -1/+2OO PHP is something I have been wanting to learn for a while. I'm comfortable with 'regular' PHP, but not OO. Is it an easy enough transition? Does anyone have any site or book recommendations?
- paulannesley, on 10/12/2007, -0/+1I imagine these would be the same gains that APC can give, without the complexity of a different and non-open-source platform.
- bigkm, on 10/12/2007, -0/+1thanks for posting the link i thought i wrote it down when i seen the talk but lost it on the way back from sydney.
- Maascamp, on 10/12/2007, -0/+1If you already know PHP then the book Advanced PHP Programming by George Schlossnagle is an excellent resource.
- dostroyer, on 06/07/2008, -0/+0Great extension... :)
___________________________
http://www.anadolujet.gen.tr - reiter22, on 03/07/2009, -0/+0http://www.ofismarkartus.com/
- ugurcatak, on 02/16/2009, -0/+0good extension.
http://www.oyunlar2.org - oyuncambazi, on 12/26/2008, -0/+0Thanks nice.
http://www.oyuncambazi.com http://www.netgazetesi.com http://www.cicicocuk.com http://www.poyrazkartus.com - oyunaranet, on 10/02/2008, -0/+0thank you it is very good
http://www.oyunara.net http://www.oyunim.com http://www.oyunulkesi.net
http://www.bizimmekan.com http://www.oynatizle.com - mdonatas, on 10/12/2007, -2/+1And after tweaking the code, run it on an ASP.NET 2.0 based PHP engine. Gives 50% of execution performance gain alone.
http://www.php-compiler.net/doku.php - etng, on 10/12/2007, -1/+0good!
- inactive, on 10/12/2007, -2/+0Great extension... :)
- trghpy, on 10/12/2007, -6/+3What we need now is for someone to write an extention for eclipse.
Any volunteers? IBM? Google?


What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the