<div dir="ltr"><div dir="ltr">Hi Peter<br><div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>Now, from an app-developer-who-cares-about-<wbr>congestion-control point of view, I’m wondering: an application (consumer) needs to react to congestion marks received with data packets — "how exactly?" and which "inspiration examples" shall I follow
 in order to implement such a mechanism in my app?</div></div></blockquote><div><br></div><div>I asked this in NFD call several months ago. The answer was: react to congestion mark with AIMD algorithm.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">

<div>In the paper (PCON by Klaus) I see there are parallels with TCP congestion window algorithms, is this the way to go for a general-purpose developer? </div>
<div>How this was implemented in <i>ndncatchunks</i>? </div>
<div>Or is there a library/shim code that abstracts this logic from the end developer that can be utilized?</div></div></blockquote><div><br></div><div>ndn-cxx has SegmentFetcher that implements the recommended algorithm</div><div><a href="https://github.com/named-data/ndn-cxx/blob/502b47956c067683f9fd75c3a0d3040c8d14e452/src/util/segment-fetcher.cpp">https://github.com/named-data/ndn-cxx/blob/502b47956c067683f9fd75c3a0d3040c8d14e452/src/util/segment-fetcher.cpp</a></div>Look for "congestionMark" "windowDecrease" "windowIncrease" in this file.<br><div><br></div><div>Yours, Junxiao<br></div><div><br></div><div><br></div><div> </div></div></div></div></div></div>