[zeromq-dev] questions about sub/pub socket

Martin Sustrik sustrik at 250bpm.com
Tue Feb 2 12:25:12 CET 2010

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.


More information about the zeromq-dev mailing list