We have a couple Struts applications in production. Using Struts as the front end, all transaction go through a Delegator level (session control) to stateless session EJBs, then passed to transaction processors and finally to different legacy backend systems. Before we could go into production we needed to stress test from the Delegator back to the legacy systems against the old C++ application. Using JUnit and JUnitPerf we simulated 286 concurrent users, 45 transactions a second for 15 minutes.
The averages where; Delegator 48 milliseconds, EJBs 1 millisecond and transaction processor 54 milliseconds. This blew away the old C++ application. EJBs are definitely not a performance problem. Back to the original question, all though we have a lot less concurrent users then you will have, performance using Struts has not been an issue at all. The Struts front-end is a lot faster then the old �home grown� one and was easier & faster to develop. We are now in the process of developing our 3rd and 4th Struts applications. These will even be faster to develop because we are basically just creating new JSPs (different brands) and reusing 80%-90% of the existing data forms & actions. Jim >From: "Galbreath, Mark" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> >Subject: RE: Struts and high performance sites >Date: Tue, 24 Sep 2002 08:10:21 -0400 > >That's a ridiculous statement. Of course EJBs scale - that's precisely >what >the technology was designed for. > >Mark > >-----Original Message----- >From: Daniel Joshua [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, September 24, 2002 6:07 AM > >V. Cekvenich, > > >The slow part is DAO in J2EE (and ADO in .NET). Avoid any EJB, they do > >not scale. > >I though EJBs were designed to allow scalling? > > >Regards, >Daniel > > >-----Original Message----- >From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich >Sent: Tuesday, September 24, 2002 5:56 PM >To: [EMAIL PROTECTED] >Subject: Re: Struts and high performance sites > > >Not a high volume of users, and 7 transactions per second? Should fit on >a single medium box (if not a laptop) if you do it right. > >You have to worry about creating objects if you write your own framework >(you can put beans in session or requests, and request is better >mostly), and then you have 2 projects, your app and a framework, and you >won't do better than the Struts team and what about framework bugs? >Also, with Struts, my clients are able to write several modules(pages) >per day per developers, how's that for productivity or beating the >schedule? >Some of the Struts sites are 50 times more concurrent users I have >worked on, no problem. > >The slow part is DAO in J2EE (and ADO in .NET). Avoid any EJB, they do >not scale. > >Some good choices is RowSet(I do metadata w/ reflection to auto gen SQL >updates - RowSet also avoids BO/DTO/VO mapping and GC), Resin, pgSQL, >Eclipse or CodeGuide IDE, Linux/KDE and J:Rockit VM or IBM VM (Sun VM >and Sun Inc. have issues). Sample good practices code on >http://basicPortal.sf.net, FREE! > >(If you have a large app or large # users, let a mentor help. many are >on this list, it is cost effective, but not because of Struts only) > >V. >Struts Mentor >917 345 1445 [EMAIL PROTECTED] >("Mentor's helps you do it faster/cheaper) > > >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 > > > > > > ____________________________________________________________ > > Tired of all the SPAM in your inbox? Switch to LYCOS MAIL PLUS > > http://www.mail.lycos.com/brandPage.shtml?pageId=plus > > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> Jim Young Northern Objects Inc. 905 781-7019 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

