None,
That was EXACTLY the kind of information I was looking for! Thanks for the 
deatiled answer.

My god that homegrown framework must have been a beast to convert, but I bet 
the app is sure happier now that its using Struts.

Best,
Riyad

On Wednesday 26 May 2004 03:00 pm, None None wrote:
> My config file for a project I'm currently working on is 7k, and that's NOT
> counting comments (something like 16k counting them - I'm a comment freak).
> Since it's only parsed once at startup, I wouldn't be too overly concerned
> about performance.  Yes, your talking about a lookup for each request, and
> I'm not familiar with how it's stored internally (just a HashMap maybe?),
> but I wouldn't suspect it's a huge concern.  I can't speak to how typical
> that size is of course, but it's one example.
>
> I should also point out that the app I'm referring to was originally built
> on a homegrown framework (I didn't write it, so don't laugh at ME when I
> tell you this)... it used a very convoluted mapping XML file structure,
> much more complex than struts-config, and the that version of the file was
> 43k! Again, NOT counting comments!  And to make matter worse, this file was
> actually parsed WITH EACH REQUEST!!  But, and here's where I get to a point
> (aside from the fact that those that wrote that framework didn't know their
> a** from their elbows)... performance even under those conditions with a
> halfway decent load (50 concurrent users at any given time on average) was
> perfectly acceptable.  And it wasn't a monstrous server either (Dual
> P2-550's with 1G RAM and a SCSI array internally).
>
> So, I wouldn't be too concerned with the size of your struts-config, unless
> someone else has reason to disagree.  A couple of K wouldn't concern me.
>
> >From: Riyad Kalla <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: How long are your struts-config files? Should I worry about
> >performance?
> >Date: Wed, 26 May 2004 12:36:58 -0700
> >
> >I'm curious what the size of some of the verteran programmer's
> >struts-config.xml files are. Mine is approaching 2k lines right now, and
> >I'm
> >about 1/2 done with the project I'm working on.
> >
> >I don't know if I should really start worrying about performance/other
> >issues,
> >or if this is normal and I should smile and keep working.
> >
> >Thanks!
> >Riyad
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> _________________________________________________________________
> Express yourself with the new version of MSN Messenger! Download today -
> it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to