CP performance suggestion.
-
G'day Chris, [I'd already posted this message to the Lounge before I realized that this is a more appropriate place. Sorry :-O] I was reading an article on CP last night and wanted to read all of the follow up comments. This meant hitting your server about 30 times to load the content of each message. Would it be possible or feasible to have an option to display the content of all messages at the end of an article rather than displaying each message one at a time? I don't know how many other CP visitors do this, but if there's a code article that I'm interested in, I nearly always read all of the comments at the end of the article and this means heaps of individual pages for your server to generate. This single humongous page idea might mean a large hit on your server for the single page, but reduce the total outbound traffic for the server compared to multiple page hits. Of course, if this is already available and I just didn't see it, please tell me to RTFM and I'll go away and give myself a clip around the ear. :) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
-
G'day Chris, [I'd already posted this message to the Lounge before I realized that this is a more appropriate place. Sorry :-O] I was reading an article on CP last night and wanted to read all of the follow up comments. This meant hitting your server about 30 times to load the content of each message. Would it be possible or feasible to have an option to display the content of all messages at the end of an article rather than displaying each message one at a time? I don't know how many other CP visitors do this, but if there's a code article that I'm interested in, I nearly always read all of the comments at the end of the article and this means heaps of individual pages for your server to generate. This single humongous page idea might mean a large hit on your server for the single page, but reduce the total outbound traffic for the server compared to multiple page hits. Of course, if this is already available and I just didn't see it, please tell me to RTFM and I'll go away and give myself a clip around the ear. :) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.
This is definitely an idea I have been tossing around. cheers, Chris Maunder
-
This is definitely an idea I have been tossing around. cheers, Chris Maunder
Hi Chris, This is just a suggestion (as ridiculous as it may sound, or not). I could be wrong, but it seems like CP slows down when people hit all the forum (based) pages. Articles load up pretty quick most of the times but at times even those are slow to load up. How about seperating all the forums onto a different site altogether? Something like forums.codeproject.com or discuss.codeproject.com, so this way articles are seperated from the forums? And only comment links from the articles go to the other site (preferably on a different machine). Just an idea... ;) PS Keep up the great work! :)
-
Hi Chris, This is just a suggestion (as ridiculous as it may sound, or not). I could be wrong, but it seems like CP slows down when people hit all the forum (based) pages. Articles load up pretty quick most of the times but at times even those are slow to load up. How about seperating all the forums onto a different site altogether? Something like forums.codeproject.com or discuss.codeproject.com, so this way articles are seperated from the forums? And only comment links from the articles go to the other site (preferably on a different machine). Just an idea... ;) PS Keep up the great work! :)
Yep - it's definitely the forums that are the slow point. Uwe did an excellent job of getting the to where they are today but the unexpected visitor load took us a little by surprise, so they are being rewritten. Having the forums on another server won't really help. The forums account for probably 90% of the load, so what we are doing is moving to an SQLServer cluster while reworking the algorithms that do the threading. It's a bit of a balancing act between keeping the site cruising along while moving to .NET while at the same time ensuring we keep the current systems up to the demand. cheers, Chris Maunder