V
V
Viktor Login2015-07-30 16:47:57
Redis
Viktor Login, 2015-07-30 16:47:57

Redis pubsub and horizontal scaling?

pubsub is used to exchange data between different services. When creating multiple workers, they will both receive data and both will process it. What methods are there so that only one of the workers works for one message.
PS Probably there are some layers, the so-called message brokers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
evnuh, 2015-07-30
@BATAZOR

the PUB-SUB pattern is not suitable for your task, you need PUSH-PULL (in ZeroMQ terms, for example zguide.zeromq.org/page:all ).

P
Papa, 2015-07-31
Stifflera @PapaStifflera

https://github.com/taskrabbit/node-resque

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question