MySQL at Facebook
highscalability.com
MySQL at Facebook
1–10 of 42 posts
Re: MySQL at Facebook
#2There's a full video of the talk available at http://www.livestream.com/facebookevents/video?clipId=flv_cc...
Re: MySQL at Facebook
#3I doubt this HN post could have a more boring title. The actual article is very interesting. Basically Facebook's DB developers talk about what it takes to perform 13 million queries per second, and a lot of the useful tips they've learned along the way to make scaling simpler. There's a full video of the talk available at http://www.livestream.com/facebookevents/video?clipId=flv_cc...
Re: MySQL at Facebook
#4Re: MySQL at Facebook
#5This can reap huge benefits and doesn't need to be difficult. Just enable the slow query log in MySQL, use the EXPLAIN command to analyze the results, then add indexes where appropriate. I was able to fix poorly indexed tables in a vendor's application with dramatic results. In one case, a twenty-minute(!) query was reduced to less than a second.
Re: MySQL at Facebook
#6Re: MySQL at Facebook
#7I doubt this HN post could have a more boring title. The actual article is very interesting. Basically Facebook's DB developers talk about what it takes to perform 13 million queries per second, and a lot of the useful tips they've learned along the way to make scaling simpler. There's a full video of the talk available at http://www.livestream.com/facebookevents/video?clipId=flv_cc...
The fact that it's MySQL makes it even more interesting, given the shift of scalability interest to MongoDB, etc.
Re: MySQL at Facebook
#8"It is OK if a query is slow as long as it is always slow" I find this enlightening. I think it is just one instance of difference in emphasis between Google and Facebook. Google, a technology oriented company, would minimize the average response time, while Facebook, a people oriented company would minimize the unpredictability (by minimizing the variance)
Re: MySQL at Facebook
#9Re: MySQL at Facebook
#10"It is OK if a query is slow as long as it is always slow" I find this enlightening. I think it is just one instance of difference in emphasis between Google and Facebook. Google, a technology oriented company, would minimize the average response time, while Facebook, a people oriented company would minimize the unpredictability (by minimizing the variance)
From what I hear, Google/Bing do track response latencies at 99+ percentile.