Background Processing & Concurrency With PHP

By Matthew Schwartz

As our web applications grow in complexity we often find the need for background processing. Sending email blasts, transforming data sets, and other long-running tasks are not the kinds of things you want to do in a web request. In this article, we cover how to build long-running daemons and how to scale up our backend architectures with concurrency, all using PHP. With a little bit of planning and a queuing system, we can turn linear PHP scripts into multi-processor, multi-server powerhouses.

Read in Full

This article was originally published in the January 2018 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: