Question

15. A server is being overloaded by client requests. Explain how the use of threads could alleviate this problem, Explain why

please I need it urgent thanks

0 0
Add a comment Improve this question Transcribed image text
Answer #1

   When a number of requests are coming from the various number of clients the server may get overloaded. There are a few signs to know whether the server has overloaded or not. If the server is overloaded there is somewhat delay in the response for the requests from the clients. Generally, if a request takes just one second if the server is overloaded then it takes 1 second to 100 seconds. Sometimes the server releases some bugs. It occurs when the server delivered only a single part of the requested content.

   In order to avoid the overloading of client requests we can use the technique "threading". The first thing we need to defend this problem is to force stop the Work Manager. It helps us to refuse or stops sometimes the newly coming requests to the server and allocates a queue data structure for the past requests. We should also Force Stop the application if there are ideal threads. When the application reaches the admin it comes to the shutdown stage for some time. As above said then all work managers will be shutting down for some time.

   Synchronous threading means that when we are executing some task we have to start the second task at the time when we completed the first task. So here takes much time and also somewhat slowness in the process. If we consider the asynchronous threads we can move to the second task either we have completed the first task or not completed the first task. So asynchronous threading is somewhat easy for the implementation and also we can save time. Thread means a series of processes which are ready to get executed.

   If some requests coming from the clients are stored in some threads and some block of requests will be stored in another thread group it is very simple for the server to receive the requests and also give a response to that particular request in the form of threads.

   In my opinion, if we are using synchronous threads it takes very much time and also very much memory so that we should use only asynchronous threads. By using these threads we can save time as it is moving to the next process before the first process completes. So here the efficiency is also will be more.

Add a comment
Know the answer?
Add Answer to:
15. A server is being overloaded by client requests. Explain how the use of threads could allevia...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • To develop a client/server application using TCP sockets and the C programming language that is capable...

    To develop a client/server application using TCP sockets and the C programming language that is capable of supporting multiple concurrent service requests from different clients. PROBLEM You are to use the Ubuntu operating system as well as both the client and the server programs. You are to modify your server program to process requests from more than one client concurrently. This means different clients may request either the same service or a total different one. The services supported by your...

  • Write two programs Client and Server

    Given two integer matrices A and B, you are requested to compose a program to perform matrix addition (A + B). Both matrices have N rows and M columns; N > 1, M > 1; You need to divide both (A and B) into four equal (or close to equal) size of submatrices (A0,0, A0,1, A1,0, A1,1 and B0,0, B0,1, B1.0, B1.1)andeachsubmatrixhasdimensioncloseto(N/2)x(M/2). YouneedtocreatefourJavathreads each thread performs a subset of addition on one pair of the submatrices. Example, thread 0 performs addition...

  • Assignment One program will be the update server and the other will be the update client....

    Assignment One program will be the update server and the other will be the update client. Here is how the two programs should interact with each other: Server 1. the server starts up and reads the version number in the data.bin file and stores it in memory. 2. The server binds to a port and awaits connections. Client 1. The client starts up and it will first read the version number found within it's own data.bin file. 2. The client...

  • CST 2400 Assignment Question 1: In a client-server based network, the host is trying to connect...

    CST 2400 Assignment Question 1: In a client-server based network, the host is trying to connect to the remote host but is not making an active connection which means the connection has timed out. Specifically, the user uses the telnet command to send a packet to a specific address, but no hosts are responding. Assume that the user from the local TCP/IP host issued the following command: # telnet hostname telnet ....... connection timed out Please diagnose the network connection...

  • You are employed to one of the leading banks in Canada and one of your key client has informed yo...

    You are employed to one of the leading banks in Canada and one of your key client has informed you that he would like to expand his business in another country (choose a country of choice. He needs a loan of $1.5M to expand his business. Your client has asked you to recommend specific choices in terms of bank and country. Your project should include but not limited to the following: An executive summary is required - a summary of...

  • 1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where...

    1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where DNS protocols (from two hosts) gets two different IP address for the same hostname. 3. If you have a 100% reliable network layer, should you use TCP or UDP at the Transport layer? Explain your answer? 4.Is it is possible for an application on top of UDP to have a reliable data transfer? Explain? 5.Suppose that a Web server runs in Host C on...

  • 1. Will the increase use of telehealth technology tools be viewed as dehumanizing client care, or...

    1. Will the increase use of telehealth technology tools be viewed as dehumanizing client care, or will they be viewed as a means to promote more contact with healthcare providers and new ways for people to stay connected thereby creating better long term disease management and client satisfaction? 2. What are some disadvantages of telehealth? 3. Would you utilize telehealth? Why or why not? Thanks for your help!!! Need help within the hour if possible.

  • Complete the following short answer questions: 1. Design an Ethernet network to connect a single client...

    Complete the following short answer questions: 1. Design an Ethernet network to connect a single client PC to a single server which will contain a wired connection to both digital storage media as well as an optical device. Both the client and the server will connect to their respective workgroup switches via UTP. Their workgroup switches are connected directly by a trunk link. The two switches are 1,700 meters apart. They need to communicate at 500 Mbps. Your design should...

  • This is in C. For this assignment we will write a simple database server. We will...

    This is in C. For this assignment we will write a simple database server. We will be creating a simple database of student records, so let’s describe these first. The format of a student record is as follows: typedef struct student {     char lname[ 10 ], initial, fname[ 10 ];     unsigned long SID;     float GPA; } SREC; Part One – the Server We will create a database server. The job of the server is to accept a...

  • help! Due: 10/31/17 Submit under: Assignmen8 folder (only) Chapter-10: Apache Web Server Explain that a web...

    help! Due: 10/31/17 Submit under: Assignmen8 folder (only) Chapter-10: Apache Web Server Explain that a web server is a network computer with the primary role of serving Web pages to clients on request. 1、 2. Explain that the HTTP-Server is a YaST module for configuring Apache. The package name is yast2-http-server, and it can be installed from YaST Software Management. Discuss the following default settings for a Web server in Apache: " DocumentRoot . Alias . ScriptAlias . Include ....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT