Here is the quick notes from the session Scaling MySQL – Up or Out ? moderated by Kaj Arno as part of the todays keynote.
Here is the list of panelists are ordered by Alexa ranking.
- Monty Taylor (MySQL)
- Matt Ingerenthron (Sun)
- John Allspaw (Flickr)
- Farhan Mashraqi (Fotolog)
- Domas Mituzas (Wkipedia)
- Jeff Rotheschild (Facebook)
- Paul Tuckfield (YouTube)
Here is the list of questions and answers from panelists:
 | How many servers | Number of DBAs | How many web servers | Number of caching servers | Version of MySQL | Language, platform | Operating System |
MySQL |
1 M, 3 S |
1/10 |
2 |
2 |
5.1.23 |
Perl,php and bash |
Linux fedora |
Sun |
2 clustered, 2 individual |
1.5 |
160+ |
8 |
5.0.21 |
Lots of stuff (java mostly) |
Open Solaris |
Flickr |
166 |
At present 0 |
244 |
14 |
5.0.51 |
Php and some Java |
Linux |
Fotolog |
140 databases on 37 instances |
10 instances a DBA |
70 |
40 ( 2 on each, 80 total) |
4.11 and 4.4 |
Php, 90% Java |
Solaris 10 |
Wikipedia |
20 |
None, but everybody is kind of a DBA |
70+200 |
40 ( 2 on each, 80 total) |
 |
