Yes. cfhttp will do the same thing. It is a problem if your site depends on a Web service to work. Put timeouts on your calls and handle the failures well. Get the Web service folks to speed up their server. Optimize the network connection.
The other option is to rewrite the code to run asynchronously, but this is non-trivial. If this is a big problem and you can't control the Web service, asynchronous calls are your best bet. CFMX 7 Enterprise has the asynchronous capability, although you might look at the cfthread tag to see if that helps. Another option is caching more data, or automatically falling back to an alternate way of getting the content if the Web service exceeds a certain average response time. Try to give the application a dedicated server or ColdFusion instance. If you put other CF sites on the same server, those other sites will also stop working when the eight threads are gone. If threading is the limitation, adding more processors is a solution. I believe most every programming language would have this issue, since most code is synchronous by default. So offloading the call to .NET or Java won't solve your problems if those .NET and Java calls are not set up to be asynchronous. I hope that helps, Mike Chabot On 6/19/07, Randy Johnson <[EMAIL PROTECTED]> wrote: > Hello, > > I have been using the cfx_http tag doing some web service calls. If the > webservice is slow in responding while the site is busy it will lock up > the 8 available threads available. > > Would cfhttp do the same thing? > > I know I should be using timeouts to help with this issue, but what else > can I do? I find it weird that 8 simultaneous cfx_http tags can tie up > the whole server. > > Thanks! > > Randy > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

