Skip to main content
July 4, 2006
Answered

Performance issue : local vs remote

  • July 4, 2006
  • 1 reply
  • 341 views
Hi,

I have 2 installation of CF MX 7 : 1 on my desktop, and one on a powerful Windows server.

I'm experiencing poor performance when opening a page with a large number of loop on the server. Here is a summary of my tests:

Open page from Local to Remote : 10 min
Open page from Local to Local : 2 min
Open page from Remote to Remote : 2 min (using Remote Desktop)
Open page from Remote to Local : 2 min (using Remote Desktop)

As you can see, it is way slower when opening the page remotely from the server. Unfortunately, it it how all our users open pages. It looks like the number of loop is the problem since looping through a query or loop to calculate numbers gives the same behavior.

Anyone knows how to solbe this problem?

Thanks
    This topic has been closed for replies.
    Correct answer
    Hi,

    I finally found the solution to my problem with the help of Adobe folks.

    The solution is to enclose your loop within a <cfsilent> tag. Go figure why, but now, the "Local to Remote" case takes 2 min as well instead of 10.

    <cfsilent> is suppose to be use to block all kind of output, but even if I haven't any output, it may tell to CF "Don't bother to check for output".

    Anyway, my problem is now resolved:)

    Bye

    1 reply

    Correct answer
    July 14, 2006
    Hi,

    I finally found the solution to my problem with the help of Adobe folks.

    The solution is to enclose your loop within a <cfsilent> tag. Go figure why, but now, the "Local to Remote" case takes 2 min as well instead of 10.

    <cfsilent> is suppose to be use to block all kind of output, but even if I haven't any output, it may tell to CF "Don't bother to check for output".

    Anyway, my problem is now resolved:)

    Bye