Re: Lock question

2007-10-25 Thread Rick Root
On 10/25/07, Gaulin, Mark <[EMAIL PROTECTED]> wrote: > > A refinement would be to only lock if the application data was not > defined (so, test for it and return if it is defined) and, within the > lock, to retest for it being defined (just as you have now). The test > within the lock is to avoid a

Re: Lock question

2007-10-25 Thread Tom Chiverton
On Thursday 25 Oct 2007, [EMAIL PROTECTED] wrote: > Yeah, that sounds right. You could add a call to wget (or whatever) the results to your server's start up script too. -- Tom Chiverton Helping to simultaneously conquer enterprise action-items on: http://thefalken.livejournal.com

Re: Lock question

2007-10-25 Thread Mike Chabot
You could have a block of code inside of OnApplicationStart where all the query caching takes place, and put a cflock around that block of code, instead of altering all 55 queries. If the queries are cached OnApplicationStart, I would have high confidence that you wouldn't need to lock them when us

RE: Lock question

2007-10-25 Thread Gaulin, Mark
lto:[EMAIL PROTECTED] Sent: Thursday, October 25, 2007 8:33 AM To: CF-Talk Subject: Lock question I have a flex app that uses a single cfc method to populate all of its drop down lists. The method is called getListData It runs 55 queries, and stores the results of those queries in a structure, and r

Lock question

2007-10-25 Thread Rick Root
I have a flex app that uses a single cfc method to populate all of its drop down lists. The method is called getListData It runs 55 queries, and stores the results of those queries in a structure, and returns the structure to Flex. This works great, but it's a performance drag - especially if 10

Re: Another YAFLAQ (yet another f****** lock question)

2000-12-05 Thread Peter Theobald
MAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Monday, December 04, 2000 11:24 AM >Subject: RE: Another YAFLAQ (yet another f** lock question) > > >> Why are you locking the entire page? >> >> -Original Message----- >> F

RE: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Peter Theobald
You aren't the famous Ron Popeil of Ronco, are you? ... Big fan of your commercials... At 01:38 PM 12/4/00 -0600, [EMAIL PROTECTED] wrote: >> Subject: Another YAFLAQ (yet another f** lock question) > >I love those YAFLAQ commer

Re: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Gregory Harris
ED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, December 04, 2000 11:24 AM Subject: RE: Another YAFLAQ (yet another f** lock question) > Why are you locking the entire page? > > -Original Message- > From: Gregory Harris [mailto:[EMAIL PROTECTED]] &

RE: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Phoeun Pha
: CF-Talk Subject: Another YAFLAQ (yet another f** lock question) Ok, we all know that CFLOCK will lock up a page to single-threaded mode, but my question is, if a Locked template encounters a CFINCLUDE statement, will it lock up the resources in that page as well, for instance: I have Page A,B

RE: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread ron
> Subject: Another YAFLAQ (yet another f** lock question) I love those YAFLAQ commercials. :) -ron ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: h

RE: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Jones, Matt
Why are you locking the entire page? -Original Message- From: Gregory Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, December 04, 2000 11:47 AM To: CF-Talk Subject: Another YAFLAQ (yet another f** lock question) Ok, we all know that CFLOCK will lock up a page to single-threaded

Re: Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Peter Theobald
What does the 'A' stand for in "YAFLAQ"? I *think* once a lock is opened it will remain open (locked) until either you close the lock explicitly, or the lock's scope (page) goes away. So while the INCLUDE is being processed the lock is still "on". But remember, CFLOCK does not go into single-th

Another YAFLAQ (yet another f****** lock question)

2000-12-04 Thread Gregory Harris
Ok, we all know that CFLOCK will lock up a page to single-threaded mode, but my question is, if a Locked template encounters a CFINCLUDE statement, will it lock up the resources in that page as well, for instance: I have Page A,B, and C Page A is locked up within a CFLOCK statement, but includes