um, that's what I thought. Was chatting with coworkers today about this too. Their concern was thread use. Threads used in the async gateway are part of the pool in the JRun instance, no? So, if you have a box getting good load, introducing a script that runs in this parallel fashion, this would eat up more threads, eh? So, is it really beneficial? I suppose the answer is, 'it depends', but curious on thoughts on this.
DK On 6/6/05, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > > I have not been able to play with this stuff yet, but D. > > Cooper's blog entry > > had this > > "Imagine spawning off long running DB queries in parallel, > > for example. Page > > response times for most existing CF applications, in fact, > > would probably > > have some place that could make use of such a capability > > to dramatically > > make the user experience better." > > > I'm really curious on how this could be accomplished. How > > can you break up > > one long running query to run in parallel? > > The answer is you don't... What he's describing is either executing a > long-running query without interrupting page delivery (if the query > results aren't needed for display), and/or executing multiple queries > simultanously (which may or may not be "long running"). But as the API > for asynch doesn't natively provide the ability to return a response > from the gateway to the calling page (something Sean's tools are > designed to accomplish), the gateway isn't really designed with the > intent of gathering content needed to deliver the current request. > Rather it's designed primarily for features such as logging > application activity to a database which can sometimes slow page > delivery without providing any content for the user during the current > request. In a nutshell, the asynch gateway is essentially designed as > a "fire and forget" tool. > > > s. isaac dealey 954.522.6080 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208753 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

