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
相关推荐
rustdesk
Design Principles for Scaling Multi-core OLTP Under High Contention 论文的ppt
《Data Algorithms: Recipes for Scaling Up with Hadoop and Spark》这本书为读者提供了一套完整的方法论和工具,使读者能够借助Apache Hadoop和Apache Spark平台来构建分布式MapReduce应用。书中不仅包含了...
aws-java-sdk-autoscaling-1.11.277.jar
Scaling Instruction-Finetuned Language Models 本文探讨了基于指令 fine-tuning 的语言模型的扩展,主要关注于三个方面:任务数量的扩展、模型规模的扩展和基于 chain-of-thought 数据的 fine-tuning。研究表明,...
CMO Council:Scaling-the-Value-of-the-CMO
《PyPI上的mypy-boto3-autoscaling-plans库详解》 在Python的世界里,PyPI(Python Package Index)是开发者们分享和获取开源软件包的重要平台。今天我们要探讨的是其中的一个特定库——`mypy-boto3-autoscaling-...
《PyPI官网下载的mypy-boto3-autoscaling-plans-1.17.25.0.tar.gz——深入解析Python库》 在Python的世界里,PyPI(Python Package Index)是不可或缺的一个部分,它是Python开发者获取和分享软件包的主要平台。...
《PyPI官网下载的mypy-boto3-autoscaling-plans-1.10.39.0.tar.gz详解》 PyPI(Python Package Index)是Python开发者们发布和分享自己编写模块的主要平台,它是Python生态系统的核心组成部分。在这个平台上,我们...
《PyPI与mypy-boto3-autoscaling-plans库详解》 PyPI(Python Package Index)是Python编程语言的官方软件包仓库,是全球Python开发者获取和分享Python库的重要平台。在这里,开发者可以找到各种预编译的Python模块...
**Python库aws-cdk.aws-autoscaling-common-1.32.1详解** AWS Cloud Development Kit(AWS CDK)是一个开源软件开发框架,用于定义云应用程序的基础设施即代码(IaC)。它允许开发者使用熟悉的编程语言(如Python)...
《PyPI与mypy-boto3-autoscaling-plans库详解》 PyPI(Python Package Index)是Python软件包的官方仓库,它为开发者提供了一个平台来发布、分享和安装Python项目。PyPI包含了各种各样的Python库,覆盖了从数据科学...
标题中的"PyPI 官网下载 | aws-cdk.aws-autoscaling-common-0.30.0.tar.gz"指的是在Python Package Index (PyPI)官方平台上可以下载到的一个软件包,名为`aws-cdk.aws-autoscaling-common`,版本号为0.30.0,其格式...
《PyPI官网下载:mypy-boto3-autoscaling-plans-1.18.40.tar.gz详解》 PyPI(Python Package Index)是Python社区的重要资源库,它为全球Python开发者提供了一个集中分享和获取Python软件包的平台。在PyPI上,我们...
"windows-DPI-scaling-sample-master.rar"是一个来源于GitHub的压缩包,包含了关于Windows DPI缩放的示例代码和相关资源,旨在帮助开发者理解和实现DPI感知的应用程序。 首先,我们需要理解DPI缩放的工作原理。在高...
Recent results in the development of diode-driven high energy, high repetition rate, picosecond lasers, including the demonstration of a cryogenic Yb:YAG active mirror amplifier that produces 1.5 J ...
《PyPI与AWS CDK:aws-autoscaling-common库详解》 PyPI(Python Package Index)是Python开发者广泛使用的软件包仓库,它提供了丰富的Python库供用户下载和使用。在我们的例子中,我们关注的是一个名为`aws-cdk....
标题 "Python库 | mypy-boto3-autoscaling-plans-1.17.0.0.tar.gz" 提供的信息表明这是一个与Python相关的库,特别地,它涉及到`mypy`和`boto3`两个关键组件,以及`autoscaling-plans`的服务。`mypy`是Python的一个...
这是 CS2 min-cost-max-flow scaling 算法的 C++ 实现。 这旨在成为最干净、最简单、成本最低的产品之一 使用 C++ 实现最大流 (MCMF)。如果你有一个 C++ 应用程序 您需要使用 MCMF 算法,那么这可能是您最优雅的...