A description of the design of your solution

Assignment Help Computer Engineering
Reference no: EM132110181

For this project in the (Advanced Computer Networks) course, you may pick a system/language you like, design the project, implement it, and write a project report about it.

This project is related with the Readers and writers. Two types of users, Readers and Writers, can access a shared file. The file is allowed to be read by many readers simultaneously, but to be written by a single writer at a time when no reader is reading.

In this project, you are asked to solve the readers and writers problem by using the clientserver model and a kind of communication facility. Your program consists of several clients (readers and writers), a file access authorization server, and a shared file bank server. Clients may read/write different files or share a single file.

Before a client being able to access a file from the shared file bank server, it must first communicate with the authorization server to get a ticket (an encrypted permission which can be decrypted only by the shared file bank server).

The file access authorization server receives requests from clients and manipulates up to N different files. The request message involves the following fields: the ID of the client, the type of the request (R/W), and the name of the file that the client wants to access. A transaction of accessing a file from a client is as follows:

• send REQ Message: request to the authorization server

• block_receive: waiting for a ticket

• send read/write (data) and ticket: request to the file bank server

• block_receive: waiting for data or ACK

• send REL Message: release to authorization server

• loop for certain times

You should test your program by different cases. For example, suppose your system manipulate five files A, B, C, D and E. One possible test case is to start with 30 clients that randomly access (with 30 percent of writers) a randomly selected file.

Each client repeat 100 times. You should design at least 5 different test cases and you should use at least 3 computers to run your project.

Project Report: the report is a short report (2-4 pages) for what your project will be. It should contain a problem description and motivation, a description of the design of your solution, a description of your implementation, and an evaluation of how well your system solved the original problem.

Reference no: EM132110181

Questions Cloud

Which of these malicious software has been more devastating : Which of these malicious software has been more devastating recently and how could it be prevented or contained?
Create data objects to store the data to disk : Create data objects to store the data to disk, we chose this method in order to simulate a data access layer in our application.
List out the project planning guidelines : Why the Project Planning is challenging task? List out the Project planning guidelines.
Display a graph of projected earnings : display a graph of projected earnings - You are tasked with creating an application that uses a GUI that simulates a simple banking interface similar to an ATM
A description of the design of your solution : In this project, you are asked to solve the readers and writers problem by using the clientserver model and a kind of communication facility.
Create a spreadsheet page that automates the process : ITECH1100 Understanding the Digital Revolution Assignment - Parchment Basement, Federation University Australia. Create spreadsheet page that automates process
Relationship between technology and humans : Article on technology - about the evolving relationship between technology and humans - a relationship which defines our history, our present and our future
Create and maintain a resistor linked list : Ifchoice is l, the program will ask the user to enter a resistor ID and value of resistance to be inserted into the end of list.
What is the purpose of the database : Basic business rules need to be developed for cross-sales and up-sales. We will not worry about identifying the formulas for these recommendations.

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd