Regarding calculations, i am simply incrementing a counter after send().... and message size is constant.
On Fri, Sep 14, 2012 at 1:35 AM, Pieter Hintjens <[email protected]> wrote: > On Fri, Sep 14, 2012 at 1:33 AM, Maninder Batth <[email protected]> > wrote: > > > With message size of 1KB, i am able to publish 5157783 messages per > second. > > How is this possible ? > > Presumably your calculations are wrong somewhere. > > > 1. Clients which wait for ack to publish next message > > In this use case, client publishes next message ONLY after it gets a > message > > The cost of a round-trip is going to be around 300 microseconds on a > local loop, up to 1000x more across the Internet. Try 'ping' to see > what it gives. If you do a round-trip for each message your > performance is going to be very low. > > -Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
