Code Monkey home page Code Monkey logo

real-time-monitor's Introduction

Real Time Monitor System - Data Link Layer

1.Diagrams

diagrams

  • A Real-Time Monitor System at the Data Link Level is a type of monitoring system that is designed to capture and analyze network traffic at the data link layer. The data link layer is the second layer in the OSI model, and it is responsible for the reliable transfer of data between adjacent nodes on a network.
  • Some key points in the system:
  1. The system includes multiple components, such as the test package generator, sender, switches, receiver, local collector, global analyzer, and TUI.
  2. The test package generator is responsible for creating the test data that will be sent through the system.
  3. The sender sends the test data from the start host, which may also add some initial data.
  4. The packet travels through multiple switches, each of which performs various operations such as forwarding, header addition, and calculation to help route the packet to its destination.
  5. The receiver at the other end of the system receives the packet and passes it to the local collector for processing.
  6. The local collector roughly processes the original data and stores it in the db database.
  7. The global analyzer and TUI work together to deeply process the data and display it to the user, providing a more detailed view of the system's performance.

2.Project Component:

topology

  1. Topology Model: Based on ARPNet. The diagram also show the IP address and ports on all of the switches and hosts.
  2. P4 code - Data panel: Collect all of the Original data, based on v1model, using standard_metadata data.
  3. Control panel: Store all of the data to database and do some roughly calculation.
  4. Client - Tui: Based on Rich terminal library. Result and Demo for this project

results

3.Metrics

  1. Init Size: The first switch’s packet_length
  2. Avg Size: The system record all of the switch’s packet_length, so the avg means mean value for each of end to end packet.
  3. Latency: Time taken for packet to travel from source to destination (Host time)
  4. Jitter: Standard deviation of packet delay (Based on latency and mean value of Latency)
  5. Bandwidth: :(Total Bytes Transferred / Time) * 8 / 1000 (Kbps)
  6. Throughput: (Total Bytes Transferred / Time) (bytes/s)

4.Other Research:

The current project is an early stage, I am thinking that I can actually expand more metrics, such as RTT (send back data), Network Congestion, Packet Loss (At first store id to db, and reupdate the data to db). In addition to the performance level, we still can do security level monitoring, such as DDOS Attacks (Detecting a large volume of traffic from multiple sources) to give alerts or warn users.

5.Referrence:

real-time-monitor's People

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.