Producer/Consumer programming is a great technique for offloading work from your main application. You can scale resources to meet increased demand. You can "smooth out" spikes by placing your backlog in a queue. You can set aside long-running tasks such as thumbnail generation. We'll develop a simple CakePHP application that produces and consumes via a free CloudAMQP (RabbitMQ) account. Although we use CakePHP, the principles are universal to any modern PHP framework.


Comments are closed.

Andy Snell at 10:53 on 22 Sep 2018

A really focused talk on a problem, a technique, and a technology. I really appreciated the live pen annotation on the slides to highlight concepts -- much better than a laser pointer.