Distributed File Service using python

preview_player
Показать описание
This consists of a server process and one or more clients. Each client will connect to the server over a socket. The server is able to handle all the clients concurrently.

Clients will designate a directory on their system to serve as their shared directory. Any file placed into that directory will automatically be uploaded to the server. Once the server receives the new file, it will send that file to the remaining clients. Clients will place the received file into their shared directory.

Clients will prompt the user for a username. The server displays real-time client connections and disconnections.

A client can upload a number of files one after the other. If the file has been modified after it is uploaded the client sends an invalidation notice to the other clients.

Any client may delete any file from its shared directory. The program will monitor the directory in real-time to determine if a file has been removed. Upon recognition of a file’s removal, a client must obtain consent to delete that file from other clients via a two-phase commit.

For more details visit the blog page:
Рекомендации по теме
visit shbcf.ru