You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RODRIGUES DE ALMEIDA Thiago <TA...@brainsoft.fr> on 2006/07/13 11:31:01 UTC

Struts Action + Multiple Request

Hi All,
I have this scenario:

In my application, the user has the possibility of openning multiple
windows (browser) simutaneously.
In this case, each new window makes requests for data thru a struts
action.

That means, one user can make multiple requests to the servlet container
(Tomcat 5.5) at the "same time".

The problem i have is concerning the performance.
Since the user has oppened more than 4 windows, the browser (IE 6)
becomes freezed.

I have taken a look into the server and apparently there are no problems
of memory or processor.
For the Tomcat side, i did not see any disturbing problem concerning
performance.

What would you recommend as solutions for this kind of scenario ?

Thanks in advance,

Thiago de Almeida


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


Re: Struts Action + Multiple Request

Posted by David Delbecq <de...@oma.be>.
RODRIGUES DE ALMEIDA Thiago wrote:
> Hi All,
> I have this scenario:
>
> In my application, the user has the possibility of openning multiple
> windows (browser) simutaneously.
> In this case, each new window makes requests for data thru a struts
> action.
>
> That means, one user can make multiple requests to the servlet container
> (Tomcat 5.5) at the "same time".
>   
No problem there, this is made for it and, unless you use something else
than request scope bean for your struts action, it shouldn't be a
problem for struts too.
> The problem i have is concerning the performance.
> Since the user has oppened more than 4 windows, the browser (IE 6)
> becomes freezed.
>
> I have taken a look into the server and apparently there are no problems
> of memory or processor.
> For the Tomcat side, i did not see any disturbing problem concerning
> performance.
>
> What would you recommend as solutions for this kind of scenario ?
>   
Dump the Threads of your jvm, you might simply be in a deadlock with
your application.
> Thanks in advance,
>
> Thiago de Almeida
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>   


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


Re: Struts Action + Multiple Request

Posted by Antonio Petrelli <br...@tariffenet.it>.
RODRIGUES DE ALMEIDA Thiago ha scritto:
> The problem i have is concerning the performance.
> Since the user has oppened more than 4 windows, the browser (IE 6)
> becomes freezed.
>   

If I am not wrong, this is a browser "bug" (or feature), not a Struts 
nor Tomcat issue.
If I remember correctly, both IE6 and Firefox open at most four 
connections to the same server and until one of them have finished, the 
other requests will wait.

HTH
Ciao
Antonio

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