network project

Chiuso Pubblicato 6 anni fa Pagato alla consegna
Chiuso Pagato alla consegna

1. Project description

Cloud computing is known as “on-demand computing”, which is a kind of Internet-based computing, where shared resources, data and information are provided to computers and other devices on-demand. The storage solutions of Cloud computing provides users and organizations with various capabilities to store and process their big data in third-party data centers. Cloud computing relies on sharing of resources to achieve coherence and economies of scale.

In this project, you will need to design and develop a prototype of the Cloud environment, which should at least have the following components and functions:

(a) Two servers and two clients.

o Both servers can accept and handle multiple user requests at the same time.

o Two clients may contact the same server at the same time or different servers, respectively.

(b) Both servers have user authentication method implemented.

o Client needs to log in on the server, every time when it starts a new connection with one of the servers.

o Each server uses a text file ([login to view URL] for server 1 and [login to view URL] for server 2, maintain consistency) to save the (user name, password) pair, and checks if this is a new user or if the login information is correct or not.

2

 If new user (user name not found), ask user to enter user name and password, save to its corresponding account file, and copy it to another server’s account file to make them consistent;

 If incorrect login information (password not found), ask user to reenter the password. Disconnected this connection if more than 3 attempts.

(c) Both servers have “Read”, “Write” and “Delete” functions implemented.

o After log in, client can read information from the server. Server sends all the information to the client.

o After log in, client can write information to the server.

o After log in, client can delete information from the server.

o Client sends “exit” to terminate the connection to the server once it is done. Then server needs to check if the client has made any changes (i.e., write or delete). If yes, server needs to synchronize the local information with the other remote server

 Copy the new information to the other remote server;

 Delete the same information from the other remote server.

(Hints: Each server uses a permanent file to store all the user data, and uses two separate temporary files for user added data and deleted data, respectively, which will be used during the synchronization between servers after user exits.)

(d) *Both servers have “Critical Section” check implemented.

o Other clients can read from the server when one client is also reading from that servers.

o Other clients cannot access (read/write/delete) the server when one client is making changes (write/delete) to that servers.

o Client cannot access (read/write/delete) the server when one server is synchronizing with the other one.

(e) **Instead of just using one file for all user data in Step (c), both servers use a separate file to store information for each individual client.

o Each client can read every other’s file.

o Each client can only write/delete the content of its own file.

o Critical section is associated with each individual file.

o One client cannot read a file when the owner is making changes (write/delete) to it.

Odd Jobs

Rif. progetto: #16678574

Info sul progetto

2 proposte Progetto a distanza Attivo 5 anni fa

2 freelance hanno fatto un'offerta media di $21 per questo lavoro

tatymabrook7

Need to know more details for job discretion.

$29 USD in 1 giorno
(0 valutazioni)
0.0