Thursday, 25 June 2015

Database overload

Hey guys, I'm aware the dropbear issues are back. I'm out in the woods right now but doing what i can. Worst case scenario is i'll be shifting SE to a different server Sunday and we'll see if that does it. Please bear with it.

Bear.
[SFW] [Meta SE] [+6 Informative]
[by steele@3:16pmGMT]

Comments

TheErEss said @ 5:11pm GMT on 25th Jun
A dumb question, just for my technical interest: Did you implement some levels of caching, e.g. saving the precompiled main page to a file?
steele said @ 5:30pm GMT on 25th Jun
I've got a basic cache going for the main page entry list query and the entries themselves,but apparently i missed something and if the caching fails it's not reloading properly.
TheErEss said @ 6:09pm GMT on 25th Jun
Yeah, caching tends to be tricky.

Since I bearly have got any clue of the sensible inner workings of your page, just two more things and I´m out:
-is it just the massive amount of queries or are some slower ones blocking? Mostly I get some clues via show full processlist or logging all queries.
-the whole mysql_*-stuff is deprecated, I´d prefer PDO, which sometimes can be faster :)
steele said @ 6:39pm GMT on 25th Jun
Because we're still trying to grow we're on a shared webhost and i'm pretty sure one of the other sites on this server is causing some of our queries to fail.
i'll keep that in mind as i start planning v2, thanks.
ooo[......7 said @ 11:21pm GMT on 25th Jun
I love you steele!
robotroadkill said @ 12:28am GMT on 26th Jun
ooo[......7 said @ 1:23am GMT on 26th Jun
“The good husband keeps his wife in the wholesome ignorance of unnecessary secrets. They will not be starved with the ignorance, who perchance may surfeit with the knowledge of weighty counsels, too heavy for the weaker sex to bear. He knows little who will tell his wife all he knows.”
Ebichuman said @ 2:38am GMT on 26th Jun
It's loading perfectly for me again, thank you. You are the magic man.
Tirade said @ 5:15am GMT on 26th Jun
Is this a sign of more traffic here, or just cheap servers? :)
steele said @ 2:32pm GMT on 26th Jun
I'm thinking it's a little of column A, lot of column B. We're still seeing slow and steady user numbers, but the increase in content due to streaking has lead to lurkers visiting more often.
fr3nzy said @ 6:37am GMT on 27th Jun
Out of interest are people helping with a rewrite or '2.0'

I searched github... but didn't really expect to find anything :)
steele said @ 3:25pm GMT on 27th Jun
2.0 hasn't technically started yet, but it probably won't be open. No offense to previous attempts but i would like to see it actually come to fruition. ;)
arrowhen said[1] @ 3:33am GMT on 28th Jun [Score:1 Funsightful]
edit: Er, I mean, Steele is our beloved and fearless leader. ALL HAIL THE LEADER!
steele said[1] @ 1:30pm GMT on 29th Jun
Er, I mean,

ACHIEVEMENT UNLOCKED: Model SEtizen
Let's hope they didn't break the mold when they made you!
fr3nzy said @ 2:09am GMT on 28th Jun
Understandable. Dont know anything about the previous attempts, but glad that it wont be lack from lack of resources or tech know how this time around though.
Keep up the good work!

Post a comment
[note: if you are replying to a specific comment, then click the reply link on that comment instead]

You must be logged in to comment on posts.



Posts of Import
Karma
SE v2 Closed BETA
First Post
Subscriptions and Things

Karma Rankings
ScoobySnacks
HoZay
Paracetamol
lilmookieesquire
Ankylosaur