Kamisama.me

Tag: queue system

Background jobs with php and resque: part 7, Manage workers with Fresque

Fresque is a command line tool to manage your php-resque workers Fresque removes all the hassles of manipulating process, pipe, daemon and other cli-guru related commands when managing php resque workers. Instead of starting a worker with this command: QUEUE=notification php resque.php You use: fresque start –queue notification You begin to see its real usefulness […]

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 […]

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 … […]