PHP has outgrown being a simple Apache module, being used on the command line not just for development tools but also in production.

Long-running PHP processes may live for hours or days consuming messages from queues or background jobs to execute; this talk will guide you through several years of tweaks to make them reliable and performant.

There are many things that can go wrong when leaving a PHP process around on your servers, but it is possible to solve the problems of crashing, memory leaks, interruptions, lost logs, or monitoring. The goal of having smooth operations has to be kept in mind - scaling your servers and traffic without scaling the people needed to look after them.

Comments

Comments are closed.

A bit monologue and could be a bit more advanced. Maybe add a bit more humor.

Max Roeleveld at 15:21 on 30 Jun 2017

Decent overview of long running processes, the advantages and pitfalls - on Linux. Didn't learn anything new, but getting a confirmation that we were actually on the right track is nice, too.

Erwin Deckers at 15:29 on 30 Jun 2017

Needs a solution for long running talks.

Youri Thielen at 20:39 on 30 Jun 2017

Great content, explained very well and succinctly.

Marc at 15:46 on 1 Jul 2017

Aside of the useful tools and tips this was a long boring talk and very low in energy. The tone of the voice was not helping either as it was monologue.
That said i knew allot of it already but still is a nice refresh of the memory.

Bas at 11:14 on 2 Jul 2017

I was hoping on a more in depth talk. Try to surprise us a least once in your next talk.

Martijn at 08:45 on 3 Jul 2017

The talk itself had potential, would have loved to see more examples of configuring the long running processes in upstart / systemd.

On the speaker itself, I agree with some of the earlier comments, the monotone way of talking did not help to bring your message home. Adding a bit more humor and variation of timbre would have helped giving more impact on the talk itself.

I love the topic, but I didn't enjoy this talk. I think the biggest problem I had with it was that it felt more like a collection of smaller talks (with topics more interestingly expressed than the theme of the talk) than one cohesive talk. If, for example, the talk had _only_ been about PCNTL – where you build a non-trivial script with it, and use signals – then it would have been fantastic. Or...if you had approached each section of the talk (how to use PCNTL, things to watch out for etc) by building one large project throughout; then I think it would also have been better.

We all have good days and bad days. I don't think this presentation was one of the good days, but I completely understand how nerves can play a role in determining this. I'm sure it will be better next time!

The topic is great, yet there are some really bad practises if you ask me in the talk. For example having PHP able to allocate all the system memory and then checking it in-line is not really great in my opinion. Also all the content was already on the slides, it felt more that someone was reading from a book.

Ben Dechrai at 03:21 on 5 Jul 2017

Giorgio's talk on long running processes had quite a collection of information, which was useful, but seemed somewhat disjointed in its delivery. I would have preferred to see a few more examples, perhaps a demo.

Giorgio, you seemed a little nervous during this talk, and I know we've all been there. Keep giving the talk, refining, and practising. Good luck :)