Alrighty. You have proven that you do understand the needs of a multi-user environment. Then why the resistance to CFLOCK'ing? That I don't understand. I am sorry if my assumptions offend you, but I just don't understand the need to debunk the need for semaphores.
This: "If you're going to speculate about someone, start by making up a name. Then we will all feel unfettered and able to appreciate your soaring imagination." I don't understand. My limited intelligence is showing. :P Oops. BTW, the DBMS wasn't DB/2, was it? I am not sure OS/2 v.1 has preemptive multi-tasking and I think it was a 16-bit OS. I was a big fan of OS/2 Warp and OS/2 Warp v4 though (IBM WebExplorer was soo cool when it came out! :)). :) Then Win2K happened. :D Anyway, unlike the AS/400 OS'es, OS/2 v.1 was not meant to handle high load like a web app would see, I think. I can be very wrong of course. :P ---------------------------- James Ang Senior Programmer MedSeek, Inc. [EMAIL PROTECTED] -----Original Message----- From: Keith [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 2:45 PM To: CF-Talk Subject: Re: RE: Application Slow Down was RE: Absolutely necessary to cflock session variables >> 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. Wrong. I was doing internal engineering on a multi-user DBMS in 1985. I was in charge of the port to OS/2 version 1. (Highly successful venture by the way--NOT) If you're going to speculate about someone, start by making up a name. Then we will all feel unfettered and able to appreciate your soaring imagination. ----- Original Message ----- From: "James Ang" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 4:18 PM 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] ______________________________________________________________________ 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