Another "ColdFusion 8 is so super fast" Post

Ok, I know I tend to rave a bit about how fast ColdFusion 8 is - but I was a bit shocked today. Last night I had an idea and I somehow forced myself to not jump out of bed and code. Instead I worked on it when I woke up this morning. I'm not going to talk a lot about the idea yet - but it involved parsing a whole heck of a lot of RSS feeds. How many? 292. I pointed Paragator at it and let it rip. How long did it take for ColdFusion to parse all 292 RSS feeds? Around 47 seconds. Not bad. I'll be sharing the code for my little project shortly.

Archived Comments

Comment 1 by Nick posted on 7/18/2007 at 6:36 PM

Nerd.

Just kidding. Well, sort of. You did make a Cloud City joke at 7:15 am.

Comment 2 by Doug Hughes posted on 7/18/2007 at 7:05 PM

In my experience, it's not the speed of CF that's the issue with reading feeds, but how fast they respond via http.

Comment 3 by Raymond Camden posted on 7/18/2007 at 7:11 PM

True, but you got to love how cfthread can help mitigate that.

Comment 4 by Doug Hughes posted on 7/18/2007 at 7:16 PM

It helps in a huge way. But even then, you have limited threads. If you have 10 threads available you could essentially cut the time by a factor of ten.

Comment 5 by Chris Jordan posted on 7/18/2007 at 8:43 PM

@Doug - is there a limited number of threads (created by the <cfthread> tag) that will be available in CF8?

Comment 6 by Doug Hughes posted on 7/18/2007 at 8:48 PM

@Chris - Yea. This is configurable via the admin and I think the default is 10. The more you add, the more you'll impact the server's performance. I mean to say, that more threads = more work so it will take resources from the rest of your server.

Comment 7 by Raymond Camden posted on 7/18/2007 at 8:52 PM

As a side note to this - I'm planning a blog entry on how to throttle cfthread. So if you know your box has a max of 10 threads and you want your process to use 4, how would you do that? Right now my plan is to do it in a loop, which means you need to do some managing of stuff.

p.s. Doug, hit me up on IM when you get a chance, I don't think I have your IM handle here.

Comment 8 by Daniel Budde II posted on 7/19/2007 at 12:19 AM

CF8 standard has even more limited number of threads I believe. I think it is like 2 or 4 and I don't believe it is able to be changed in the admin.

Comment 9 by Raymond Camden posted on 7/19/2007 at 12:28 AM

Still nice to have though, and the nice thing is that your code will just run even faster if you move up to Enterprise.

p.s. The project I hinted at is almost done. I hope to launch it in a day or so. It's live now but you would have to guess the URL. ;) I want to add a bit more polish before I officially release it.

Comment 10 by Chris Jordan posted on 7/19/2007 at 1:02 AM

Are you challenging us to guess the url? Oh goody! I like games! ;o)

Also, I think my client is going to splurge for Enterprise, so I'm relived at that! Woo-Hoo! Can't wait! :o)

Comment 11 by Aegis posted on 7/19/2007 at 3:59 AM

try google, it keeps picking up our dev sites :P

Comment 12 by Chris Jordan posted on 7/19/2007 at 6:18 PM

Bah! I can't find it! :o) I guess I'll have to wait like a good little coder and see what you've cooked up when you're ready to show the world.