01 Jul Implementing a Client-Server Protocol and Threading in a Client-Server P, computer science homework help
Question Description
ASSIGNMENT #1 – Application: Implementing a Client-Server Protocol
You can learn a lot about the design of client-server protocols by reviewing the implementation of one. And you can develop an even greater understanding by extending or updating that implementation.
For this Assignment, you will modify an existing client-server protocol to implement the Internet’s finger protocol.
To prepare:
Download the existing program contained in Week6_Echo.zip. This file unzips into a NetBeans project that includes the source code for two Java programs, a client program, and a server program. The two programs implement the Internet’s echo protocol.
Start up NetBeans. Open the Week6_Echo project you just downloaded and unzipped.
By Day 7, modify the client and the server so that they implement the Internet’s finger protocol. The response from the server does not need to reflect actual user data, but you must base the response on the name provided in the client’s request.
Save and submit your Assignment as a “.zip” file.
Retain your implementation, as you will be using it again in Week 7.
ASSIGNMENT #2 Application: Implementing Threading in a Client-Server Protocol
Server programs are rarely implemented as non-threaded applications, even though that is how you implemented your previous server application. Servers would not be able to provide the necessary throughput unless they used threading to allow for I/O to occur concurrently with servicing client requests.
For this Assignment, you will modify your finger server program from Week 6 to use threads. The server should activate a new thread to process each incoming client request, thus allowing client requests to be processed concurrently.
To prepare:
Start up NetBeans.
Open your implementation of the finger protocol from Week 6.
By Day 7, modify your finger server program to use threads. The server should activate a new thread to process each incoming client request, thus allowing client requests to be processed concurrently.
In addition, write a 6- to 7-page paper documenting the changes that you made and analyzing the impact the changes will have on the overall throughput and latency of the server.
Include in your paper responses to these questions:
What other solutions might you consider in order to increase throughput and reduce latency?
Which solution do you consider to have the better trade-off between performance and complexity?
Which solution do you consider to have the better application of modularity, abstraction, hierarchy, and layering?
Remember to properly cite your sources according to APA guidelines.
Save your implementation of the threaded finger server in a “.zip” file. You will also submit your paper documenting the implementation and analysis of your server separately.
Submit your zip file to the Assignment 2 Part 1 – Week 7 submission link and your Word document to theAssignment 2 Part 2 Turnitin – Week 7 submission link.
Note: While both Part 1 and Part 2 submissions are required, you will only see your grade for this Assignment in the My Grades area for the Week 7 Assignment 2 Part 1.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.