Skip to content
AbdaisherePublic

About

Distributed test bench for network switches: runs RFC 2544 and RFC 2889 benchmarks. Rust control plane, Flutter admin client, Apache Kafka, Docker. Cairo University graduation project with Siemens EDA.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

560 Commits

Folders and files

Repository files navigation

E-Jam: Distributed System for Network Switch Testing & Monitoring πŸš€

E-Jam Logo

License Platform Version Status

E-Jam is a distributed test bench for network switches. It runs RFC 2544 and RFC 2889 benchmarks from a group of nodes and shows the results live in a Flutter admin client.

It was our 2022 to 2023 graduation project at Cairo University, Faculty of Computers and Artificial Intelligence, built in collaboration with Siemens EDA. Engineers from Siemens EDA were our mentors, our sponsor and the product owner. It was a university project, not a Siemens product.


πŸ“– Table of Contents


πŸš€ Features

Core Capabilities

  • Stress Testing: Measure throughput, latency, and packet loss under custom loads.
  • Real-Time Monitoring: Live dashboards with interactive charts for packet statistics.
  • TCP and UDP Streams: Choose the transport protocol for each stream.
  • Distributed Architecture: Scale tests across multiple nodes via Docker and Kafka.
  • Automated RFC Compliance: Pre-configured tests for RFC2544 and RFC2889.

πŸ›  Tech Stack

Backend
Rust Java C++ Apache Kafka

Frontend
Flutter

Infrastructure
Docker Linux


πŸ“¦ Installation

Prerequisites

  • Linux-based OS (Ubuntu 22.04 recommended)
  • Docker Engine & Docker Compose
  • Java 11, Rust 1.68+, Flutter 3.7+

Steps

Each folder has its own README with more detail. These are the short steps to run the app. Run each step from the repository root.

  1. Clone the Repository:

    git clone https://github.com/Abdaishere/E-Jam.git
    cd E-Jam
  2. Start Kafka Cluster:

    cd Admin\ Client/kafka_stack_docker_compose
    docker-compose up -d
  3. Build Admin Client:

    cd Admin\ Client/e_jam_frontend
    flutter pub get
    flutter build linux  # or windows/macos
  4. Deploy Center Point:

    cd Admin\ Client/e_jam_backend
    sudo docker build -t center-point .
    sudo docker run --network=host center-point
  5. Deploy System API:

    cd Prototype/SystemApi
    mvn clean install
    java -jar target/SystemApi-1.0-SNAPSHOT.jar

πŸŽ₯ Walkthrough

E-Jam Demo


πŸ— Architecture

Stream State Machine

Stream State Machine

Key Components

  • Admin Client: Cross-platform with UI for test configuration and monitoring.
  • Generators/Verifiers: C++ modules for packet generation/validation.
  • Kafka Cluster: Real-time data streaming for distributed analytics.
  • System API: Java/Spring Boot agent on each node. It takes the start and stop calls from Center Point, launches the generators and verifiers and publishes their statistics to Kafka (code in Prototype/SystemApi).

Directory Structure

πŸ“ .
β”œβ”€β”€ πŸ“ Admin Client          # Flutter UI + Rust backend
β”œβ”€β”€ πŸ“ Documentation         # PDF specs and presentation
β”œβ”€β”€ πŸ“ Prototype             # Core components (Old Version)
└── πŸ“ Screen Shots          # UI previews

πŸ“š Documentation


🀝 Contributing

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feat/amazing-feature
  3. Submit a PR with detailed documentation.
    See CONTRIBUTING.md for guidelines.

πŸ“œ License

Distributed under the MIT License. See LICENSE for details.


Team

Five of us built E-Jam: Khaled Waleed, Mohamed Amr, Abdallah El Belkasy, Islam Wagih and Mostafa Abdullah.

What I (Abdallah) built:

  • Center Point, the control plane. It is written in Rust on Actix Web. Its REST API drives every stream, device and process through explicit state machines and reads the test statistics from Apache Kafka, decoding them with Avro schemas from a schema registry. Code: Admin Client/e_jam_backend.
  • The Flutter admin client that configures tests and charts the results live. Code: Admin Client/e_jam_frontend.

My teammates wrote the C++ packet generators and verifiers and the Java System API, which runs on each node and publishes the statistics to Kafka.


πŸ™ Acknowledgments

Thank you to our supervisor, Dr. Mohammad El-Ramly, and to our mentors at Siemens EDA, who sponsored the project and acted as its product owner.

Screenshots

Dashboard View Stream Configuration
Dashboard Stream Config
Device Monitoring Export Analytics
Devices Export

About

Distributed test bench for network switches: runs RFC 2544 and RFC 2889 benchmarks. Rust control plane, Flutter admin client, Apache Kafka, Docker. Cairo University graduation project with Siemens EDA.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages