News for hackers. Stuff that matters.
Re:Rearchitecting GitHub Pages by charliesome on Wednesday May 27, 2015 @01:41PM (#9613046)
> Nothing wrong with it, I just don't know it well, and I don't like being dependant on things I don't know how to debug.

Yep, this is basically our approach as well.

We've been using DRBD for quite a long time now on our Git fileservers (which also run in active/standby pairs - in fact, they look a lot like our Pages fileservers) so we have quite a lot of in-house experience with it and it's a technology we're pretty comfortable with. Given this, using it for the new Pages infrastructure was a pretty straight-forward decision.

Re:Rearchitecting GitHub Pages by kyledrake on Wednesday May 27, 2015 @03:17PM (#9613658)
Yeah, I've read the engineering posts about DRBD for the git fileservers, so I assumed that's why you made that decision. Makes total sense to me.
Re:Rearchitecting GitHub Pages by steveklabnik on Wednesday May 27, 2015 @11:12PM (#9615865)
This exchange is wonderful, and absolutely what I'd expect out of you two, and maybe I'm just in a bad mood, but it stands in such contrast to the way I often see technologies discussed online.

This kind of thing is the way engineering should be. Kudos.

Re:Rearchitecting GitHub Pages by patcon on Wednesday May 27, 2015 @11:26PM (#9615904)
Yay for acknowledgements! Yay for recursive enthusiasm!
Re:Rearchitecting GitHub Pages by aleem on Wednesday May 27, 2015 @05:06PM (#9614341)
I make use of Lua and Redis for handling a few million redirects and have been happy with it so far. I never considered MySQL due to performance concerns.

3ms for connection setup + auth + query seems reasonable. Are you using persistent DB connections? Any other mods? What sort of timeouts have you configured for DB connections?