[zeromq-dev] questions about sub/pub socket

Guo, Yanchao Yanchao.Guo at sac.com
Tue Feb 2 14:57:18 CET 2010

Anyway, I think for now, what we want is to have the same behavior between connect/pub and bind/pub type of sockets, and we want the non-caching type of connection. So just wondering if this (message caching for connect/pub socket) is to be fixed soon? This is quite important to us. 


-----Original Message-----
From: Martin Sustrik [mailto:sustrik at 250bpm.com]
Sent: Tue 2/2/2010 6:25 AM
To: Guo, Yanchao
Cc: zeromq-dev at lists.zeromq.org
Subject: Re: [zeromq-dev] questions about sub/pub socket
Guo, Yanchao wrote:
> Well, I think being able to cache the historical data is good thing as I 
> can see we will need this feature. However, I'd like to have this 
> configurable from my application.

You'll have to hack the library to get this behaviour. The systematic 
solution is to implement TTL AFAIU.

> This brings the onInit feature that I asked you earlier. In fact, we 
> want that because for some connections, we want to know what clients had 
> just established new connection so that we can send the "historical" 
> data to them.

Last value cache? If so, that's on our roadmap as well. We can do some 
joint development here possibly.


DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100202/a9feb7a5/attachment.htm>

More information about the zeromq-dev mailing list