Yes (sigh) - lock em all.  And as far as performance, unlocked variables may
initially cause your ap to run faster, but the random deadlocks are going to
hang it periodically - which makes your Server a sprinter (and you want a
marathon runner - trust me).

-----Original Message-----
From: John Kivus [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 5:29 PM
To: CF-Talk
Subject: CFLOCK all the time?


We're currently having a debate over programming standards at my
company. Should we CFLOCK every session and application variable or just
application variables? I know that using CFLOCK can cause some
performances issues. What do other people think?

John Kivus
IQ Interactive

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to