Answered
A remote server runs code terribley slow
Hello,
I'm in an odd development situation. I write code on my local dev server, which gets handed off to someone else's dev server that tests it before putting it up live. I have NO direct access to the remote servers and upload my files by emailing them over individually with instructions on where to place them. (I warned you it was odd).
I've written a small search page which does the following: does a verity search, if a result is not cached then the file is parsed then the information is cached. It sorts the results, then displays them. It caches by serializing a struct of structs using wddx.
On my local server this works almost instantaneously, literally half a second for the largest "all" search, but on the remote server it TIMES OUT! Doing searches (that run near instantly locally) for less items takes upwards of 2 full minutes.
The error that coldfusion throws is that cffile write is timing out. (It rewrites the cache if it finds new files in the results).
The code is identical on both my local, and the remote server.
I'm a little clueless as to why this is happening, and my background has never been in coldfusion before. If anyone could shed any light on why this is happening, or where to look to figure out why it's happening, it would be greatly appreciated!
Thank you so much for any help you can give.
I'm in an odd development situation. I write code on my local dev server, which gets handed off to someone else's dev server that tests it before putting it up live. I have NO direct access to the remote servers and upload my files by emailing them over individually with instructions on where to place them. (I warned you it was odd).
I've written a small search page which does the following: does a verity search, if a result is not cached then the file is parsed then the information is cached. It sorts the results, then displays them. It caches by serializing a struct of structs using wddx.
On my local server this works almost instantaneously, literally half a second for the largest "all" search, but on the remote server it TIMES OUT! Doing searches (that run near instantly locally) for less items takes upwards of 2 full minutes.
The error that coldfusion throws is that cffile write is timing out. (It rewrites the cache if it finds new files in the results).
The code is identical on both my local, and the remote server.
I'm a little clueless as to why this is happening, and my background has never been in coldfusion before. If anyone could shed any light on why this is happening, or where to look to figure out why it's happening, it would be greatly appreciated!
Thank you so much for any help you can give.
