David Zimmerman wrote:
> Hi,
> we are building a webshop for a site with a high volume of users, approx. 800 
>concurrent users and 25k transactions per hour. We are going to use J2EE as the 
>ground platform. I am now considering some design choices where using Struts is one 
>of them. However I have some questions regarding the performance of Struts. I know 
>this issue has been up many times before but I have never been able to find any 
>satisfying answers, so...
> 
> What, if any, overhead does the Struts controller generate? This question must of 
>course be seen in the context of writing your own controller or using any other 
>framework. However, what is Struts overhead?
> 
> What overhead does the use of form beans generate (in the sense of objects created, 
>memory use, the use of reflection, speed)
> 
> Custom tags (Struts' or other). Would they be applicable in a case like this? 
>Wouldn't there be a massive creation of objects for every request?
> 
> Please help me out here! I really want your knowledge on this!
> 
> Regards
> David Zimmerman
> 

Well the design of Struts is such that it only ever create JUST ONE
controller /action instance.

The overhead will be number in threads created by the Servlet / JSP container
and your overall system architecture. If you truly have 800 concurrent
user during the day then you will probably have more than one
than one web servers running on separate machines. In other words
you would using an application server, most probably. A application
server (J2EE) will allow you load balance and cluster across
multiple JVM / machines. So you see I think this is where your
overhead lies, not on Struts itself.

-- 
Peter Pilgrim         +-----\ +-++----++----+
Java Technologist     |     | | ||    ||    | 'n' Shine
                       |  O  | | ||  --+| ---+
         /\            | ._  / | | \  \ |    |
        /  \           | | \ \ | |+--  || ---+ A new day
       /_  _\  "Up"    | | | | | ||    ||    | is coming
         ||            +-+ +-+ +-++----++----+
<home page="http://www.xenonsoft.demon.co.uk/"; />


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

Reply via email to