Building PHP Daemons & Long Running Processes

Tim

Tim Lytle
@tjlytle
Company: PhoneBurner, timlytle.net

When: Wed Sep 19 :: 09:00 AM - 12:00 PM
Location: Torrey Pines
Type: training
Level: mid
Category: development

In this hands on workshop, you'll learn how to stop abusing cron, and easily daemonize a php script that responds responsibly to process signals. There are things you don't want to, or can't do inside a web request. It could be a task that needs to be retired if it fails, maybe one that takes a significantly long time to process, or multiple jobs that need to be processed over time. Whether you're sending an email, processing a video, or consuming Twitter's streaming API - you should be using a separate process, and probably a daemon.