> 1.    What does CFMX do about caching CFC's? Does it cache them? Does
> it cache them along with parameters? 

An instance of a CFC is like any other variable. So, if X is a CFC, it
will be removed at the end of the page. If Session.X is a CFC, it will
last as long as the session. Etc.

> 2.    Let's assume a CFC method requires 3 seconds for output in
> testing. Once in production, let's assume that load is 
> significant enough such that the CFC will be invoked every 
> second. Will the invocation have to wait for the CFC to 
> finish processing the previous one? I guess another question 
> I'm asking is - do CFC's support multi-threading?

It should not have to wait since every call to the CFC would be
separate. This _should_ be like any other CFM request. 

> 3.    If they don't, is there something I can tweak/change/do to make
> them better handle near-simultaneous requests?

In case like what you describe, I'd cache the CFC in the application
scope so it doesn't have to be recreated each time. That won't help the
slow method, but it will at least remove _some_ of the execution time.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to