jqcf wrote:
> Is the information in this article still pertinent with
Coldfusion 8?
>
http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practices.html
My understanding is that ALWAYS locking is now out-of-date
advice.
There where bugs that caused performance issues if one did
not lock
everything back in the 4.x days. But I have read that this
has been
long resolved.
So the advice I advocate is to intelligently lock, when the
application
logic requires it. I.E. Lock when there is a race condition
and that
race condition can cause improper program execution.
The reason to not just lock everything, every time is that
there can be
severe performance consequences to doing this. That article
does give
some good advice on this to minimize the consequences. But
why restrict
an application in such a way if it is unnecessary.