Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

leonardoflorido/Distributed_Photo_Organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Photo Organizer

Implemented sockets, marshalling, p2p and fault tolerance.

Course

This project was developed under the Distributed Computing course of University of Aveiro.

Installation

  • Clone the repository:
$ git clone https://github.com/leo-dsf/Distributed_Photo_Organizer

Requirements

Four folders with images, name of the folders need to be node1, node2, node3 and node4.

How To Run

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

How to Use

  • 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

Authors

License

This project is licensed under the MIT License.

About

Distributed Photo Organizer Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages