Thanks: - some hmmm-evoking replies in there. Sean - I did try before I posted and did not notice the restriction - I was using a very simple presentation, switching between browsers on localhost. I can't think of a quick way to test this without load testing software. or more computers manned by friends who had been promised beer hitting a real server.
On 8/1/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > 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 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285033 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

