3 ms·
Facebook's use of MySQL makes total sense just like their use of PHP does. It was written in those languages/technologies way back when and while it might all b
by programminggeek 15y ago
Facebook's use of MySQL makes total sense just like their use of PHP does. It was written in those languages/technologies way back when and while it might all be held together by duct tape and bubblegum, a wholesale rewrite is a TERRIBLE idea.
Does Facebook run and make money? Are users happy? Is it fast?
In general if those three things are good, then why do a rewrite or a massive switch?
Facebook has very smart developers and if they though they could go out and swap out database vendors and get a big gain, I bet they would, but they don't. Why? because I bet the gain isn't as big as advertised.
VoldDB is in-memory so it's fast? Cool, but FB already uses memcached, so you aren't going to get any huge perf wins there. Maybe it would be simpler and maybe if FB started today they might use it, but the cost to swap out their proven architecture for something new and shiny probably doesn't provide a big enough user benefit for it to be worth their time.
At the end of the day, very few companies truly understand what it is like to have half a billion people logging into your website on any given day to chat, send messages, upload photos, play games, and so on. Any platform is going to have problems at that load, swapping databases doesn't solve that at all.
- eli 15y agoReminds me of this classic: http://www.joelonsoftware.com/articles/fog0000000069.html http://www.joelonsoftware.com/articles/fog0000000069.html
- c2 15y agoMySQL and PHP were terrible technologies even in 2005. Maybe if Facebook started in 1999 they might have an excuse (even then it's debatable) but 2005? Also, architecturally there's no reason to do a massive re-write of any software all at once, and it usually ends in tears. They can do it piece by piece and they should be making those investments now if they hope to last another half decade.