> I have a web app that at times can make many outbound http calls.  For 
> example I have a page that collects various rss feeds
> from other sites and then parses them and finally displays them all on one 
> page for the user.  I have a few questions.:
>
> Is there a limit to the number of outbound http calls CFMX 9 can make?

Not specifically, but as Russ and Cameron have mentioned, there is a
limit to the number of threads that can run. And running serial HTTP
requests is going to be sloooooow. You could increase the thread
count, then use CFTHREAD to run some of these concurrently if you
really need to be doing them at serve time.

> Is there a way I can see the total number of outbound http calls going on?

I'm not aware of anything in CF that would specifically let you see
the number of outbound HTTP requests, but you could certainly see what
scripts are being executed by what threads, so if you had a concurrent
CFTHREAD approach, you could get a pretty accurate count. You could
monitor network connections outside of CF to see how many outbound
HTTP requests the machine is making, of course.

> It would seem to me that this is a poor design under load conditions.  Is 
> there a better way to fetch off site content?

Yes, you should ideally do it either before (via caching) or after
(via asynchronous processing) the user wants this content, instead of
exactly when the user wants it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353240
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to