Stack Overflow: How we upgrade a live data center
blog.serverfault.com
Stack Overflow: How we upgrade a live data center
1–10 of 74 posts
Re: Stack Overflow: How we upgrade a live data center
#2The site has been a useful resource for so many years, and it works so well. It was a joy to discover that it all ran on like two racks worth of servers, and still does. Having seen corporate intranet portals, with maybe a thousand daily active users, running on excessive* hardware (needlessly, of course), it's like a breath of fresh air.
*EDIT: Removed hyperbole. Not more hardware, but too much nonetheless.
Re: Stack Overflow: How we upgrade a live data center
#3I love reading about StackOverflow, particularly their infrastructure. The site has been a useful resource for so many years, and it works so well. It was a joy to discover that it all ran on like two racks worth of servers, and still does. Having seen corporate intranet portals, with maybe a thousand daily active users, running on excessive* hardware (needlessly, of course), it's like a breath of fresh air. *EDIT: R…
Re: Stack Overflow: How we upgrade a live data center
#4I love reading about StackOverflow, particularly their infrastructure. The site has been a useful resource for so many years, and it works so well. It was a joy to discover that it all ran on like two racks worth of servers, and still does. Having seen corporate intranet portals, with maybe a thousand daily active users, running on excessive* hardware (needlessly, of course), it's like a breath of fresh air. *EDIT: R…
We take a lot of pride in how much we get out of each piece of hardware. You don't need to have 1000 servers to run a large site, just the mindset of performance first.
Re: Stack Overflow: How we upgrade a live data center
#5Wait, does that mean what I think it means? Did someone get an IIS splash page when visiting SO?
I was going to say they should live-blog during their next upgrade but it they did it on twitter which is awesome.
Re: Stack Overflow: How we upgrade a live data center
#6> We learned that accidentally sticking a server with nothing but naked IIS into rotation is really bad. Sorry about that one. Wait, does that mean what I think it means? Did someone get an IIS splash page when visiting SO? I was going to say they should live-blog during their next upgrade but it they did it on twitter which is awesome.
Re: Stack Overflow: How we upgrade a live data center
#7> We learned that accidentally sticking a server with nothing but naked IIS into rotation is really bad. Sorry about that one. Wait, does that mean what I think it means? Did someone get an IIS splash page when visiting SO? I was going to say they should live-blog during their next upgrade but it they did it on twitter which is awesome.
Re: Stack Overflow: How we upgrade a live data center
#8For example, how failure scenarios handled and what is the role of slaves.
Re: Stack Overflow: How we upgrade a live data center
#9I'm really wondering how SO uses Redis. For example, how failure scenarios handled and what is the role of slaves.
Other discussions:
http://meta.stackexchange.com/questions/69164/does-stack-ove...
http://meta.stackexchange.com/questions/110320/stack-overflo...
Re: Stack Overflow: How we upgrade a live data center
#10I'm really wondering how SO uses Redis. For example, how failure scenarios handled and what is the role of slaves.
Slaves are not just for backups - they also serve as pub/sub mechanisms. Every publish propagates to slaves. Since we use pub/sub for things like web sockets, we can easily move that entire concurrent connection load to another data center with a simple DNS change. Yep, we've tested this - it worked well.
It is of course noting: redis just doesn't fail. We had one out of memory fail for the Q&A web sites when forking and that's it. It has been rock solid here.