An open API service indexing awesome lists of open source software.

https://github.com/bafs/distributed-architecture-laboratory

Distributed architecture laboratory in Java
https://github.com/bafs/distributed-architecture-laboratory

Last synced: over 1 year ago
JSON representation

Distributed architecture laboratory in Java

Awesome Lists containing this project

README

          

# Distributed architecture laboratory

## Protocol

- Timeout: 1 second
- Communication: Using binary format

## Architecture

- n Services
- m Linker (public IPs, cannot add new linkers after initialization)
- k Clients

If a linker, service or client does not reply after the timeout, it is considered as dead.

# Launching linkers:

`java Linker `

The linker id is the line number in linker.txt, associating a specific id to a port

Example: `java linker 1`

# Launching Services:

`java Service `

type: Type of service
- "reply"
- "time"
- "sum"

port: Port of service

# Launching clients:

`java Client `

Same specifics as with services.

# NEEDED:

linkers.txt file in the root directory with the following format:

127.0.0.1:9090
127.0.0.1:9091
127.0.0.1:9092
.
.
.
127.0.0.1:``