Re: Possible to optimise CFHTTP Response Time?

2014-02-20 Thread Byron Mann
Very good question actually, we recently had networking issues on some of our vps hosts where customers were reporting the same type of issue. Low pings but slow httpresponses. Turns out the host nodes had traffic shaping configured which basically maxed at 1 Gb even though the physical

Re: Possible to optimise CFHTTP Response Time?

2014-02-19 Thread Mack
On Thu, Feb 13, 2014 at 4:57 PM, Craig Brown craigpbr...@gmail.com wrote: 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. Are

Re: Possible to optimise CFHTTP Response Time?

2014-02-14 Thread Craig Brown
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

Re: Possible to optimise CFHTTP Response Time?

2014-02-14 Thread Craig Brown
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

Re: Possible to optimise CFHTTP Response Time?

2014-02-14 Thread Dave Watts
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. ... From having a long read about online I think the length of time it is

Possible to optimise CFHTTP Response Time?

2014-02-13 Thread Craig Brown
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

Re: Possible to optimise CFHTTP Response Time?

2014-02-13 Thread Russ Michaels
a cfhttp is not the same as a ping a ping simply sends a packet to the server and gets a response. cfhttp is requesting a page from the server, that request goes to the web server, then to cf, the page has to execute and then return all data back to your server, so the time taken depends on how

Re: Possible to optimise CFHTTP Response Time?

2014-02-13 Thread Craig Brown
a cfhttp is not the same as a ping a ping simply sends a packet to the server and gets a response. cfhttp is requesting a page from the server, that request goes to the web server, then to cf, the page has to execute and then return all data back to your server, so the time taken depends on how

Re: Possible to optimise CFHTTP Response Time?

2014-02-13 Thread Russ Michaels
if it is the page you are calling which is taking the time then no, because it is not the request which is the cause. A suggested you need to check how long the page you are requesting takes to execute before blaming the connection. On Thu, Feb 13, 2014 at 3:22 PM, Craig Brown

Re: Possible to optimise CFHTTP Response Time?

2014-02-13 Thread Dave Watts
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