Ideally do not use CF to get the image.
Either link to it directly using the img tag or use ajax then it all happens
client side and will not stop your page loading.

Russ

-----Original Message-----
From: Richard Steele [mailto:r...@photoeye.com] 
Sent: 30 October 2010 20:20
To: cf-talk
Subject: Latency Issues when pulling data from other websites


What's the best way to deal with latency issues when pulling data from other
websites? For example, if we are pulling an image from amazon's web
services, and for whatever reason, that image takes 10 or 20 seconds to
retrieve because of internet network congestion or router problems, then
that request can hang awaiting the response. If there are ten or twenty of
these requests in a minute, then they can effectively hang the CF server.
How do developers deal with this potential problem?

Thanks in advance.  



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:338698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to