tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Multi-click from the same user
Date Thu, 07 Jul 2005 09:16:34 GMT
Your idea sounds like it makes sense but I can see that you may have trouble, since even if
you can identify a duplicate request, you will have lost (I think) the request/response link
on each subsequent click of the button (which generates unique requests). I do not think you'd
be able to connect an arbitrary request with a reponse that was intended for an earlier request,
but maybe I am wrong.

Allistair

> -----Original Message-----
> From: Antonio PAROLINI [mailto:Antonio.Parolini@hcuge.ch]
> Sent: 07 July 2005 10:05
> To: tomcat-user@jakarta.apache.org
> Subject: Multi-click from the same user
> 
> 
> Hello,
> 
> We have a Struts intranet-web site running under tomcat 4.1.24.
> 
> Some of the application function are pretty slow ( more than 10
> secondes), and sometime users get mad and click 10 times on the same
> button. Tomcat raise 10 thread and on such slow operation, the server
> can get very slowed down.
> 
> Aside of javascript solutions ( blocking the button to be clicked
> twice), is there a tomcat configuration solution for this probleme ?
> 
> I would imaging for instance, a HTTP connector that detect that the
> same call is being made by the same browser (or same 
> UserPrincipal), to
> the same url with the same parameters , and instead of raising a new
> thread, wait for the 1 thread to end and returns its result ... Am I
> dreaming ?
> 
> Thanks in advance for your help.
> 
> Antonio Parolini
> 
> 
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> **********************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message