Skip to content

hanfeiyu/Generic-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devlopment Environment

Language and version

  • Java 11.0.6 2020-01-14 LTS

IDE

  • Eclipse 2019-12

Package tool

  • Maven 4.0.0

Development OS

  • Mac Darwin

Testing OS

  • Ubuntu 18.04 on VirtualBox

Architecture

.

  • README.md
  • a1_dockerfiles
    • docker_client
    • docker_server
  • clean.sh
  • config.sh
  • tcss558_assignment_1
    • localTest
    • pom.xml
    • src

6 directories, 4 files

Usage

  • ./config.sh:

    • Remove old built images and containers that includes "tcss558server"/"tcss558client" in the name
    • Build new docker images and containers
    • Prepare testing
  • ./clean.sh:

    • Clean docker containers and images built from this assignment

For Linux OS

  • Execute ./config.sh to prepare testing

  • After the configuration finished, you should have 1 terminal(tab) for client and 3 terminals(tab) for ts/us/rmis servers

  • In each server terminal:

    • Use ifconfig to obtain IP address
  • In the client terminal:

    • Use ./bigtest_tc.sh <TCP IP address> to run big test of TCP
    • Use ./bigtest_uc.sh <UDP IP address> to run big test of UDP
    • Use ./bigtest_rc.sh <RMI IP address> to run big test of RMI
    • Use ./bigtest_tc_concurrency.sh <TCP IP address> to run big concurrent test of TCP
    • Use ./bigtest_uc_concurrency.sh <UDP IP address> to run big concurrent test of UDP
    • Use ./bigtest_rc_concurrency.sh <RMI IP address> to run big concurrent test of RMI

For other OSs

  • Execute ./config.sh to prepare testing

  • After the configuration finished, you should have 4 containers running for client and ts/us/rmis servers

  • Open each with sudo docker exec -it <Container ID> bash

  • In each server terminal:

    • Use ifconfig to obtain IP address
  • In the client terminal:

    • Use ./bigtest_tc.sh <TCP IP address> to run big test of TCP
    • Use ./bigtest_uc.sh <UDP IP address> to run big test of UDP
    • Use ./bigtest_rc.sh <RMI IP address> to run big test of RMI
    • Use ./bigtest_tc_concurrency.sh <TCP IP address> to run big concurrent test of TCP
    • Use ./bigtest_uc_concurrency.sh <UDP IP address> to run big concurrent test of UDP
    • Use ./bigtest_rc_concurrency.sh <RMI IP address> to run big concurrent test of RMI

Github link

hanfeiyu/Generic-Node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors