K
K
Konstantin Kruglov2015-10-07 13:13:50
Message Queues
Konstantin Kruglov, 2015-10-07 13:13:50

MQ - which one to choose for the task?

With MQ did not work, just nowhere. The task is this: the workers on the servers access the queue and receive tasks, but it is necessary that each worker receives a task exclusively for its server, such is the project architecture. A worker is a Python script with multiple threads. At the moment, there is already a worker that processes the XML file, takes tasks (creates a queue locally) and executes. The XML file comes from a remote server. And I want to simplify this bike using MQ. But after reading about several MQs, I did not understand what to use for my purposes. It seems like all existing MQs (and their wagon + trolley) distribute tasks among servers, but do not give the opportunity to assign a task to a specific worker on a specific server. I must have missed/misunderstood something somewhere. Is there a simple solution to my problem??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-10-07
@rostel

Can't you use a queue for each server?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question