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. Better?

Better?

Scheduled Pinned Locked Moved The Lounge
comperformancequestion
59 Posts 34 Posters 1 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.
  • D David Cunningham

    I think Chris had a while loop in one of the more commonly accessed pages that was failing to meet its exit criteria, and therefore looping endlessly. The loop we're suspicious about had to do with the advertising weighting system. We've commented out the offending piece, and are analyzing the failure conditions offline. I've fired off an email to Chris and hopefully he'll be able to read it before hopping on his flight back here. But in any event he'll be in Toronto early next week to replace all the duct tape and glue we've throw into his code ;) We also added 3 3.2Ghz servers which effectively doubled our capacity at the presentation layer. Still more to come... David

    J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #34

    So, what do you propose we'll do to Chris for not terminating his loops properly, eh? :-D -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

    1 Reply Last reply
    0
    • D David Cunningham

      I think Chris had a while loop in one of the more commonly accessed pages that was failing to meet its exit criteria, and therefore looping endlessly. The loop we're suspicious about had to do with the advertising weighting system. We've commented out the offending piece, and are analyzing the failure conditions offline. I've fired off an email to Chris and hopefully he'll be able to read it before hopping on his flight back here. But in any event he'll be in Toronto early next week to replace all the duct tape and glue we've throw into his code ;) We also added 3 3.2Ghz servers which effectively doubled our capacity at the presentation layer. Still more to come... David

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #35

      No, not just better - excellent! Great work!

      1 Reply Last reply
      0
      • D David Cunningham

        I think Chris had a while loop in one of the more commonly accessed pages that was failing to meet its exit criteria, and therefore looping endlessly. The loop we're suspicious about had to do with the advertising weighting system. We've commented out the offending piece, and are analyzing the failure conditions offline. I've fired off an email to Chris and hopefully he'll be able to read it before hopping on his flight back here. But in any event he'll be in Toronto early next week to replace all the duct tape and glue we've throw into his code ;) We also added 3 3.2Ghz servers which effectively doubled our capacity at the presentation layer. Still more to come... David

        A Offline
        A Offline
        Anders Molin
        wrote on last edited by
        #36

        I need to make a deal with some hardware manufacturers, that I'll add some random while (true); in the code, and they give me some percent of the server sale ;) So that little fix cost you guys $90k in not really needed hardware eh ;) - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
        My Photos[^] New developersite: RealDevs.Net

        T C I 3 Replies Last reply
        0
        • J Jorgen Sigvardsson

          Breathe in slowly... And exhale.. :-D -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

          PJ ArendsP Offline
          PJ ArendsP Offline
          PJ Arends
          wrote on last edited by
          #37

          Jörgen Sigvardsson wrote: Breathe in slowly... And exhale.. And then head over to the Soapbox!


          [

          ](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

          Within you lies the power for good; Use it!

          P J 2 Replies Last reply
          0
          • PJ ArendsP PJ Arends

            Jörgen Sigvardsson wrote: Breathe in slowly... And exhale.. And then head over to the Soapbox!


            [

            ](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

            P Offline
            P Offline
            peterchen
            wrote on last edited by
            #38

            The soapbox! How could I forget! *has no chance to resist the urge*


            we are here to help each other get through this thing, whatever it is Vonnegut jr.
            sighist || Agile Programming | doxygen

            1 Reply Last reply
            0
            • D David Cunningham

              I think Chris had a while loop in one of the more commonly accessed pages that was failing to meet its exit criteria, and therefore looping endlessly. The loop we're suspicious about had to do with the advertising weighting system. We've commented out the offending piece, and are analyzing the failure conditions offline. I've fired off an email to Chris and hopefully he'll be able to read it before hopping on his flight back here. But in any event he'll be in Toronto early next week to replace all the duct tape and glue we've throw into his code ;) We also added 3 3.2Ghz servers which effectively doubled our capacity at the presentation layer. Still more to come... David

              A Offline
              A Offline
              Andy Brummer
              wrote on last edited by
              #39

              Ah, bumping my view settings up to maximum again feels so good. Great Job.:cool:


              I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

              1 Reply Last reply
              0
              • D David Cunningham

                How's the site speed and access for everyone now? We think we may have found and removed a spanner in the works, and we brought 3 new servers on. Anyone who is even mildly pleased can give kudos to Peter Zajac (peterz@dundas.com) ;-) David

                J Offline
                J Offline
                JimRivera
                wrote on last edited by
                #40

                It's like a party in my dsl modem and my IP is the only one invited ;P Discovery consist of seeing what everybody has seen and thinking what nobody has thought -- Albert Szent-Györgyi Name the greatest of all the inventors: accident --Mark Twain

                1 Reply Last reply
                0
                • A Anders Molin

                  I need to make a deal with some hardware manufacturers, that I'll add some random while (true); in the code, and they give me some percent of the server sale ;) So that little fix cost you guys $90k in not really needed hardware eh ;) - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                  My Photos[^] New developersite: RealDevs.Net

                  T Offline
                  T Offline
                  Tom Archer
                  wrote on last edited by
                  #41

                  You're evil, Mr. Molin ;P Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

                  D 1 Reply Last reply
                  0
                  • D David Cunningham

                    I think Chris had a while loop in one of the more commonly accessed pages that was failing to meet its exit criteria, and therefore looping endlessly. The loop we're suspicious about had to do with the advertising weighting system. We've commented out the offending piece, and are analyzing the failure conditions offline. I've fired off an email to Chris and hopefully he'll be able to read it before hopping on his flight back here. But in any event he'll be in Toronto early next week to replace all the duct tape and glue we've throw into his code ;) We also added 3 3.2Ghz servers which effectively doubled our capacity at the presentation layer. Still more to come... David

                    C Offline
                    C Offline
                    ColinDavies
                    wrote on last edited by
                    #42

                    David Cunningham wrote: I think Chris had a while loop This stuff unfortunately happens. Regardz Colin J Davies

                    *** WARNING *
                    This could be addictive
                    **The minion's version of "Catch :bob: "

                    It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

                    D 1 Reply Last reply
                    0
                    • PJ ArendsP PJ Arends

                      Jörgen Sigvardsson wrote: Breathe in slowly... And exhale.. And then head over to the Soapbox!


                      [

                      ](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!

                      J Offline
                      J Offline
                      Jorgen Sigvardsson
                      wrote on last edited by
                      #43

                      Heh, the soapbox may induce heavy panting! :-D -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

                      1 Reply Last reply
                      0
                      • T Tom Archer

                        You're evil, Mr. Molin ;P Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

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

                        No, he's just short sighted. As we will all see, including Anders, when the concurrent session count racks up tomorrow morning things will become slower than they are today. I would estimate that getting to where we need to be with CodeProject will cost about $400,000. David

                        A 1 Reply Last reply
                        0
                        • C ColinDavies

                          David Cunningham wrote: I think Chris had a while loop This stuff unfortunately happens. Regardz Colin J Davies

                          *** WARNING *
                          This could be addictive
                          **The minion's version of "Catch :bob: "

                          It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

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

                          This is getting a little overblown. It may not in-fact be an endless loop problem, or even something that relates directly to the advertising system (although I think it's hilarious that everyone has their shorts in a knot over the idea). David

                          A 1 Reply Last reply
                          0
                          • D David Cunningham

                            No, he's just short sighted. As we will all see, including Anders, when the concurrent session count racks up tomorrow morning things will become slower than they are today. I would estimate that getting to where we need to be with CodeProject will cost about $400,000. David

                            A Offline
                            A Offline
                            Anders Molin
                            wrote on last edited by
                            #46

                            Well, maybe I am short sighted, or maybe I just happens to know a lot about large websites. You have no way of knowing do you? - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                            My Photos[^] New developersite: RealDevs.Net

                            D 1 Reply Last reply
                            0
                            • A Anders Molin

                              Well, maybe I am short sighted, or maybe I just happens to know a lot about large websites. You have no way of knowing do you? - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                              My Photos[^] New developersite: RealDevs.Net

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

                              Guess we'll see tomorrow. :D David

                              A 1 Reply Last reply
                              0
                              • D David Cunningham

                                Guess we'll see tomorrow. :D David

                                A Offline
                                A Offline
                                Anders Molin
                                wrote on last edited by
                                #48

                                Well David, If CP still runs fast tomorrow, then you say I'm good :cool: But well, I can hear that you expect it to return to less_than_snail_speed again tomorrow... Interesting... - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                                My Photos[^] New developersite: RealDevs.Net

                                D I 2 Replies Last reply
                                0
                                • A Anders Molin

                                  Well David, If CP still runs fast tomorrow, then you say I'm good :cool: But well, I can hear that you expect it to return to less_than_snail_speed again tomorrow... Interesting... - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                                  My Photos[^] New developersite: RealDevs.Net

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

                                  Lol, you're an interesting man Anders. No matter what happens, your statement that we wasted any investment on the expanded hardware is shortsighted, Internet genius or not. ;) That, we can take as fact, and is the core of what we're talking about. There's no question that CodeProject will run slower than the .001 second response times that people were seeing today when the concurrent sessions start piling on tomorrow. So, you can have the last word on this thread if you want. I'm out. David

                                  1 Reply Last reply
                                  0
                                  • D David Cunningham

                                    This is getting a little overblown. It may not in-fact be an endless loop problem, or even something that relates directly to the advertising system (although I think it's hilarious that everyone has their shorts in a knot over the idea). David

                                    A Offline
                                    A Offline
                                    Andy Brummer
                                    wrote on last edited by
                                    #50

                                    The endless loop scenario should be realatively easy to spot as load ramps up. You should see processor usage jump up in plateaus of 1/n where n is the number of processors. The length of the plateau should be about the timeout interval of the page.


                                    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                    C 1 Reply Last reply
                                    0
                                    • A Andy Brummer

                                      The endless loop scenario should be realatively easy to spot as load ramps up. You should see processor usage jump up in plateaus of 1/n where n is the number of processors. The length of the plateau should be about the timeout interval of the page.


                                      I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                      C Offline
                                      C Offline
                                      ColinDavies
                                      wrote on last edited by
                                      #51

                                      andy brummer wrote: You should see processor usage jump up in plateaus of 1/n where n is the number of processors. I was thinking something like that. Of course you could put the code back the way it was and see what happened. Regardz Colin J Davies

                                      *** WARNING *
                                      This could be addictive
                                      **The minion's version of "Catch :bob: "

                                      It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

                                      A 1 Reply Last reply
                                      0
                                      • A Anders Molin

                                        I need to make a deal with some hardware manufacturers, that I'll add some random while (true); in the code, and they give me some percent of the server sale ;) So that little fix cost you guys $90k in not really needed hardware eh ;) - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                                        My Photos[^] New developersite: RealDevs.Net

                                        C Offline
                                        C Offline
                                        ColinDavies
                                        wrote on last edited by
                                        #52

                                        Anders I think, I understand a little of what you are saying. I know nothing about running a website. But in other realms of IT I have become a believer that now people are solving problem with brute force rather than well thought out designed solutions. This bruteforce is both in hardware and software. An example of this is the current OS bloat caused by MS with windows. (I know windows isn't an OS, but the OS isn't worth much without windows) Regardz Colin J Davies

                                        *** WARNING *
                                        This could be addictive
                                        **The minion's version of "Catch :bob: "

                                        It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

                                        A 1 Reply Last reply
                                        0
                                        • C ColinDavies

                                          andy brummer wrote: You should see processor usage jump up in plateaus of 1/n where n is the number of processors. I was thinking something like that. Of course you could put the code back the way it was and see what happened. Regardz Colin J Davies

                                          *** WARNING *
                                          This could be addictive
                                          **The minion's version of "Catch :bob: "

                                          It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox

                                          A Offline
                                          A Offline
                                          Andy Brummer
                                          wrote on last edited by
                                          #53

                                          Yeah, and pull the new servers out as well... ;P


                                          I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                          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