Modify your finger server program from Week 6 to use threads

Modify your finger server program from Week 6 to use threads

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.

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-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.

wk6assgnp1_kummerow_d

Solution preview for the order on modify your finger server program from Week 6 to use threads

Modify your finger server program from Week 6 to use threads

APA

1452 words