Tag: phpresque

Background jobs with php and resque: part 8, a glance at php-resque-ex

In all the previous part of this tutorial serie, we were using php-resque. But in some cases, this original library is not enough. Php-resque-ex is a fork of php-resque, and provides additional features. It has the same API as php-resque, and can replace it without problems.

Background jobs with php and resque: part 5, creating jobs

Now that you have some workers running, let’s feed them some jobs. In this part, we’ll try to understand what’s a job, and how to refactor your application to implement background jobs. What’s a job A job is a written order to tell the workers to execute a particular task. This order looks like: Mail, […]

Background jobs with php and resque: part 2, queue system

As said in part 1, a queue is needed to save the jobs. Worker will then poll this queue at a defined interval to execute these jobs.

PHP Resque with phpredis

In my quest of speed and performance, I wanted to implement a queue system in my PHP backed-end website, to defer non-essential tasks, such as logging, send notification/email, warming up cache etc … There’s already some good and popular messaging system like Gearman and rabbitMQ, and many others that’s written for java, ruby etc … […]