<div dir="ltr">Hi Alex,<div><br></div><div style>Yes. I just wonder why does producer node need to forward the interest to other node before or after it actually satisfies the interest, like in SmartFlooding as you said. I will move on.</div>
<div style><br></div><div style>Thanks again for your explanation~</div><div style><br></div><div style>Regards,</div><div style>huyao</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/4/26 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi huyao,<br>
<br>
The forwarding strategy on producerNode doesn't really need to forward the interest to both faces, I was giving an example of what can happen.  Yes, with the existing ndn::Producer app, all interests will be satisfied, but in general (some other producer), may only have partial information.<br>

<br>
In any case, it is totally up to the strategy's decision of what to do with interest.  Ideally, the strategy should try available faces first (in some order), then learn from which face interests are getting satisfied (faster), and then primarily use this face to forward interest.  Do I suspect correctly that you're implementing something along these lines?<br>

<br>
---<br>
Alex<br>
<div class="im HOEnZb"><br>
On Apr 25, 2013, at 8:31 PM, yao hu <<a href="mailto:huyao0107@gmail.com">huyao0107@gmail.com</a>> wrote:<br>
<br>
> Hi Alex,<br>
><br>
</div><div class="HOEnZb"><div class="h5">> Thanks for your explanation. But I am still curious about why producer node needs to forward interest to NetDevice. Take the following simple topology for example.<br>
><br>
>    (NetDeviceFace)                (NetDeviceFace)<br>
>  +--------+ /x         +--------------+ /x              +---------------+<br>
>  | client | ---------- | producerNode | --------------- | someOtherNode |<br>
>  +--------+            +--------------+                 +---------------+<br>
>                               | /x (AppFace)<br>
>                               |<br>
>                               |<br>
>                        +-------------+<br>
>                        | producerApp |<br>
>                        +-------------+<br>
><br>
> If the producerNode received the interest (under the prefix /x), it will send the interest to AppFace (the interest will be satisfied). That is very reasonable. However, does it need to forward the interest to someOtherNode through NetDeviceFace. As you said, applications not always can satisfy all interest under specific prefix, but from my observance to the prior experiments (I made some change in CustomStrategy::DoPropagateInterest), producerNode can satisfy each node under /x and send Data packet back to client. Besides, it still have a chance (not every time, just in a small possibility) to forward the interest to someOtherNode. Is my observance wrong? Or what is the cause for the producerNode to forward interest (that will be satisfied to AppFace) to someOtherNode?<br>

><br>
> Thanks very much~<br>
><br>
> Regards,<br>
> huyao<br>
><br>
</div></div></blockquote></div><br></div>