Answer the question
In order to leave comments, you need to log in
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
the PUB-SUB pattern is not suitable for your task, you need PUSH-PULL (in ZeroMQ terms, for example zguide.zeromq.org/page:all ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question