Producer/Consumer Programming


Edward Barnard
Company: Self

When: Thu Sep 20 :: 03:00 PM - 03:50 PM
Location: La Jolla
Type: regular
Level: entry
Category: development

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.