• Post Reply Bookmark Topic Watch Topic
  • New Topic

What Happens to Connection Request when server is busy Processing previous Requests  RSS feed

 
Udit Upadhayay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written the following code to handle multiple Client Request. Lets Assume that it takes server 300 nano seconds(ns) to process one connection request.
It recieves two connection requests at time t1 and t1+200ns.
Since server is busy handling request 1 at time t1+200ns. what will happen to request 2.

Does it get stored like buffering concept somehow?
if yes what is the max size of that buffer?

Maximum number of request that a server process per unit time depends on the java code.

Is there also a limit to how many request a server can recieve per unit time?

.
 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I suspect it varies from server to server; if you are running across a network it may be that the network delays transmission until the server is reeady to receive it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!