Php, c++, python |
Fedora / Ubuntu |
30000 databases, 1800 db servers |
2 |
1200 |
805 |
5.0.44 with relay log corruption patch |
Php, python, c++ and erlang |
Fedora / RHEL |
|
Youtube |
I can not say |
3 |
I can not say
|
I can not say
|
5.0.24 |
Python |
SuSE 9 |
Few more misc questions …
Number of times re-architected ?
- My: 2 times – 1 time slave, 1 time memcached
- SN: site depend (many times over the year)
- FR: 2.5 (various clusters federated)
- FL: many cached replacements (about to do one change now)
- WK: Never (Spaghetti)
- FB: Every Tuesday, continual
- YT: Pretty continual, 2-3 times (replication, sharding, federation)
What happens if server fails ? what actions you will generally take ..
- FR: All of our servers are federated, pairs of servers, we can loose any one side of shard, we can loose boxes.. traffic goes to either side of shard, now it goes to one, and we will get another one (very transparent to user)
- WK: Users shout at them on IRC then they moderate … fixed in seconds
- FB: one of 1800-1900 will always fail, just operate well, minor impact, with data going away for a while…we restore from binlog and start the server quickly, promote slave to master and number of ways
- FL: we simply mount the snapshots to different servers and get
- YT: SAN etc, very important data.. recover the server, mirrored disk …mirrored hard drive is crucial
Any recommendation of scaling technology that you wanted to bring
- FL: UltraSPARC-T1 (excellent master, multi threaded) and UltraSPARC-T2 for slave (single threaded)
- WK: good network switch
- FB: cheap switch causes problems and learned lessons, we do not use SAN, neatly partitioned, they scale independently and fail independently
- MY: cluster very sad
Server virtualization ?
- nobody uses at this time
- FB: ETL cluster, we may run more than one in the future
Anything to worry at present ?
- FB: app design is the key to use resources, data center power supply and consumption
- FL: Google has to approve for our lab power (cut app servers by 1/2 by moving from php to java)
- YT: not at all
Any reco, lessons to DBA
- better you know what the systems are, then you can
- performance, scaling taking it serious
- nothing more permanent than temp solutions (if you don’t know when you will fail, then you will )
- architect properly in start, schema, cost of serving data
[…] from Scaling MySQL – Up or Out: https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/ « elÅ‘zÅ‘ | robi — 2008. 04. 17. […]
How much power is behind the net’s top sites?…
At the recent MySQL Conference & Expo there was a very interesting panel called “Scaling MySQL – Up or Out?” where people from some of the internet’s top sites gave quite a good insight into their setup of MySQL and sometimes also…
[…] MySQL – Up or Out?" where representatives from some of the internet’s top sites gave insights into their database setups. Think of it this way; wikipedia is … huge. There's […]
[…] Notes from Scaling MySQL – Up or Out Here is the quick notes from the session Scaling MySQL – Up or Out ? moderated by Kaj Arno as part of the todays keynote. (tags: mysql architecture scaling) […]
[…] Pulse 2.0: Web 2.0 Reviews & Profiles wrote an interesting post today on Venu Anuganti Blog " Notes from Scaling MySQL – Up or OutHere’s a quick excerpt bookmark this on del.icio.us – posted by pondle to mysql architecture scaling database youtube facebook flickr and saved by people… […]
[…] Accidental Hedonist wrote an interesting post today on Notes from Scaling MySQL: Facebook 1,800 MySQL Servers, 805…Here’s a quick excerptComments… […]
Notes from scaling MySQL, really a good insight on how top sites are scaling. http://is.gd/8sk
Amazing mysql infrastructure, winners linux and php http://tinyurl.com/4w9e7u
[…] Venu has even better notes here. Posted by Artem Russakovskii in […]
Thanks for these notes, Venu. Do you know if Facebook has 1,200 or 10,000 web servers? You say 1,2000. Diamond Notes says 10,000.
I did check the video. Jeff Rotheschild from Facebook appears to say 10,000 (around 13:00 in the video), but the audio is difficult to hear, so I cannot be sure.
[…] Notes from Scaling MySQL – Up or Out (tags: scaling architecture) […]
[…] Scaling MySQL at Facebook Filed under: Feedster, Scaling, Search — François Schiettecatte @ 10:16 am By way of Greg Linden, some interesting notes and figures from various high traffic web sites on scaling MySQL. […]
[…] Oito passos para o conhecimento wrote an interesting post today on [from hjl] Venu Anuganti Blog " Notes from Scaling MySQL – Up or OutHere’s a quick excerptInteresting data on back end implementation at Flickr, Wikipedia, Facebook, Youtube as of spring 2008. Lots and lots of servers running MySQL. […]
thanks for this
[…] social praise and traffic to make this all work – according to one web site resource these are the current stats for Facebook on the hosting side of things: 30,000 databases & 1,800 db […]
[…] servers for a service that has the I/O requirements of Twitter? Consider how that compares to other Web 2.0 sites that have come clean with their database numbers; Facebook has 1800, Flickr has 166, even Wikipedia has 20. Talk about bringing a knife to a […]
[…] Notes from Scaling MySQL – Up or Out (tags: architecture database scalability mysql) […]
Very nice!!
Thanks for these notes
Learn MySQL…
It is very simple to use this function through the SQL tab in phpMyAdmin (or any other direct interface with mysql). Say you want to change the name of the table from \”tbl_ oldtable\” to \”tbl_ newtable\” then this would be the code:…
[…] Notes from Scaling MySQL – Up or Out […]
[…] numbers from Facebook on their architecture: 1,800 MySQL servers (900 pairs of master/slave) holding a […]
[…] Notes from Scaling MySQL – Up or Out […]
[…] https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/ […]
Flickr || 166 || At present 0 || 244
Maybe I missed something, but does this mean that Flickr requires only 244 (or 410 = 244 + 166?) servers to work?
The _whole_ Flickr with its millions of photos?!
[…] 2008å¹´4月18日,在Alexa安排的壹次“Scaling MySQL — Up or Out?â€çš„å°çµ„辯論ä¸ï¼ŒMySQLã€Sunã€Flickrã€Fotologã€Wkipediaã€Facebookã€YouTubeç‰åœ‹éš›çŸ¥å網站的DBA們,å°å…¶ç¶²ç«™MySQL數據庫æœå‹™å™¨ã€Webæœå‹™å™¨ã€ç·©å˜æœå‹™å™¨çš„æ•¸é‡ï¼ŒMySQL版本,編程語言類型,æ“作系統類型ç‰å•題進行了回ç”。 Categories: 數據庫技術 Tags: è©•è«– (0) Trackbacks (0) 發表評論 Trackback […]
http://bit.ly/2Y7CeO Notes from Scaling MySQL – Up or Out
[…] Notes from Scaling MySQL – Up or Out https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/ Yapache-Yahoo! Apache 的秘密 http://www.dbanotes.net/web/yapache_yahoo_apache.html LinkedIn […]
Venu Anuganti Blog » Notes from Scaling MySQL – Up or Out http://bit.ly/3VUHYM mysql scaling architecture database scalability facebook
https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/
[…] Notes from Scaling MySQL – Up or Out […]
[…] from Scaling MySQL – Up or Outhttps://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/Yapache-Yahoo! Apache 的秘密http://www.dbanotes.net/web/yapache_yahoo_apache.htmlLinkedIn […]
[…] 大型Web2.0ç«™ç‚¹æž„å»ºæŠ€æœ¯åˆæŽ¢ Web站点数æ®åº“分布å˜å‚¨æµ…è°ˆ QQ的架构讨论 Notes from Scaling MySQL – Up or Out Yapache-Yahoo! Apache 的秘密 LinkedIn æž¶æž„ä¸Žå¼€å‘ è¿‡ç¨‹ Scalability Best Practices: […]
Twitter Comment
RT @the_real_r2d2: Amazing mysql infrastructure, winners linux and php [link to post]
– Posted using Chat Catcher
RT @the_real_r2d2: Amazing mysql infrastructure, winners linux and php http://tinyurl.com/4w9e7u
mysql scaling (facebook:900*2 en 2008) https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/
[…] Notes from Scaling MySQL – Up or Out […]
[…] Notes from Scaling MySQL – Up or Out https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/ […]
Wow, at 1800 mysql instances, Facebook had 2 dbas. http://bit.ly/gdPNX2
[…] Source: https://venublog.com/2008/04/16/notes-from-scaling-mysql-up-or-out/ […]
[…] MySQL 䏿˜¯ç“¶é¢ˆå€’没问题的(有很多 Web 2.0 大站就ä¸ç”¨ä¸“é—¨ DBA çš„),å¯å¦‚æžœ DB 是瓶颈,那就比较麻烦了。DB […]
[…] and What is the Best Value for Fill FactorMysql:windows上mysqlæœåŠ¡ç®¡ç†MySQL Support ServicesVenu Anuganti Blog .recentcomments a{display:inline !important;padding:0 !important;margin:0 […]
Notes from Scaling MySQL – Up or Out – https://t.co/k2ZGnIf4
[…] Notes from Scaling MySQL – Up or Out […]
[…] Murphy managed to take painstaking notes with all the facts and figures. As well, Venu Anuganti presents a chart with the results as well as notes on the more detailed answers. Ronald Bradford has a brief summary of the 20 seconds of wisdom from each […]