Application: Implementing Threading in a Client-Server Protocol

Anonymous
timer Asked: Oct 17th, 2018
account_balance_wallet $75

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

Tutor Answer

norrye
School: University of Virginia

Here is th...

flag Report DMCA
Review

Anonymous
Top quality work from this guy! I'll be back!

Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors