Talk by Jonathan Oxer at Open Source Developers Conference 2004 about writing high-performance and scalable PHP applications. Originally presented 2004-12-02. More information at http://jon.oxer.com.au/talks/id/11
1. PHP On Steroids:
High Performance PHP
“It's code, Jim, but not
as we know it”
Jonathan Oxer
August 5th, 2004
Open Source Developers Conference
Melbourne, Australia
2. When To Optimise
Jon's 3 Laws Of Robotics Optimisation
1. Don't pre-emptively optimise – only do it when you need
to in order to reach defined performance goals. Optimised
code is (often) obfuscated code.
2. Don't guess which sections of your code need to be
optimised. Measure with profiling tools such as APD or
Xdebug, and run server benchmark tools with real data to
give you hard figures.
3. Optimisation is a game of diminishing returns: go for the
low-hanging fruit and keep going until it's “fast enough”.
PHP On Steroids Jonathan Oxer