[Ndn-lib] is jNDN thread-safe

Junxiao Shi shijunxiao at email.arizona.edu
Tue Jun 13 07:34:25 PDT 2017


Hi Jeff

An application should avoid making more than one connection to NFD. Even if
the application could ignore its own Interest on other faces, this causes
unnecessary overhead on NFD.

Yours, Junxiao

On Mon, Jun 12, 2017 at 8:30 AM, Thompson, Jeff <jefft0 at remap.ucla.edu>
wrote:

>
> > In my scenario, each node is running an NFD with an NDN consumer and
> producer. Can they use the same face to communicate with the local NFD?
> > If they are using two different faces, the local producer can answer the
> Interest from the local consumer, which affects the design. For the
> > implementation, I try to run the consumer and producer on different
> threads in the same class.
>
> Can you say more about your namespace design. If the local producer
> registers to receive interests under a prefix, even if they come from the
> local consumer, why is that a problem? There a are a few solutions. Your
> namespace design can be more specific so that the producer registers a more
> specific name prefix and doesn’t receive interest that are not meant for
> it. Or your producer can ignore interests that are not meant for it.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20170613/1098c5c6/attachment.html>


More information about the Ndn-lib mailing list