Sean, >On 7/31/07, Greg Fuller <[EMAIL PROTECTED]> wrote: >> I think this means that I can have unlimited viewers on any one >> presentation at a time. Is that right? > >I feel tempted to say: why don't you try it and see what happens? > >The answer is: the engine single threads the *generation* of a >presentation. The presentation is generated on-demand and then a user >sits and watches it. If five people request a presentation "at the >same time" then the preso will be generated five times in succession, >single-threaded, and then each of those five users will sit and watch >the presentation simultaneously.
I know the MXML generation in CFMX8 uses a hash to see if the MXML has changed--if not, then no new file is compiled. This means as long as the MXML doesn't contain information that would necessarily change for each user, then the it doesn't need to be recompiled on each request. I would imagine the presentation stuff would work the same way--and if so that means the single threaded issue could be even less of an issue. Now, I haven't touched the <cfpresentation /> stuff at all, but you should be able to confirm this by creating a very simple presentation that includes a static word (or a variable with a static value.) Check the date/time stamps on the file. If it doesn't change in between various page requests (and looks to have a hash-based file name) then it's extremely likely they're on recompiling the file when the content has changed. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285028 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

