Are Multiple requests from single client handled sequentially?

2003-11-25 Thread Ramya Parameswaran

Hi,
 
  We have a client server set up, wherein the client sends multiple requests to the 
server at the same time  the data is retrived from the database.
But the response from the server is got only one after the other. :(
Can soemone tell me why this might be happening??
We have NOT implemented SingelThreadModel.
 
The service() method is being called for each request only after response for the 
earlier request has been sent.
Is this because the single client  is sending all the requests simultaneously??
What do I have to do to make sure that the service method is called simulataneoulsy 
for all the request..??
 
Thanks in advance,
Ramya
 
 
 


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Re: Are Multiple requests from single client handled sequentially?

2003-11-25 Thread Justin Ruthenbeck
At 05:19 AM 11/25/2003, you wrote:
Hi,

  We have a client server set up, wherein the client sends multiple 
requests to the server at the same time  the data is retrived from the 
database.
But the response from the server is got only one after the other. :(
Can soemone tell me why this might be happening??
We have NOT implemented SingelThreadModel.

The service() method is being called for each request only after 
response for the earlier request has been sent.
Is this because the single client  is sending all the requests 
simultaneously??
What do I have to do to make sure that the service method is called 
simulataneoulsy for all the request..??
Are you sure that your client is opening up multiple HTTP connections to 
your server?  Many clients will serialize their requests by default for a 
number of reasons -- if the client is truly opening up separate 
connections, you'll get parallel processing from Tomcat.  This is more of 
a TCP/HTTP thing.

justin 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]