GitHunt
KI

kiko-g/reliable-pub-sub-service

FEUP SDLE | Reliable Pub/Sub Service | 2021/22

Reliable Pub Sub Service

Documentation

This section is the README inside the docs folder.

Requirements

  • ZeroMQ
  • Python3.9.6
pip install pyzmq   # make sure pip corresponds to your python installation

Execution

Standard executions

cd src/scripts
bash linux.sh <server_amount> <client_amount>
cd src/scripts
./windows.bat <server_amount> <client_amount>

Custom executions

Format

# open a shell for each command below
python src/proxy.py
python src/server.py <id>
python src/client.py <id> (<bool_spawn_errors> <xpub_port> <rep_proxy_port>)

# you may want to spawn multiple servers and clients
# make sure server/client IDs are not repeated

Example

# open a shell for each command below
python src/proxy.py
python src/server.py 1
python src/client.py 1
python src/client.py 2
python src/client.py 3
python src/client.py 4

Description

Project guide here

Team

  1. Francisco Goncalves
  2. Inês Quarteu
  3. Jéssica Nascimento
  4. Rúben Almeida