Skip to main content
Participant
February 25, 2010
Question

Coldfusion and SQL 2008 running slow?

  • February 25, 2010
  • 3 replies
  • 1373 views

I built an app using coldfusion and the developer version of sql 2008. When I browse the pages while logged into the server (that is running coldfusion and sql 2008), it works great - very fast.  However,  when I browse the pages from a client machine (connected to the same lan), it runs extremely slow - as in it takes between 5 and 10 seconds to load every single page.  I captured some of the packets via the firewall.  It looks like it may be timing out on a dns lookup.  I'm using the ip address in the browser, so not sure why it would do a lookup. Any thoughts on what I might try to speed things up?

Thanks,

Robert

This topic has been closed for replies.

3 replies

turbo79Author
Participant
March 25, 2010

migrating to MS IIS made the problem go away. Thanks for the tips!

Robert

Inspiring
February 26, 2010

Is the delay in getting an initial connection to the web server, or between the web server and CF, or is it some part of the code taking longer or what?

--

Adam

turbo79Author
Participant
February 26, 2010

any tips on how to go about finding the answers to A. Cameron's questions?

Thanks

February 26, 2010

Well, tracert might give you info on if its taking a long time to reach the web server.

GetTickCount() can be used before and after the queries, and the resulting difference can be displayed on your final output.

You can turn on debugging output and make sure it's showing all the details.

Get your hands on SeeFusion or FusionReactor to benchmark your pages as they run.

hth,

D.

February 26, 2010

Are you using the developer edition of ColdFusion?

turbo79Author
Participant
February 26, 2010

yes, using the developer version of coldfusion 8.