Application: Implementing Threading in a Client-Server Protocol

User Generated

snzvyl_gvqrf

Programming

Description

You've been a great help to me throughout this class this will be the last time I will need your level of knowledge

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 5- 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 the Assignment 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.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Here is th...


Anonymous
I was struggling with this subject, and this helped me a ton!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags