Presentation is loading. Please wait.

Presentation is loading. Please wait.

Named Data Networking Writing NDN Applications and Forwarding Strategies 1.

Similar presentations


Presentation on theme: "Named Data Networking Writing NDN Applications and Forwarding Strategies 1."— Presentation transcript:

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


Download ppt "Named Data Networking Writing NDN Applications and Forwarding Strategies 1."

Similar presentations


Ads by Google