Asynchronous Awesome – Task Management in PHP

 8 years ago 5,957 views
Presented by Eric Mann ( @ericmann )

Presented on March 24, 2016

Sometimes, our use of PHP grows beyond the typical request/response cycle of dynamic page generation. Unfortunately, the threaded nature of PHP – and the stateless nature of the server – betrays any efforts to expand our utilization of the server. Image processing, video rendering, APNS (Apple Push Notification Service) integration – any of these can easily take longer than is reasonable for a simple page request.

Enter tools like Gearman that empower daemonized PHP workers to handle data processing in the background and Icicle for JavaScript-style asynchronous code execution. PHP isn’t multi-threaded, but that doesn’t mean you’re limited to a single-thread paradigm. I will demonstrate various use cases necessitating asynchronous operations, then delve into the code and the tools that make these systems work. Every attendee will leave armed with new ways to think about the management of large data jobs in PHP and an understanding of the tools they can use to make it happen.
Tags: Asynchronous

SPONSORS

SPONSORS

PHP Tutorials and Videos
No comments found.

SPONSORS

PHP Tutorials and Videos