Modify your finger server program to use threads

Assignment Help Computer Network Security
Reference no: EM131062529

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.

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?

Reference no: EM131062529

Questions Cloud

Determine the required dimensions b and h : Assuming that the middle cantilever supports 50% of the load and each outer cantilever supports 25% of the load, determine the required dimensions b and h.
Identifying research questions and variables : 1. Propose a research question related to our studies. There are several examples listed below - you may use one of those if you wish or propose your own
Create a console application called mythread : Create a console application called myThread. Within the application, create a thread called Updater. This thread will be used to update a running sum of values entered by the user.
What is the ratio of the maximum stress to the stress : A tapered cantilever beam AB having rectangular cross sections is subjected to a concentrated load P= 50 lb and a couple M0= 800 lb-in. acting at the free end [see figure part (a)]. The width b of the beam is constant and equal to 1.0 in., but th..
Modify your finger server program to use threads : 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.
Determine the minimum height h of the bar : Determine the minimum height h of the bar. (Assume that the ends of the bar are simply supported and that the weight of the bar is negligible.)
Create the server and workstation operating systems section : Create the Server and Workstation Operating Systems section, which should include the following List the operating systems and versions that you plan to use in the network for the servers and workstations. You may have more than 1 operating system ..
Find the weight of the piece : A certain part of an aircraft engine has a volume of 2.2 ft3. (a) Find the weight of the piece when it is made of brass.
Characteristic of a world-class organization : Which of the following is a characteristic of a world-class organization? Companies such as Google and Apple are finding that they can achieve a sustainable competitive advantage with

Reviews

Write a Review

Computer Network Security Questions & Answers

  Describe the secure communication scenarios

Both IPsec and SSL provide encrypted network communication, but at different layers in the Internet protocol stack, and for different purposes. Compare and contrast these two protocols, and describe the secure communication scenarios they are best..

  What is the plain text m

We assume that Oscar is able to observe all messages sent from Alice to Bob and vice versa. Oscar has no knowledge of any keys but the public one in case of DS - Will Bob detect this

  What are the risks of implementing this technique

list one way to prevent malware from executing in Windows from directories that are not normally used for executables. What are the risks of implementing this technique?

  Was the tjx break-in due to a single security weakness

Explain different ways that this program can be sabotaged so that during execution it computes a different sum, for example, 3 to 20.

  The proposed cyber security act

Review the May 2011 Cyber Security Legislative Proposal, the proposed Cyber Security Act of 2012, Executive Order (EO) 13636 Improving Critical Infrastructure Cyber security, and Presidential Policy Directive (PPD) 21 Critical Infrastructure Secur..

  Network security hii need the attached assignment done by

hi ltbrgti need the attached assignment done by 120914. please quote the best price. the assignment should be completed

  Present a short summary of the arguments for and against

you have been asked to help decide whether to outsource security or keep the security function within the firm. search

  What would be a successful cybersecurity policy

Write an essay on the topic, "Building and implementing a successful cybersecurity policy". The following questions should be covered in the essay: What would be a successful cybersecurity policy

  Explain information security threats and vulnerabilities

Explain information security threats and vulnerabilities in plain English to small business owners who, while experts in their own business areas, have limited knowledge of computers, networks, and software

  Determine the suitability of certification

Determine the suitability of certification. Justify by using threat identification and provide risk assessment for this organisation.

  Lab- vulnerability assessment

Lab: Vulnerability Assessment, Probably the most overlooked process in any type of security system is the vulnerability assessment. Vulnerability assessments are incredibly useful (and necessary) tools

  Examine common web application vulnerabilities and attacks

Examine three common Web application vulnerabilities and attacks, and recommend corresponding mitigation strategies for each. Provide a rationale for your response.

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