Giter Club home page Giter Club logo

ddr's Introduction

DDR: A Deadline-Driven Routing Protocol

This repository contains the implementation of DDR, a Deadline-Driven Routing Protocol designed to provide delay-guaranteed service in networks. This work was presented at IEEE INFOCOM 2024.

Table of Contents

Introduction

DDR (Deadline-Driven Routing) is a distributed traffic-aware adaptive routing protocol that provides delay-guaranteed service. Time-sensitive applications have become increasingly prevalent in modern networks, necessitating the development of Delay-Guaranteed Routing (DGR) solutions. Finding an optimal DGR solution remains a challenging task due to the NP-hard nature of the problem and the dynamic nature of network traffic. Inspired by online navigation techniques, DDR leverages real-time traffic conditions to optimize routing decisions and ensure on-time packet delivery. By combining network topology-based path generation with real-time traffic knowledge, each router can adjust packet forwarding directions to meet its heterogeneous latency requirements.

Comprehensive simulations on real-world network topologies demonstrate that DDR can consistently provide delay-guaranteed service in different network topologies with varying traffic conditions. In addition, DDR ensures backward compatibility with legacy devices and existing routing protocols, making it a viable solution for supporting delay-guaranteed service.

DDR is implemented based on ns-3.38. Running this code requires cloning it into the ns-3 contrib/ folder.

Features

  • Deadline-aware packet scheduling
  • Adaptive routing based on network conditions
  • Support for various network topologies
  • Performance evaluation tools

Installation

To install the necessary dependencies and set up the environment for DDR, follow these steps:

  1. Clone the ns-3.38 repository and navigate to the contrib/ directory:

    git clone https://gitlab.com/nsnam/ns-3-dev.git ns-3.38
    cd ns-3.38/contrib
  2. Clone the DDR repository into the contrib/ directory:

    git clone https://github.com/yourusername/DDR.git
  3. Build ns-3 with the DDR module:

    cd ..
    ./ns3 configure --enable-examples
    ./ns3 build

Usage

Running the Simulation

To run a demo of DDR:

cp contrib/ddr/examples/ddr-demo.cc scratch/ddr-demo.cc
./ns3 --run "scratch/ddr-demo.cc"

To reproduce the experimental results:

cd ns-3.38
bash contrib/ddr/infocomm2024/EXP1/EPOCH1/code/exp1-1.sh
bash contrib/ddr/infocomm2024/EXP1/EPOCH2/code/exp1-2.sh
bash contrib/ddr/infocomm2024/EXP1/EPOCH3/code/exp1-3.sh

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

We would like to thank the contributors and the research community for their valuable feedback and support. Special thanks to the IEEE INFOCOM 2024 conference for providing a platform to present our work.

ddr's People

Contributors

puyanguvic avatar tianfangchang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.