Just want to say that that "first hit" penalty you refer to has 2 aspects
that may mitigate somewhat the pain:

- only the very first time the code is hit (after the template is created or
edited) will the pain of compiling be suffered. This could be a matter of
seconds. Hopefully, Macromedia may come out with something (as is available
in the JSP world) to pre-compile templates so that end users don't suffer
that penalty.

- after a CFMX server restart, there will be another minor "penalty" the
first time someone accesses the template when it's loaded into CF. This
should be just a matter of milliseconds, though how many will depend on the
size of the template and the speed of the server, etc. From then on, there
should no longer be any penalty.

Both of these issues could maybe be addressed by having a suite that runs
through your code overnight to cause it to be compiled/loaded after a
server-restart (assuming you restart each night).

There may be other tricks we come all up with. :-)

Then, too, just as was true with CF5 and before, the very first template run
after restart also seems to incur a little penalty. I've always noticed it,
but I've now proven it. It's only about 700 milliseconds in my testing, but
again if someone wanted to guarantee that a use didn't see that, you'd want
something to be fired after a restart. Ay cf template would do. In a prod
env, this could be a CHSCHEDULEd thing.

/charlie

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Steve Budan
> Sent: Monday, May 13, 2002 9:55 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [CFTALKTor] MX Preview Release DB Problems
>
>
> Well not that particular problem. Most (ok all) of my problems have been
> self inflicted. I uninstalled and reinstalled a couple of times :-(
>
> I'm not liking the speed and debug info. The speed I hope is
> related to the
> "preview" status of CFMX and that its running on a pokey testing machine.
> That "first hit" is brutally long.
>
> The debug info, well I guess I like the "classic" look, but I have trouble
> finding info. I also seem to get references to non-existing lines
> in pages.
>
> Steve Budan
>
>
> -----Original Message-----
> From: John Jonathan Kopanas [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [CFTALKTor] MX Preview Release DB Problems
>
>
> Does anyone know what CF MX ODBC Server/Agent services do?  Might won't
> startup on my MX preview release.  At the same time when I go
> into CF admin
> and verify the DB connections all of them come back with an error.  Is
> anyone else having this problem with the newest release of MX?  Any tips?
> :-)  Thanks.
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "John Jonathan Kopanas"
> <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)
-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: Steve Budan <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "charles arehart" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to