My bad. Sorry. I will keep this discussion off list now.

I hope I get the point across to the folks here that CFLOCK is a
necessity rather than an option.

----------------------------
James Ang
Senior Programmer
MedSeek, Inc.
[EMAIL PROTECTED]


-----Original Message-----
From: Cravens, Billy [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 14, 2002 2:58 PM
To: CF-Talk
Subject: RE: RE: Application Slow Down was RE: Absolutely necessary to
cflock session variables


This is just keeps getting sadder and sadder.  Why do people always feel
they have to wage these wars in front of the list, when a post
one-on-one off-list post would suffice?  I suppose integrity,
professionalism, and respect of the community aren't that important.

---
Billy Cravens
 

-----Original Message-----
From: James Ang [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 14, 2002 4:19 PM
To: CF-Talk
Subject: RE: RE: Application Slow Down was RE: Absolutely necessary to
cflock session variables

"Try this formula:  simple statement + irrelevent speculation = random
idiocy"

Ouch! :)

I am assuming:

Simple Statement == "Single Thread" the server
Irrelevant Speculation == "CFLOCK is mucho importante!"
Random Idiocy == James' dumbo statements

Well, I am not sure what you have learned in your 20+ years of
computing, but I am guessing you don't code for multi-user environments
that much. I am sure you have heard of the need for semaphores (aka
mutex() et al) for multiple operations that need to be atomic. Imagine
you have a set of shared data that needs to be modified all at the same
time due to interdependency (interdependent but not derived from each
other). Without CFLOCK/semaphore/mutex(), you cannot guarrantee
consistency. If you see how a typical enterprise level RDBMS is
designed, you would know that mutex()/semaphores are used all over to
prevent collisions.

I am not trying to say that I am superior compared to you. I am very
certain that you know more than I do with respect to many things in
computing. I am just pointing out stuff that you obviously do not
understand. Web applications by definition are supposed to be designed
for load. :) The single thread everything is kinda wrong due to
scalability issues as Dave Watts have pointed out numerous times.

I started coding back in college in 1994/95 (BASIC in 1984 does not
count :P). Play algorithms and stuff. The fun stuff started in 1997 when
I played with supercomputers and parallel algorithms. That's where I
appreciate the need for serial access to shared and interdependent
resources. Heck, that was also the year I was introduced to CFML. So,
all in all, I have only 7 years of experience and compared to your two++
decades, 'tis nothing. :)

When Simple == Elegant == Robust, that is a win-win-win. But if Simple
== Elegant == Craps Out Really Badly Under Load, that is lose-lose-lose.
I would rather have Robust+Scalable than simple but stupid.

And, no, I am not offended by your statements. And I hope I have not
offended you with mine. I just want the folks here in this list to
appreciate the often underused, and yes, difficult to understand,
CFLOCK. I am just very surprised that our resident jedimaster did not
jump on this argument. :P

----------------------------
James Ang
Senior Programmer
MedSeek, Inc.
[EMAIL PROTECTED]




-----Original Message-----
From: Keith [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 14, 2002 11:06 AM
To: CF-Talk
Subject: Re: RE: Application Slow Down was RE: Absolutely necessary to
cflock session variables


>> So, uhm, Keith? Please don't feel offended.
>> Experience + Knowledge = Wisdom. What
>> you have is probably plenty of experience,
>> but not enough of "knowledge".

I've been a software engineer for over twenty years.  But go ahead,
continue
to feel superior.  After all, you are you, aren't you?  And nobody else
can be
you like you can; wise old salt that you are. Congratulations.

Try this formula:  simple statement + irrelevent speculation = random
idiocy

I love this crap where relating simple experience leads to mass
assumption of
incompetence.  It happened the last time I posted on this topic.  I
should
learn.

===================================
WARNING: Enabling the SINGLE THREADED APPLICATION option in the
ColdFusion
Administrator will lead to obvious and massive criticism and career
degradation.  To be safe, use CFLOCK around each reference to anything
that
may be seen by more than one person.

*The preceding dogma has been certified safe by the CF-LIST Monocultural
Philosophy Committee.  Deviation from The Philosophy is punishable by
ridicule.
===================================





______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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