I'd first try to call a WS method that returns all the rooms inventory (if one exists). Also, it might be better to schedule the inventory check. that will depend on how frequently the inventory changes and how important it is to show real time inventory. I'd even run the schedule task every 2-3 minutes and grab all the inventory and store it in my db. that way, your site visitors won't have to wait 15+ sec (which is a lot in web world)
On Fri, Aug 21, 2009 at 7:34 AM, Rick Root <[email protected]>wrote: > > On Fri, Aug 21, 2009 at 10:13 AM, Jason Neidert<[email protected]> > wrote: > > > > Total execution time can be around 15+ seconds for the page to retrieve > > inventory for all rooms before displaying available ones. > > > > Thoughts?? > > Sounds like it might be a job for CFTHREAD.... Then the request can > run all web services requests simultaneously then join back together > after all 7 have completed. > > -- > Rick Root > CFFM - Open Source Coldfusion File Manager > http://www.opensourcecf.com/cffm > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325587 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

