If you are using cfhttp to retrieve the image, add a timeout value to it and
code for the case in which id doesn't come back in time.  Or you can utilize
ajax to do your retrievable so the entire page is presented, and then a
secondary process retrieves the files post page load.

Regards,
David McGraw
Oyova Software - Jacksonville - http://www.oyova.com


On Sat, Oct 30, 2010 at 3:19 PM, Richard Steele <r...@photoeye.com> wrote:

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

Reply via email to