« Does ColdFusion Make You More Productive? | Main | Session Facades »

Comments

James R. Taylor

All too true. I remember just seeing an RSS feed aggregator that was done by Raymond Camden where he spawned a boatload of threads to get and parse each feed. Guess that won't work in Standard Edition.

Todd Rafferty

@James Taylor, CFTHREAD is an exception and is limited by 2, not 1.

Brian Rinaldi

Wow, this blog has seriously degenerated into your endless bitching. I think that is a shame.

You argument is specious anyway. So, you are complaining that you can't use cfthread heavily on a highly trafficked page? Are you implying that you would actually have done this were it not for the limitation? If so, please don't ever program for me.

Much the same goes for the PDF generation. These are features that 1) have very limited niche purposes and 2) should never be overused whether on Standard or Enterprise.

But hey, don't let reason stop you from your apparently insatiable need to complain.

Michael Long

Todd: I think James was pointing out that Ray's code created a thread for each blog he was attempting to read. A two-thread limitation kills that method (assuming more than two).

Michael Long

Brian: First, I focus on the topics I believe need attention. If you're looking for the ten best uses of CFPARAM there are other sites.

Second, James brought up CFTHREAD, not me. But if your site has significant traffic and your system is not CPU bound then yes, you might well spawn multiple threads in order to improve request responsiveness (like issuing keep-alives to a session, page logging, etc.). Am I fired?

Third, they may be "niche" functions, but they're also functions that tend to take up a lot more time that a "normal" page request, which makes the only-one-at-a-time issue even more problematic.

As to "should never be overused"... well, a site does what it needs to do. The watermarking example I just gave was off the top of my head, but I just got a book from a site that did exactly that. Maybe they were using PHP.

Thanks for the comments.

Duncan McClintock

Personally, I'd rather have them not be present in SE at all as opposed to being there but not being dependable.

Todd Rafferty

@Michael Response #1 and Probably Duncan's response:

Regardless of what James was pointing out, CFTHREAD won't BOMB... It'll just queue the additional requests. It's not completely crippled and queuing is not completely worthless.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment