How to use rabbitmq as a distributed task queue? -


in knowledge, rabbitmq ha message queue. is possible use task queue. requirement:

  1. load balanced should consider worker node idle resource
  2. should dynamic add/del worker thread
  3. worker node hot-plugging
  4. can dynamice set routing.

as rabbitmq consumer can fetch message , define callback function handle message. possible that. don't know how use flexible,dynamically.

can give example or idea?

in rabbitmq, if more 1 consumers binds queue, messages load-balanced in round-robin fashion.

to better understand, can read article.

https://techietweak.wordpress.com/2015/08/14/rabbitmq-a-cloud-based-message-oriented-middleware/

thanks, saravanan s.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

c++ - Accessing inactive union member and undefined behavior? -

php - Get uncommon values from two or more arrays -