- Timeout: 1 second
- Communication: Using binary format
- 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.
java Linker <linker id>
The linker id is the line number in linker.txt, associating a specific id to a port
Example: java linker 1
java Service <type> <port>
type: Type of service - "reply" - "time" - "sum"
port: Port of service
java Client <type> <port>
Same specifics as with services.
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:<last_port>