Copy link to clipboard
Copied
Hi
We have CF MX7 running on a Win2003 server with Plesk. It is processing cfm pages quickly enough but then serves them up very slowly. So, a simple template which just has the number 1 - 32,000 listed out in plain text with a cfoutput to add a timestamp at the start and end of process takes many seconds to load in the browser, even though the timestamps show the CF page processing took no time at all.
The same page with a htm extension serves up in less than a second.
So, CF appears to be able to do its processing nice an quickly but is seems to hit some kind of bottleneck when it comes to passing the processed data onto whatever process is transporting it to the client browser.
The two sample pages run on a dedicated server take about the same (very quick) time to arrive at the client browser so we think this has to be something to do with the set up of CFMX 7 with Plesk running.
Any ideas?
Chris
Copy link to clipboard
Copied
Chris Pamplin wrote:
So, CF appears to be able to do its processing nice an quickly but is seems to hit some kind of bottleneck when it comes to passing the processed data onto whatever process is transporting it to the client browser
That would almost always be the web server.
If you and determined that ColdFusion is not the bottleneck, you will probably need to start sniffing around your network and see where the packets are going and how long they are taking to get there. A partial list of places that could be bottleneks; web server, proxy server, firewalls, client browser.
Copy link to clipboard
Copied
Thanks for your thoughts. Since the web server can serve the htm version of the page in next to no time, but the cfm version takes loads of time, is it really likely to be the web server? Surely if it was the problem the htm version we be just as slow?
Chris
Copy link to clipboard
Copied
Don't know and it would be hard to tell without looking at data.
Maybe it is the way the web server handles .cfm requests..... There are a lot of possibilites here.
Copy link to clipboard
Copied
What sort of data would you look for?
I don't know how CF hands off the processed data stream to the WWW service, but it seems likely to me that this is the first area to look at, if only I knew how!
Chris