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
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
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
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
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
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
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
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]]
&
: 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
> 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
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
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
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
13 matches
Mail list logo