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 > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208802 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

