RE: Caching cfc objects in the application scope

2003-08-17 Thread Raymond Camden
/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Sean A Corfield [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 17, 2003 12:37 PM > To: CF-Talk > Subject: Re: Caching cfc objects in the appl

Re: Caching cfc objects in the application scope

2003-08-17 Thread Sean A Corfield
Did this get fixed by CFMX 6.1? On Tuesday, Jul 8, 2003, at 03:20 US/Pacific, Raymond Camden wrote: >> >> On Monday, Jul 7, 2003, at 06:49 US/Pacific, Raymond Camden wrote: >>> Ok, so I ran the test using the server scope and was able >> to reproduce >>> the problems there as well. Very odd that

RE: Caching cfc objects in the application scope

2003-07-08 Thread Barney Boisvert
- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 3:20 AM > To: CF-Talk > Subject: RE: Caching cfc objects in the application scope > > > > > > On Monday, Jul 7, 2003, at 06:49 US/Pacific, Raymond Camden wrote: > > > Ok, so I ran the

RE: Caching cfc objects in the application scope

2003-07-08 Thread Raymond Camden
> > On Monday, Jul 7, 2003, at 06:49 US/Pacific, Raymond Camden wrote: > > Ok, so I ran the test using the server scope and was able > to reproduce > > the problems there as well. Very odd that it didn't show up on your > > end. > > Well, that's good to know (in a way). Could it perhaps... pos

Re: Caching cfc objects in the application scope

2003-07-07 Thread Sean A Corfield
On Monday, Jul 7, 2003, at 06:49 US/Pacific, Raymond Camden wrote: > Ok, so I ran the test using the server scope and was able to reproduce > the problems there as well. Very odd that it didn't show up on your > end. Well, that's good to know (in a way). Could it perhaps... possibly... be some s

RE: Caching cfc objects in the application scope

2003-07-07 Thread Raymond Camden
rfield [mailto:[EMAIL PROTECTED] > Sent: Friday, July 04, 2003 11:56 PM > To: CF-Talk > Subject: Re: Caching cfc objects in the application scope > > > On Friday, Jul 4, 2003, at 22:03 US/Pacific, Raymond Camden wrote: > > While I agree that the load I encountered was minima

RE: Caching cfc objects in the application scope

2003-07-07 Thread Raymond Camden
t; From: Brook Davies [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 06, 2003 4:40 PM > To: CF-Talk > Subject: RE: Caching cfc objects in the application scope > > > Raymond, > > In this code here the array is only populated in the first > position. So it > would onc

RE: Caching cfc objects in the application scope

2003-07-06 Thread Brook Davies
y.com/morpheus/blog >Yahoo IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > > > -Original Message- > > From: Raymond Camden [mailto:[EMAIL PROTECTED] > > Sent: Sunday, July 06, 2003 5:51 AM > > To: CF-Talk > > S

RE: Caching cfc objects in the application scope

2003-07-06 Thread Raymond Camden
y, July 06, 2003 5:51 AM > To: CF-Talk > Subject: RE: Caching cfc objects in the application scope > > > That's what confuses me - if the code did create an error, it > should do it every single time, that is, of course, assuming > that this branch of code is running

RE: Caching cfc objects in the application scope

2003-07-06 Thread Raymond Camden
oo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Brook Davies [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 05, 2003 10:46 PM > To: CF-Talk > Subject: RE: Caching cfc objects in the application scope > >

Re: Caching cfc objects in the application scope

2003-07-05 Thread Sean A Corfield
On Saturday, Jul 5, 2003, at 18:04 US/Pacific, Brook Davies wrote: > You have attempted to dereference a scalar variable of type class > java.lang.Double as a structure with members. The error occurred on > line 78. I'd be interested to see the code around line 78... Sean A Corfield -- http://www

RE: Caching cfc objects in the application scope

2003-07-05 Thread Brook Davies
he Force, and a powerful ally it is." - Yoda > > > -Original Message- > > From: Brook Davies [mailto:[EMAIL PROTECTED] > > Sent: Saturday, July 05, 2003 10:30 PM > > To: CF-Talk > > Subject: Re: Caching cfc objects in the application scope > > >

RE: Caching cfc objects in the application scope

2003-07-05 Thread Raymond Camden
it is." - Yoda > -Original Message- > From: Brook Davies [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 05, 2003 10:30 PM > To: CF-Talk > Subject: Re: Caching cfc objects in the application scope > > > Hi Sean, > > The code (at line 78) is inside a cfloop

Re: Caching cfc objects in the application scope

2003-07-05 Thread Brook Davies
Hi Sean, The code (at line 78) is inside a cfloop. Prior to the cfloop, I initialize this local var (at the top of the method): Then the cfloop looks like this: Then comes line 78: It works about 99% of the time and maybe 1 out of 1000

RE: Caching cfc objects in the application scope

2003-07-05 Thread Brook Davies
I have a CFC in the application scope that periodically returns this error: You have attempted to dereference a scalar variable of type class java.lang.Double as a structure with members. The error occurred on line 78. The CFC works with submitted form variables and copies them to a new struct

Re: Caching cfc objects in the application scope

2003-07-04 Thread Sean A Corfield
On Friday, Jul 4, 2003, at 22:03 US/Pacific, Raymond Camden wrote: > While I agree that the load I encountered was minimal, the odd thing is > that I _was_ able to recreate it, but only using a load tool like MS > WAST (is that the name) and the Apache one (can't remember it's name as > well). As s

RE: Caching cfc objects in the application scope

2003-07-04 Thread Raymond Camden
> > Right, which is really very low traffic - that's why I don't > think it's > a load issue per se (because we didn't hit any problems under much > higher load when we were using application scope - we changed > to server > scope for most things prior to deployment simply because server scop

Re: Caching cfc objects in the application scope

2003-07-04 Thread Sean A Corfield
On Friday, Jul 4, 2003, at 06:15 US/Pacific, Raymond Camden wrote: >> Can you perhaps quantify a little in terms of the level of >> stress that you have found to trigger this "behavior"? > In my case, the errors were occuring on cflib and my blog. I think > cflib.org gets around 2.5k requests per d

RE: Caching cfc objects in the application scope

2003-07-04 Thread Raymond Camden
> Can you perhaps quantify a little in terms of the level of > stress that you have found to trigger this "behavior"? In my case, the errors were occuring on cflib and my blog. I think cflib.org gets around 2.5k requests per day. My blog gets a lot less. > If it does turn out to be a "bug" and i

RE: Caching cfc objects in the application scope

2003-07-04 Thread Andre Mohamed
05:41 To: CF-Talk Subject: RE: Caching cfc objects in the application scope > On Thursday, Jul 3, 2003, at 08:53 US/Pacific, Raymond Camden wrote: > > It does improve performance. However, I (and others) have > found issues > > with CFCs that are cached and under load. (And I do

Re: Caching cfc objects in the application scope

2003-07-03 Thread Sean A Corfield
On Thursday, Jul 3, 2003, at 21:40 US/Pacific, Raymond Camden wrote: > The bugs I found were confirmed by MACR engineering, however, they were > always stored in the application scope, so maybe that had an impact. > Actually, since it was so easy for me to reproduce the bugs locally > with > a str

RE: Caching cfc objects in the application scope

2003-07-03 Thread Raymond Camden
> On Thursday, Jul 3, 2003, at 08:53 US/Pacific, Raymond Camden wrote: > > It does improve performance. However, I (and others) have > found issues > > with CFCs that are cached and under load. (And I don't mean > big honkin > > amazon.com load, just medium level load.) Issues like: > > "It do

Re: Caching cfc objects in the application scope

2003-07-03 Thread Sean A Corfield
On Thursday, Jul 3, 2003, at 08:53 US/Pacific, Raymond Camden wrote: > It does improve performance. However, I (and others) have found issues > with CFCs that are cached and under load. (And I don't mean big honkin > amazon.com load, just medium level load.) Issues like: "It does improve performan

RE: Caching cfc objects in the application scope

2003-07-03 Thread Raymond Camden
> > 1. What's the best way to copy a cfc into the application > scope? I've seen people do this in different ways? > Structcopy? Duplicate? You can't duplicate a CFC. Well, you can, but you don't end up with a CFC. You can, however, write your own Duplicate function. However, the easier soluti

RE: Caching cfc objects in the application scope

2003-07-03 Thread Rich Z
r your response, Rich -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:54 AM To: CF-Talk Subject: RE: Caching cfc objects in the application scope It does improve performance. However, I (and others) have found issues with CFCs that are c

RE: Caching cfc objects in the application scope

2003-07-03 Thread Raymond Camden
It does improve performance. However, I (and others) have found issues with CFCs that are cached and under load. (And I don't mean big honkin amazon.com load, just medium level load.) Issues like: 1) Methods not working anymore - in other words, you call foo() and the CFC forgets it has foo() (Thi