W dniu 2014-10-23 20:49, Arnaud Kapp pisze: > Hello, > > Most sockets have a fair-queued routing strategy for incoming messages, > and this makes a lot of sense *most* of the time. > > I would like to know if this behavior could be customized, for example > to achieve a FIFO incoming strategy. >
It's behaving like FIFO. Otherwise it would not make sense. Imagine 2 PUB sockets connecting to one SUB. If only one PUB would send all messages you would receive only first one and got blocked waiting for second socket to send something. Treat "fair-queued" as opposite to ...hmmm... "priority queuing" which would mean "process all messages from source A, then all messages from source B, then...". Cheers, Jarek _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
