Scott C
Member since Mar 24, 2010
- Profile: /members/5712-scott-c.htm
- Comments: 5
Recent Blog Comments By Scott C
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Mar 24, 2010 at 11:54 PM
By the way it's an XML file being returned and everything possible is wrapped in CFSILENT so I believe there's pretty much zero unnecessary white space. By the way this is the extreme end of the amount of output. It's more typically about 1/10 the size but we just have some users that just need it... read more »
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Mar 24, 2010 at 11:45 PM
I loosely used the phrase "additional queries". While there is database activity it's actually somewhat complicated. One "query" is traversing a tree, possibly upwards to determine who a responsible person might be, another is getting a list of people that did the analysis, another is a list of hi... read more »
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Mar 24, 2010 at 10:56 PM
Thanks for the quick reply. Pretty funny actually with the 1/5 comment. I actually did at one point get a 1/5 run and I was ecstatic but could never replicate it which totally baffles me. It was literally spot on, 225 vs 45 seconds. Every subsequent run started becoming around 115-125. I'm thin... read more »
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Mar 24, 2010 at 12:49 PM
One more thing, is it crazy to create 9600 threads (1200 items x 8 additional queries) for this one page or is it simply not an issue? Each thread is only lasting for perhaps 1/2 second.... read more »
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Mar 24, 2010 at 12:42 PM
Here's my scenario. Someone does a query and the result set will be 1200 items. As each item is processed I need to make 8 additional queries. Each thread is totally independent from the other and I do a "join" at the end so I can dump the consolidated output. My testing indicated that without t... read more »