Hi there

I'm trying to find out how to solve the following problem:
- A producer pushes work to workers (REQ/REP or PUSH/PULL)
- The worker only accepts work, if he is not busy (Load balancing)
- The workers push their results to a collector (PUSH/PULL)

How can I implement this situation in Python. The result of everything I
tried is a Round-Robin distribution of tasks, which I can't use.
I need this solution because all tasks have a different -not predictable-
time to solve and I can't afford to wait for slow workers/tasks.

I looked in http://zguide.zeromq.org/py:chapter3 but I hadn't success with
understanding this or finding an similar situatition.
Can anyone send me an example in Python or at least in any other language
or give me any hints how to solve this problem?

Thank you very much

- Boris
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to