Download presentation
Presentation is loading. Please wait.
Published byGwen Sullivan Modified over 9 years ago
1
Named Data Networking Writing NDN Applications and Forwarding Strategies 1
2
Outline Part 1: “Hello World” application with PyNDN2 Part 2: Implementing a forwarding strategy 2
3
NDN Components 3 AppsRoutingRepo NFD Links and Tunnels Libraries
4
“Hello World” App Overview 4 CSU HUB ProducerConsumer Route: /csu/hello UCLA HUB UCLA 1 UCLA 2 CSU 1 Consumer Route: /csu Route: /csu/hello Route: /
5
Hello World Walkthrough 5
6
Outline Part 1: “Hello World” application with PyNDN2 Part 2: Implementing a new forwarding strategy 6
7
NDN Components 7 AppsRoutingRepo NFD Links and Tunnels Libraries
8
Forwarding Strategies Closed control loop o Decision for Interest forwarding o Feedback when Data arrives or Interest expires o Can store states. One strategy per namespace o Local to the node o Configured via management commands 8 After receive Interest Before satisfy Interest Before expire Interest Strategy callbacks Strategy callback
9
Random Load Balancer Randomly select a nexthop Stateless 9 CSU HUB ConsumerProducer UCLA HUB UCLA 1 UCLA 2 CSU 1 Producer Route: /ucla Route: / Route: /ucla/hello
10
Random Load Balancer Walkthrough 10
11
Delay-based Weighting Remember RTT from each next hop to bias future Interests towards faster paths 11 CSU HUB ConsumerProducer UCLA HUB UCLA 1 UCLA 2 CSU 1 Producer Route: /ucla Route: / Route: /ucla/hello Delay: 2s
12
Weighted Load Balancer Walkthrough 12
13
Now what? Implement the “Hello World” application and random load balancer strategy yourself Download step-by-step guide and code: https://github.com/dibenede/ndn-tutorial-gec21 / (see README.md) Extra credit: try extending “Hello World” and implementing the weighted load balancer o See README-ext.md 13
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.