H
H
happyew513162021-05-27 20:20:31
Computer networks
happyew51316, 2021-05-27 20:20:31

Where is the server response (string) stored until the client receives it due to a slow internet connection?

The client (for example, the browser) that sent the request to the server has a very slow internet speed.
The server, on the other hand, has a high speed and is powerful in itself, it accepted the request, immediately processed it and sent a response.
Should the server wait for the entire response sent to the client? Or is it already ready to process a new request coming from another client?
Where will the sent response be stored in this case? Cable or radio wave? :D

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-05-27
@hapew51316

Or is it already ready to process a new request coming from another client?

Depending on the server. Usually all servers have many worker threads that can process requests and many TCP connections.
Should the server wait for the entire response sent to the client?

The TCP layer does this, and yes - the server waits until the client acknowledges receipt of all TCP packets.
Where in that case the sent answer will be stored? Cable or radio wave? :D

In server RAM and node buffers on the way to the client.

I
Ilya, 2021-05-27
@New_Horizons

In server RAM or on server disk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question