> I have an API running on my server where I can receive an average ping 
> response to the host server of 1ms yet when I make a CFHTTP request to 
> the host server it takes anywhere from 300-500ms to return a response.
> 
> 
> Anyone have any ideas what might be causing this latency, and how I 
> could decrease it? 
>From having a long read about online I think the length of time it is taking 
>is perhaps down to each cfhttp request having to open a new https connection 
>(although I'm passing a keep-alive connection request header) and closing the 
>connection after each request completes?

I know there's a HttpComponents library but I've only ever used CF tags so 
don't know if this is a possible solution to help me maintain a persistent 
https connection or how I'd even start going about implementing it? Do I put it 
inside a CFFunction, CFScript etc? 

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

Reply via email to