SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 30 day free trial to unlock unlimited reading.
4.
Resque / Jesque
Resque is a Redis-backed Ruby library for
creating background jobs, placing them on
multiple queues, and processing them later.
(Jesque is a Java port of Resque)
5.
Redis
Client
Resque
Enqueue job(s)
Poll any new jobs
Obtain a job
6.
Resque has one or more workers.
Workers poll any new jobs
with accessing to Redis.
And a worker execute a retrieved job.
7.
Resque
.
.
.
Poll any new jobs
Obtain a job
Execute an obtained job
on a worker process
(or thread)
Workers