Better?
-
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
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
-
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!
Heh, the soapbox may induce heavy panting! :-D -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter
-
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
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
-
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
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
-
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
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 -
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.NetGuess we'll see tomorrow. :D David
-
Guess we'll see tomorrow. :D David
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 -
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.NetLol, 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
-
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
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
-
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
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
-
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.NetAnders 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
-
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
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
-
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
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
-
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
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
-
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.NetWell, 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
-
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.NetAnd 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
-
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
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 -
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
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