PHPNW12: Don’t reboot, debug!

Some notes from Joshua Thijssen’s talk, which focussed on the knowledge and methods needed to deal with problems in production in a measured way. I was at the back of the room, and some of this is outside my wheelhouse, but here’s the notes; just bear in mind I might have either misheard or misunderstood stuff and feel free to correct me in the comments.

Deal with the problem now. Don’t reboot. Don’t reboot your system every night on a Cron job to solve a slowdown! Listen to your problems, sort them out and save yourself some future pain.

If you’re rebooting every night to solve some system slowdown, but your visitors suddenly increase 200% then you’re now rebooting at night AND at lunchtime. Not good. Not sustainable.

Continue reading PHPNW12: Don’t reboot, debug!

Staggering onwards is not good

For animals, pain is a signal that something is wrong and it needs fixing. If pain didn’t exist we’d all be accidentally leaving our hand on the burning gas hob, or on the electric bar fire and wondering about the burning smell long after we’d been injured. We want to know when something isn’t right, and we want to know as quickly and “loudly” as possible.

Writing (programming) a web application is similar. Continue reading Staggering onwards is not good