Figured as I had not posted anything for a while I might as well post a status type update. During Luminis Idol it was pointed out that the Group/Course Activity channel I created back in 2005 as popular as it was no longer runs nicely. (For those unfamiliar with the premises behind this channel go here http://www.lumdev.net/node/426).
This was most apparent when Michael was able to demonstrate during Idol:
I have been meaning to revisit this channel for quite some time so this was a nice way to kick me in the rear, thanks Michael!
In reworking this channel I have also been making use of Eclipse Test & Performance Tools Platform. To give you all an idea we have a faculty member that has a total of 89 groups/courses. Using the old code (found at the above lumdev post) it was taking roughly 70 seconds just to produce the XML that would drive the output of for the channel.
Using TPTP I was able to very quickly pinpoint the specific piece of the code that was consuming the bulk of that time and then began looking into alternative ways to obtain the same result. After enhancing that piece (it was the part that would obtain message board posts) for this same user we have dropped to roughly 13 seconds to produce all the needed XML.
The logic I am using to obtain the message board information I am also going to use for the other sections (file, news, photos, and links).
My hope is to finish off these logic changes this week so that by mid next week I can post a new and improved Group/Course Activity channel.
Comments
I really didn't mean to be 'bad'...
Hey Bill,
I really didn't mean to make you look bad at Luminis Idol. The funny thing is that the channel worked (albeit slowly) just before Idol, and worked after Idol. Something in the ether (sunspots?) was causing problems, I guess.
I do have to reitterate that this channel is the single-most most useful channel that we provide to the students in Luminis. It eliminates the search-and-find task that students have to do to find content from their instructors, providing real time savings (and value) to everyone.
Thanks for reviewing the channel code. I'm looking forward to see what you can find...
m
--- Michael
michael.bayrock@ucfv.ca
I really didn't mean to make
Oh I know that. Just figured I'd have fun with my post. Still one of the hard things is coming back to old code to see if it needs to be reworked. I have been getting irritated with the channel as of late and Idol just finally pushed me in the right direction. :)