tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RODRIGUES DE ALMEIDA Thiago" <TALME...@brainsoft.fr>
Subject RE: Tomcat + Multiple Request
Date Tue, 25 Jul 2006 12:31:35 GMT
Hi,
Actually, as i said before, my application opens up to 5 pop-ups and each one send request
to get information from the 
server. That is if the user is clicking 5 times "at the same time".

I have no problems with data corrupting.
My problem is that the main window is freezed because of the processing.
I've noticed that when the servlet receives one request, he puts it in a queue and treats
all the requests sequencially.

My question is: Is it possible to implement such a solution, letting the application open
up to 5 popups, which means 5 request "at the same time" to the server ?

> Yes.  For example Internet Explorer never issues more than two requests to the same server.
 You cannot change this.
What does it mean ? What happens with all the other requests (5) that IE is supposed to send
to the server ? Are they lost?

Thank you,
Thiago

-----Message d'origine-----
De : Peter Crowther [mailto:Peter.Crowther@melandra.com] 
Envoyé : mardi 25 juillet 2006 12:29
À : Tomcat Users List
Objet : RE: Tomcat + Multiple Request

> From: RODRIGUES DE ALMEIDA Thiago [mailto:TALMEIDA@brainsoft.fr] I've 
> read that Http specification preconizes the use of 2/4 multiple 
> requests for the same session id/ browser. Is this correct ?

Yes.  For example Internet Explorer never issues more than two requests to the same server.
 You cannot change this.

> I'm not sure if i can let this multiple request happens, knowing that 
> it might impact the way browser manages the request/response...

Change your script to wait for one pop-up to finish loading before opening the next one?

> Is there any configuration to be done in terms of Tomcat ?

Profile your application, server, and database server if required.  What resource are you
runnung out of?  CPU? RAM? Disk I/O? Network bandwidth?
Database locks?

		- Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message