Implemented sockets, marshalling, p2p and fault tolerance.
This project was developed under the Distributed Computing course of University of Aveiro.
- Clone the repository:
$ git clone https://github.com/leo-dsf/Distributed_Photo_Organizer
Four folders with images, name of the folders need to be node1, node2, node3 and node4.
Run in five different terminals:
- Run Node 1:
$ python3 daemon.py --nodeid 1
- Run Node 2:
$ python3 daemon.py --nodeid 2
- Run Node 3:
$ python3 daemon.py --nodeid 3
- Run Node 4:
$ python3 daemon.py --nodeid 4
- Run Client:
$ python3 client.py
- The following text will appear on the client terminal:
Enter Message:
- To request an image, type:
REQUEST_IMAGE (image name)
- Example:
Enter Message: REQUEST_IMAGE Image.jpg
- Leonardo Flórido - leo-dsf
- Gabriel Hall - GabrielHall02
This project is licensed under the MIT License.