> It may have been a crazy dream but I thought I read
> somewhere that when CF
> enters an error state the performance of the server, or
> more importantly
> it's ability to serve pages, is impeded. Does anyone have
> any thoughts or
> links to any evidence to that effect? Specifically, we
> have some errors
> generated when spiders hit our sites and incorrectly
> reassemble SES urls,
> for example /index.cfm/abc/123/etc.cfm. I know we can do
> some clever stuff
> but we are discussing the implications of removins SES
> urls from our
> applications altogether and I know our sysadmin would play
> hell if I could
> show him that the box is on it's knees when it moves into
> an error state.
> This would win the war against the marketing guys who like
> to sell SES urls.

> Thanks in advance,
> Adam Howitt


I wouldn't imagine it would be terribly difficult to test the
theory...

<cfset starttime = getTickCount()>
<cfloop index="x" from="1" to="10000">
<cftry><cfset y = x>
<cfcatch></cfcatch></cftry></cfloop>
<cfset ms = getTickCount()-starttime>
<cfoutput>normal time = #ms# milliseconds</cfoutput>

<cfset starttime = getTickCount()>
<cfloop index="x" from="1" to="10000">
<cftry><cfset y = x/0>
<cfcatch></cfcatch></cftry></cfloop>
<cfset ms = getTickCount()-starttime>
<cfoutput>error time = #ms# milliseconds</cfoutput>

I don't know if I'd describe it as "on its knees" but raising an error
definately does require a few extra cycles... This is a pretty crude
test tho -- if you really wanted to know the genuine impact, you'd set
a load-testing tool like the MS web stress analyser against the
application.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to