Ok I must have missed the first email.
You can in that case use CFTHREAD to free up the current request so that it
does not delay the page load, or you can still use ajax. Ajax is simply a
client side call to a server side component, so you can still execute CFML
and load your files.

Russ 

-----Original Message-----
From: David McGraw [mailto:[email protected]] 
Sent: 30 October 2010 20:58
To: cf-talk
Subject: Re: Latency Issues when pulling data from other websites


Russ, I would assume he's using Amazon services for files that need more
than just loading images on a web page, but for something like a image
gallery, or something else that requires loading on the server side, which
is why his question is about requesting the file using CF.

On Sat, Oct 30, 2010 at 3:53 PM, Russ Michaels <[email protected]> wrote:

>
> 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:[email protected]]
> 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:338700
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to