2014年10月14日 星期二

Job Queue / Task Queue / Message Queue

Job Queue
Client <-> Gearman <-> Worker
Synchronize, Asynchronous

Message Queue and Socket Programming

write in Python
no client and worker
queuing task and do task in background
Celery + RabbitMQ for "data" queue in Instragram
Celery doing task and queuing data in RabbitMQ

RabbitMQ :

Message Queue
Work queues : Publish (task) / Subscribe (worker)




Queues

沒有留言:

張貼留言