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.
  • 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
                            • 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

                              R Offline
                              R Offline
                              Rocky Moore
                              wrote on last edited by
                              #54

                              It is really a shame what Chris has to stoop to in order to get new hardware... Just throw in this little resource sucker and we can get new servers :) Like when you have a perfectly good monitor, but you pull the plug out of the computer port just enought that it flickers around and messes up so that you can show your wife you need a new flat panel display they happen to have on sale ;) Really awesome to see the speed on the site. Been quite a while since I have seen it this fast. Guess I do not have to cycle the list of Web1.codeproject.com, web2.. web3... to get to one that will post my replies :) Many thanks for a great job to all of your have have worked so hard on this problem!!! Rocky <>< www.HintsAndTips.com www.GotTheAnswerToSpam.com

                              D 1 Reply Last reply
                              0
                              • R Rocky Moore

                                It is really a shame what Chris has to stoop to in order to get new hardware... Just throw in this little resource sucker and we can get new servers :) Like when you have a perfectly good monitor, but you pull the plug out of the computer port just enought that it flickers around and messes up so that you can show your wife you need a new flat panel display they happen to have on sale ;) Really awesome to see the speed on the site. Been quite a while since I have seen it this fast. Guess I do not have to cycle the list of Web1.codeproject.com, web2.. web3... to get to one that will post my replies :) Many thanks for a great job to all of your have have worked so hard on this problem!!! Rocky <>< www.HintsAndTips.com www.GotTheAnswerToSpam.com

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

                                Heh, I'll have to ask Chris about that ;) Thanks for the kind words, and as I've said above, there is much more to come. Server capacity has been one key reason we haven't been able to activate a bunch of cool UI extensions Chris has put together. Over the next few weeks I'm hoping we can start rolling those out as a bonus to the faster site performance. David

                                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

                                  I Offline
                                  I Offline
                                  Im SO there
                                  wrote on last edited by
                                  #56

                                  Well, to handle the kind of load CP gets, I'd imagine it's not wasted at all. I can understand why you'd feel the way you do of course. The couple thousand page hits on your server per day (for ALL your 40 sites or whatever you run on it) is a lot and all, but that's not even close to how much CP gets in a minute (speculated based on "users online"). Go crawl in a hole Anders, and please take your lame free advertising with you, because frankly, nobody cares about your opinion around here. I still haven't found what I'm lookin' for

                                  A 1 Reply 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

                                    I Offline
                                    I Offline
                                    Im SO there
                                    wrote on last edited by
                                    #57

                                    And we'll believe you're good, when we see you hosting a site that concurrently hosts 5K+ users [edit]without glitches, since you and Marc are on your high horses[/edit]. Oh, and let's not forget about that "wasted money" thing. I'd bet you "wasted" money on your exchange server, just to host email for yourself, no? Don't even bother with the excuses, it's the exact same thing. I still haven't found what I'm lookin' for

                                    1 Reply Last reply
                                    0
                                    • I Im SO there

                                      Well, to handle the kind of load CP gets, I'd imagine it's not wasted at all. I can understand why you'd feel the way you do of course. The couple thousand page hits on your server per day (for ALL your 40 sites or whatever you run on it) is a lot and all, but that's not even close to how much CP gets in a minute (speculated based on "users online"). Go crawl in a hole Anders, and please take your lame free advertising with you, because frankly, nobody cares about your opinion around here. I still haven't found what I'm lookin' for

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

                                      LOL, you don't know nothing about which servers I'm running and for who, do you :laugh: But at least I have the guts to tell people who I am instead of hiding behind a new made account. - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                                      My Photos[^] New developersite: RealDevs.Net

                                      1 Reply Last reply
                                      0
                                      • C ColinDavies

                                        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 Offline
                                        A Offline
                                        Anders Molin
                                        wrote on last edited by
                                        #59

                                        Thanks Colin, you got it right - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
                                        My Photos[^] New developersite: RealDevs.Net

                                        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