I didn't mean to imply that there wasn't a dumb way to use cflock :D,
just that its *proper* use is going to give good results and the reverse
can *generally* be counted on to do the opposite.  My point was that if
you are going to use shared scope vars, lock 'em always.

--------------------------------------------
 Matt Robertson       [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com
--------------------------------------------

-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 12, 2003 2:00 PM
To: CF-Talk
Subject: Re: Another Locking Question


On Sunday, Jan 12, 2003, at 13:23 US/Pacific, Matt Robertson wrote:
> I have yet
> to see any instance where locking instituted any noticeable
performance
> penalty at any level.

If you lock within Application.cfm, you will single-thread your 
application and it will not scale. For low-traffic applications, that 
may be fine.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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