Dave,

The more important question is, what are the concequences in stability of
/not/ using cflock?  The #1 stability problem in CF (by a wide margin) is
the unlocked use of application, session, and server variables.

For session variables, <cflock scope=session> will only single-thread a
browser session, so there should be no noticable problems in performance at
all, unless (a) you exclusive-lock large blocks of code, /and/ (b) you are
using a frames-enabled site, where more than one frame uses code with locks.
(In this case, it may appear that one frame loads before another frame,
rather than them both loading simultaneously.  On the other hand, it often
looks like that even if both /are/ theoretically loading simultaneously.)

For more info on locking, see Jim Schley's article in the Developer's Zone,
"ColdFusion Locking Best Practices", at:
http://www.allaire.com/handlers/index.cfm?id=17318&method=full

Daryl Banttari
Sr. Consultant
<allaire consulting>

----- Original Message -----
From: "Dave Gammage" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 12:13 AM
Subject: [KCFusion] CFLOCK usage


> Hey all!
> We are designing a document builder application for our customers.
> Needless to say, there are a LOT of session variables (6 to 9 queries, 8
> to 10 variables each). What are the potential problems with overhead using
> CFLOCK in this application?
> Thanks!
>
> Dave Gammage
> Web/Database developer
> Uhlig Communications
>
>
> ______________________________________________________________________
> The KCFusion.org list and website is hosted by Humankind Systems, Inc.
> List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
> Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
> To Subscribe.................... mailto:[EMAIL PROTECTED]
> To Unsubscribe................ mailto:[EMAIL PROTECTED]
>


 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to