> > > ...and this is a pretty unusual use case with all the analytics packages
> > > out there. Really, I have a pretty hard time thinking of a good use case
> > > with race conditions that goes beyond a contrived impractical example.
> >
> > Someone on cf-talk had a race condition just last week, around their
> > authentication process. Of course, it was because of how their code
> > was structured, and probably didn't need CFLOCK to resolve.
>
> Race conditions certainly exist.  Specifically though, race conditions
> involving session variables which can be resolved using CFLOCK, are
> relatively uncommon.
>
> In my personal experience anyway...

I'm not sure I'm disagreeing with you. Most race conditions that I see
can be resolved without CFLOCK, but not all - specifically around
components used during authentication/user initialization/etc. The
primary reason for them seems to be that developers just don't think
about concurrency.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to