Kamisama.me

Background jobs with php and resque: part 3, installation

As said in part 2, we’ll use php-resque for our queue system. In this part, I’ll explain how to install all the tools needed to run php-resque, a port of Resque. Resque (pronounced like “rescue”) is a Redis-backed library for creating background jobs, placing those jobs on multiple queues, and processing them later. Obviously, we’ll […]

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.

Background jobs with php and resque: part 1, introduction

Background jobs are jobs that are executed outside the main flow of your program, and usually handled by a queue system. This first tutorial of the serie will introduce what’s a background job and its importance. Part 1 : Introduction Part 2 : Queue system Part 3 : Installation Part 4 : Worker Part 5 […]