Answered
Struct of Structs
I build a struct with an entry for each URL on my website.
Each entry is a struct that contains some information about that
URL. The code that builds this query takes about 5 seconds to run,
which is reasonable considering there are 1000's of links.
During the time the code runs, the CPU hovers at about 75% - 95%. I noticed though, that after the request ends and i get back my message saying its finished, the CPU remains high for the next couple of minutes. After that it settles down again. Why would I see that behavior? Is there some processing ColdFusion is doing behind the scenes with the structures?
If there is, how do I know when that processing is finished? The structure created is an application scope structure, so there is a lock around the creation of the struct. However, it does not seem like processing is done when the lock releases.
And it seems like requests that run during that extended processing times are getting ColdFusion errors that look like this "Element FOUNDRESULT is undefined in URLINFO". I know that the structure URLINFO definitely has an element FOUNDRESULT. might these 2 issues be related?
During the time the code runs, the CPU hovers at about 75% - 95%. I noticed though, that after the request ends and i get back my message saying its finished, the CPU remains high for the next couple of minutes. After that it settles down again. Why would I see that behavior? Is there some processing ColdFusion is doing behind the scenes with the structures?
If there is, how do I know when that processing is finished? The structure created is an application scope structure, so there is a lock around the creation of the struct. However, it does not seem like processing is done when the lock releases.
And it seems like requests that run during that extended processing times are getting ColdFusion errors that look like this "Element FOUNDRESULT is undefined in URLINFO". I know that the structure URLINFO definitely has an element FOUNDRESULT. might these 2 issues be related?
