So I thought I'd write a quick note to talk about my plans for BlogCFC and ColdFusion 8. First off - there is a bug that prevents BlogCFC from running under CF8. This was due to me writing some code that worked right but should not have under CF7. I've fixed this bug and have checked into into the Subversion repository. The file in question is /org/camden/render/render.cfc. Grab it if you plan on running BlogCFC under ColdFusion 8.
As for how I plan on using CF8 - right now I don't have many plans. Since my customer base is quite large and covers folks on CF6 and CF7, I don't want to do too much for folks who can't even use it. I can say the first thing I'll do is update Ping support to use cfthread if BlogCFC is running under ColdFusion 8. About the slowest thing in BlogCFC is the ping action. (Well, it is slow if you do a lot of pings.) By using cfthread I can speed up the process quite a bit.
Later this week I'll be making that change - and when I do, I'll blog the code so folks can see the before and after.
Archived Comments
Our shop was afraid that CF8 would break CF7 code.... say it ain't so! (or at least say it's rare!)
Dan - I don't know if I can talk about the exact issue. To be clear though, I _accidentally_ use undocumented code that worked. So the fault is all mine. This is not - technically - a backwards compat issue.
Understood.
Ray,
You mention that pings are slow, have you ever checked out socket.cfc? I have a program that monitors our remote terminals and saves ping response in a database, and this works great and fast for me. It calls java functions to allow stuff like pings, I setup an integration to PC*Miler using Telnet with the socket.cfc that scales quite nicely. Let me know if you want any more info about it. =)
Ray, I've been running BlogCFC on CF8 since, well, sine early alpha days, 1/2 year at least. And no problems at all. ;-)
--- Ben
Yeah, but what version? This issue is in render.cfc, which I bet you don't have.
Justice - no need now with cfthread. ;)
Ray,
Not to disagree with ya, but if the ping runs slow, rather than chew resources on the server back end I would rather use an optimized method than a work-around. =)
Chris
Ray, am using 5.1.001, I guess it pays to be on older versions. ;-)
--- Ben
Dude, that is SUCH the wrong thing to say in a CF8 thread. I'm going to forward this to over to Tim. ;)
yes, the problem appeared with the latest release, but it was a few seconds find and fix issue. :) not sure if the fix i did is the same Ray did, but it work great now.
On Ray's comment to Ben:
Now that is funny!
@Justice:
This is a guess, but I don't think Ray's talking about a network "ping", but instead some aggregiate RSS feeds allow you to hit a URL to tell them to go update your RSS feed. You basically just do a CFHTTP call to a special URL.
I think this is what Ray was talking about when he said "ping." Some of these RSS aggregiaters are pretty slow in returning results, so multi-threading this would be a nice addition.
PS - I don't use Raymond's code--although sometime I really wish I would have from the start. :)
Dan is right. It is a HTTP hit only.
Eep, sorry Ray. My network-admin brain thought 'ping' as in command line =)