[Ndn-interest] [EXT]Re: Questions about forwarding

Nick Briggs nicholas.h.briggs at gmail.com
Wed Nov 24 20:26:23 PST 2021


Hello Hirayama --

I think that trying to modify the NDN protocol to make it fit your desire to have multiple responses to a single interest is not going to get you to a well-designed system.

Knowing that NDN operates in flow balance, it's probably time to rethink your higher level protocol.  If your current design for collecting votes/questions relyies on sending a "what is your vote on xxx" interest, and collecting the responses then you've got both a mismatch with the NDN flow balance property, and a distribution scaling problem.  That design would require the underlying system to distribute the Interest packet to *every possible* system(person) that might be providing a vote/questionaire answer -- flooding it to the world and then collecting up the multiple different responses to that interest.

A more scalable way to structure the interaction would be to turn that "inside-out" -- for the individual voter to express a single interest in voting/answering the poll (higher level design could do discovery for what polls are available, but that's a different topic) and in response obtain a token for voting.  Part of the voter's original interest (tail of the name) could be a name which would allow the voting system to then express an interest in the voter's response, which would be sent back as content, including the token they obtained from the voting system.

With this structure there is flow balance, the names in the interests can always be structured to aid routing, and there is no reliance on a single interest packet reaching every station in the universe.

Cheers,

Nick Briggs


> On Nov 24, 2021, at 7:40 PM, .平山 智己 via Ndn-interest <ndn-interest at lists.cs.ucla.edu> wrote:
> 
> Thank you, Lixia and Junxiao.
> Sorry for the late reply because of other courses.
> 
> What I’m trying to do is like a questionnaire/voting system using NDN
> So I want to receive multiple data packets for Interest with one name.
> I will try my best to continue to use NDN and enable it to send an Interest and receive multiple feedbacks.
> 
> Thank you very much.
> 
> Hirayama.
> 
> 
> 2021年11月15日(月) 19:41 Junxiao Shi <shijunxiao at email.arizona.edu <mailto:shijunxiao at email.arizona.edu>>:
> Hi Hirayama
> 
> One of the NDN protocol design principles is hop-by-hop flow balance: over each link, one Interest packet should bring back no more than one Data packet.
> https://named-data.net/project/ndn-design-principles/ <https://named-data.net/project/ndn-design-principles/>
> 
> Regardless of which library you are using, it isn't possible to receive multiple Data packets in response to one Interest.
> Instead, you should send multiple Interests with different names.
> 
> Yours, Junxiao
> 
> On Mon, Nov 15, 2021 at 05:30 .平山 智己 via Ndn-interest <ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>> wrote:
> External Email
> 
> Hi Lan.
> 
> Thank you for the last time.
> Sending Interest using multicast worked fine. However, after the first response is replied, no other response can be received.
> The library uses ndn-python, and as far as "ndn / transport / stream_soket.py" is seen, it is estimated that NFD closes PIT when the first response is received. Is it possible to receive multiple responses using ndn-python?
> 
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20211124/749f599c/attachment.html>


More information about the Ndn-interest mailing list