[zeromq-dev] PUB-SUB scalability
matt_weinstein at yahoo.com
Mon Aug 16 21:29:32 CEST 2010
Doesn't IP MCAST change this to P(M x Z) x F ?
F = burden for reliable pub/sub, perhaps 1.1 or so.
On Aug 16, 2010, at 1:16 PM, Pieter Hintjens wrote:
> On Mon, Aug 16, 2010 at 4:44 PM, Steven Clark <steven.p.clark at gmail.com
> > wrote:
>> I'm interested in how well PUB-SUB scales via TCP.
> The maths is fairly simple. The network traffic will be sum P(S x M
> x Z) where:
> P is the publisher socket
> S is the number of subscribers
> M is the number of messages per second
> Z is the size of messages on average
> Summed up over all publisher sockets.
>> Any guesses as to how high N could go before things go haywire? Is
>> network bandwidth the limiting factor?
> Yes, that's all.
>> Does the situation improve if I provide a separate PUB socket for
> Nope. Don't create multiple PUB sockets for this.
> Pieter Hintjens
> iMatix - www.imatix.com
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev