Professional Documents
Culture Documents
Job Queue by Abhinav Lal
Job Queue by Abhinav Lal
Job Queue by Abhinav Lal
In computer science, message
queues and mailboxes are software-
engineering components used for interprocess
communication, or for inter-thread communication within
the same process.
http://en.wikipedia.org/wiki/Message_queue
Generate receipt
New Order
Job Queue
Generate Receipt
Add receipt generation job
Sending email
Fetching RSS feed periodically
Interacting with other application API
Complex report generation
Log analysis
cleaning file system
o periodically or after certain action.
But I can use cron for that
Asynchronous
Low latency
Reliable
Scalable
Options out there
Active MQ
Memcache
Beanstalkd Gearman
Queue
Active MQ
Memcache
Beanstalkd Gearman
Queue
Job
Client script Server Worker script
DISTRIBUTED SETUP
Beanstalkd