[zeromq-dev] pub/sub performance help
ZOUNG KALACK Jimy (EXT)
jimy.zoung-kalack-ext at sgcib.com
Mon Aug 29 13:00:27 CEST 2011
Ok fair enough if the subscriber will always lose the first 100msec. it does make sense why there are missing messages.
> 2- Does the latency curve below make since to you guy
>What does the X axis represent, is that message size?
The X axis represents messages (not the size) the first msg to the last msg received.
-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
Sent: Monday,August 29,2011 12:31 PM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] pub/sub performance help
On Mon, Aug 29, 2011 at 11:18 AM, ZOUNG KALACK Jimy (EXT)
<jimy.zoung-kalack-ext at sgcib.com> wrote:
> I've got a simple pub/sub running on the same box
> The publisher sends 10 000 in a loop. The message is just a timestamps.( creation date)
> 1- Surprisingly, the subscriber is able to read only 6 000. I don't understand why
Without seeing test code, it's hard to know what you mean by "in a
loop", but in general the subscriber will always lose the first
100msec of data (roughly) sent by the publisher at startup.
The sequence is:
- subscriber starts
- publisher binds socket
- subscriber launches connect to pub socket
- publisher starts to send messages
- subscriber connect completes
- subscriber starts to receive messages
> 2- Does the latency curve below make since to you guy
What does the X axis represent, is that message size?
-Pieter
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
*************************************************************************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes
par le secret professionnel.
Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************
More information about the zeromq-dev
mailing list