Giter Club home page Giter Club logo

crusader's Introduction

Crusader Network Tester

The Crusader Network Tester measures network rates and latency while downloading and uploading data. It produces plots of the traffic rates, latency and packet loss.

A test run requires two separate computers, both running Crusader: a server that listens for connections, and a client that initiates the test.

Client and server talk (only) on TCP and UDP port 35481.

Current Status

The current version of Crusader is 0.0.9.

Setup

To build all binaries, use the commands below. Executables are placed in src/target/release

cd src
cargo build --release

Crusader Server

To host a Crusader server, on the server machine, run:

cd src/target/release
./crusader serve

Crusader Client

To start a test run, on the client machine, run:

cd src/target/release
./crusader test <server-ip>

The Crusader client creates three bursts of traffic (by default, five seconds each): download only, upload only, then bi-directional traffic. Each burst is separated by several seconds of idle time.

Output: The client produces a .png file showing charts (below) as well as a .crr file with the raw data.

  • The top plot shows the bursts of traffic: green is download, blue is upload, and the purple line is the instantaneous sum of the download plus upload.

  • The next plot shows the corresponding latency. Blue is the (uni-directional) time from the client to the server. Green shows the time from the server to the client (one direction). Black shows the sum from the client to the server and back (bi-directional).

  • The bottom plot has green and blue marks that show places where packet loss occurred.

Graphical interface

The build process also creates a binary with a graphical interface that incorporates the server, the client, and allows you to interact with results. To use it, run the following command. Enter the command below and click Start test in the resulting window.

cd src/target/release
./crusader-gui 

Click the Result tab to see a chart similar to the one above.

crusader's People

Contributors

zoxc avatar richb-hanover 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.