[zeromq-dev] Is last value caching the only way to send the first message to a subscriber?

crocket crockabiscuit at gmail.com
Sat Feb 23 02:27:58 CET 2013


There is no specific use case yet. I was just experimenting with the a PUB
connected to a SUB in LabVIEW and noticed the problem.

How do I solve the problem in my case?


On Sat, Feb 23, 2013 at 10:24 AM, Pieter Hintjens <ph at imatix.com> wrote:

> Hi Crocket,
>
> It's not specifically that the first message is always lost; it's that
> anything a publisher sends before the subscriber connection is
> complete will be lost to that subscriber. Depending on the actual use
> case there are various solutions (or it may not even be a problem).
>
> Can you explain your use case?
>
> -Pieter
>
> On Sat, Feb 23, 2013 at 2:08 AM, crocket <crockabiscuit at gmail.com> wrote:
> > According to zguide, the first value sent from a PUB socket is always
> lost.
> > And LVC(last value caching) is presented as a solution.
> >
> > Is there any other way to successfully send the first message from a PUB
> to
> > a SUB?
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130223/4ae51073/attachment.html>


More information about the zeromq-dev mailing list