Architecting PHP Code for Cloud Scaling

Location: D137
Average rating: ****.
(4.33, 6 ratings)

In building the PHP Fog system I discovered some things about what it takes to get reliability and scalability from a PHP app on Amazon AWS. In this talk I want to take you through:

Basics – what a Public cloud (AWS, Rackspace Cloud, Linode etc) is and what the different options imply for the PHP programmer.

Code Structure – A cloud is different from dedicated hosting. Embrace the differences and design for them for best performance

Databases and Strategy – Everyone says it is hard and can’t be done. It can and there are some simple strategies to get there.

Scalability and Failover – How to take advantage of the cloud. I will show you the hard way and the easy way.

The aim of the session is to cast away any myths and to fully brief the intermediate programmer on what is needed to optimize a PHP application for the Cloud

This will be a short punchy talk with practical takeaways for the PHP Programmer / Dev Ops person attending OSCON. Bring a notepad!

Photo of Lucas Carlson

Lucas Carlson


Lucas Carlson is a professional Ruby programmer who specializes in Rails web development. He has authored a half dozen libraries and contributed to various others including Rails and RedCloth. He lives in Portland, Oregon and maintains a website at

Rein Henrichs


Rein fell in love with Ruby at first sight, captivated by the beauty and elegance of the language, the simplicity of its design, and the communicativeness of its syntax. He currently works at Hashrocket, sharing his love of Ruby and crafting amazing websites with awesome teammates for a bunch of wonderful clients. He also loves guitar, piano and kittens.

Comments on this page are now closed.


Picture of Gauthier de Valensart
Gauthier de Valensart
08/15/2011 9:35pm PDT

Is there any way to get your Oscon 2011 presentation slides?

Thank you

Bryan Davis
07/28/2011 4:24pm PDT

Rather than what the abstract promised, an overview of cloud based challenges and solutions, this was a bog standard rundown of basic website scaling techniques. There was little truly php specific content and basically no cloud platform discussion.