Hi, we've just moved a large application from CF8 to CF10 and are seeing that CFHTTP performance is *much* slower on the new system.
We've verified this by sequentially running 50 CFHTTP calls to small static assets on an Apache server, measuring the response times with gettickcount(), and averaging over several runs.
On our old (Ubuntu + JRun + CF 8) installation, we're averaging about 1 ms per request.
On our new (Centos + CF 10 standalone) installation, we're averaging 5000 ms per request. That's 5000 times slower.
We initially suspected that this was related to original blog post cited in the aforementioned thread), but that has not helped either.
as the first request in a test run would return relatively faster (a few hundred ms in total) compared to all subsequent requests in that run. However, attempting to modify the JVM settings as prescribed did not resolve the issue. We've further tried using alternative entropy-generating tools (as recommended in the
Note that we've also tested http performance outside of CF by using wget from a shell script, where we saw good performance (approx 1ms per request).
All help on this issue will be greatly appreciated, thanks!
Update: just tested the CF+Java-based CFHTTP alternative http://coldfusion9.blogspot.com/2012/03/custom-cfhttp-tag.html
It required a few minor bug fixes, but is greatly outperforming CF 10's CFHTTP, averaging 33 ms per request (still much slower than CF 8, but usable for most purposes). Nonetheless, I'm still looking for a fix to restore appropriate speed to CFHTTP!
Message was edited by: Jon Obuchowski to add testing with custom CFHTTP tag