Also, what kind of CPU(s) are we talking about?  And when you say that  
your server is "brought to its knees", do you mean that other process  
are not able to get any CPU time and that they are having to wait?   
Rather than percentage of CPU usage, a better statistic is to consider  
your server's load average (I don't know how to get the load average on  
a Windows box, but on Unix, type "uptime").  If your load is high  
(meaning consistently more than 1 per CPU), then you have problems,  
because that means that other process are having to wait for cycles.   
But just having your CPU spike for a few seconds isn't necessarily bad  
as long other processes aren't kept waiting.  If no other process need  
CPU time, it makes sense for one or two process to use as much as they  
can.

Christian

On Thursday, March 13, 2003, at 07:55 PM, Erik Yowell wrote:

> How big are your docs? Are you looping through data and doing an
> XMLparse? Is an XML parse fully necessary? Perhaps a Regex might fit
> better? Without seeing the underlying code or your desired end result,
> it's hard to tell.
>
> AFAIK, ASP/COM solutions are crappy at text parsing, if there's one
> thing Java is good at - it's crawling through text.
>
> Also remember w/ CFMX you're no longer limited to just inherit
> functionality. I believe CF uses Crimson, if I'm not mistaken. Solid  
> for
> most peoples needs, but there are others for the performance driven
> tweakers - try some other Java solution, make your own class. Ahh, the
> wonders of a java based app server.
>
> Here's a couple of interesting parsers that were recently featured on
> freeroller.net:
>
> Piccolo - http://piccolo.sourceforge.net/
>
> Sparta - http://sparta-xml.sourceforge.net/
>
> Erik Yowell
> [EMAIL PROTECTED]
> http://www.shortfusemedia.com
>
>
> -----Original Message-----
> From: Jay Jennings [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 4:42 PM
> To: CF-Talk
> Subject: XMLParse at 100%
>
> Is XMLParse() pegging the CPU at 100% (sometimes for a few seconds)
> something that's normal? If I switch to an ASP-based version of that
> will I see better performance? Right now the routine using XMLParse()
> is bringing the server to its knees a little too often.
>
> Most of the app has already been switched to .NET and this problem is
> helping to put the final nail in the CF coffin at my company. Any help
> would be greatly appreciated.
>
>   Jay Jennings
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to