Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. CP performance suggestion

CP performance suggestion

Scheduled Pinned Locked Moved The Lounge
wcfcomsysadminxmlperformance
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Steve Driessens

    G'day Chris, 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.

    S Offline
    S Offline
    Steve Driessens
    wrote on last edited by
    #2

    Oops. I should have posted that to the Suggestions forum. Sorry, Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.

    1 Reply Last reply
    0
    • S Steve Driessens

      G'day Chris, 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.

      D Offline
      D Offline
      Datacrime
      wrote on last edited by
      #3

      This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

      S L 2 Replies Last reply
      0
      • D Datacrime

        This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

        S Offline
        S Offline
        Steve Driessens
        wrote on last edited by
        #4

        > ...but since the number of messages and their size are only limited > by CP's HD capacity and SQL limitations, some pages can be so huge > that eventually will timeout and cause load to the server. I figured Chris would put some sort of 'rev-limiter' in place to handle these situations. Hey, that's why he gets paid the big bucks, right? :) Steve -------------------------------------- Steve Driessens, Resort Software Pty. Ltd.

        1 Reply Last reply
        0
        • D Datacrime

          This will work most of the times, but since the number of messages and their size are only limited by CP's HD capacity and SQL limitations, some pages can be so huge that eventually will timeout and cause load to the server. Not to mention that the user will hit refresh a couple of times before quiting. A very rare situation, but a serious webmonkey should consider them all. An alternative whould be to display the next 10 or 20 messages, which is a bit more complicated. Another alternative whould be to use DHTML and a java-servlet to get parts of the page that you want to update. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          java-servelet you are insane .... i hate that stuff.....;P

          L D 2 Replies Last reply
          0
          • L Lost User

            java-servelet you are insane .... i hate that stuff.....;P

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            Hi chris, Is cp using any Java stuff... i love to hear more on that ... Cheers Wannu know newbie

            D 1 Reply Last reply
            0
            • L Lost User

              java-servelet you are insane .... i hate that stuff.....;P

              D Offline
              D Offline
              Datacrime
              wrote on last edited by
              #7

              Did i say servlet? :-O Sorry, i meant applet. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

              1 Reply Last reply
              0
              • S Steve Driessens

                G'day Chris, 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.

                E Offline
                E Offline
                Erik Funkenbusch
                wrote on last edited by
                #8

                What I would like to see is the discussions be expandable DHTML, so you can just click on them and they expand, much like the DHTML menus and such at MS's site). Of course DHTML support is spotty in other browsers, so perhaps we still need the old system as well...

                L 1 Reply Last reply
                0
                • L Lost User

                  Hi chris, Is cp using any Java stuff... i love to hear more on that ... Cheers Wannu know newbie

                  D Offline
                  D Offline
                  David Cunningham
                  wrote on last edited by
                  #9

                  A little Javascript in some of the pages maybe, but that's it.

                  1 Reply Last reply
                  0
                  • E Erik Funkenbusch

                    What I would like to see is the discussions be expandable DHTML, so you can just click on them and they expand, much like the DHTML menus and such at MS's site). Of course DHTML support is spotty in other browsers, so perhaps we still need the old system as well...

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #10

                    what do you mean by other browsers .... i thought everyone is using only IE5.5+ ... the dumb browser is gone ... ;P

                    D 1 Reply Last reply
                    0
                    • L Lost User

                      what do you mean by other browsers .... i thought everyone is using only IE5.5+ ... the dumb browser is gone ... ;P

                      D Offline
                      D Offline
                      Datacrime
                      wrote on last edited by
                      #11

                      what do you mean by other browsers .... i thought everyone is using only IE5.5+ ... the dumb browser is gone ... ;P Last month's log files on some ;) sites we serve, gives a 91% to IE. - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups