展开查看详情

1. Mailchimp Scale:

A MySQL Perspective

John Scott

Mailchimp

2.What is

Mailchimp’s secret

sauce?

Hint: It’s not much of a secret.

2

3.Focus on the small business

“Empowering the Underdog”

3

4. “We give marketers

production-ready software

designed to help them

grow…”

Mailchimp Engineering Mission Statement

https://mailchimp.com/culture/how-our-engineering-team-found-its-mission-statement/

5.5

6.Another way to say it

“We SCALE through

togetherness,

momentum,

and pragmatism.”

6

7.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

8.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

“I’m a DevOps DBA”

9.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

10.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

“I help other

departments work

with databases”

11.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

12.Old Mentality: The 3 Disciplines of Data

Administration

● OPS / KTLO

● Support

● Performance

“over the fence”

13.New Mentality:

“Ops is product”

14.Ops is Product

“If you improve database

performance resulting in 10%

reduction in churn, you would

create an additional

number>.”

15.Ops is Product

“Developer

Enablement”

New paradigm “looking at ops through the lens of product” --Tyler Treat

● https://bravenewgeek.com/operations-in-the-world-of-developer-enablement/

● https://www.youtube.com/watch?v=JUy3GYkPfto

OR in the case of Mailchimp, ops actually developing software, too.

16.Developer Enablement

Product Enablement

In most organizations “Product enablement” is

sales term with the “four Ps”

● Positioning

● Pitch

● Play

● Program

17.Developer Enablement

Product Enablement

1000 employees

350+ engineers

0 salespeople

18.Mailchimp “Board Room”

19.

20. Sounds great.

But what does that mean for a

database engineer?

21.#togetherness in action

MySQL log analysis based on

pt-query-digest and

Elasticsearch / Kibana

resulted in a Top 20 table

activity graph

22.End of story?

“Toss it over the wall.”

“Not my problem.”

“I don’t have commit rights.”

23.This is Mailchimp Engineering

“We succeed through togetherness,

Momentum, and Pragmatism”

24.We identified an N+1

pattern and fixed it,

together.

25.But wait....

26.What was the impact to the user

experience?

27.265 billion queries per week

247 thousand unique

query fingerprints

2200 Instances of mysql

28.Old Mentality: Effective Slow Query Log

Analysis Across The Infrastructure FTW!

“Query Macroeconomics”

https://johnscott.net/2018/08/03/query-macroeconomics/

● Prioritize query fixes by how much DB capacity you get back

○ MySQL not stressed with contention equals what?

■ A pretty innodb status?

■ Nice looking graphs?

29.Old Mentality: Effective Slow Query Log

Analysis Across The Infrastructure FTW!

“Query Macroeconomics”

https://johnscott.net/2018/08/03/query-macroeconomics/

● Prioritize query fixes by how much DB capacity you get back

○ MySQL not stressed with contention equals what?

■ A pretty innodb status?

■ Nice looking graphs?

mysql scale,Mailchimp Scale:a MySQL Perspective相关推荐

  1. MySQL架构方案 - Scale Out Scale Up.

    MySQL架构方案 Scale Out:横向扩展,增加处理节点提高整体处理能力 Scale Up:纵向扩展,通过提升单个节点的处理能力达到提升整体处理能力的目的 Replication MySQL的r ...

  2. myeclipse连接mysql怎么调用_myeclipse连接mysql数据库详细步骤

    第一步 打开Database  windows-prefenrence-showview-DBbrowser ,此时会在工具底部有个DBbrowser ,选中它,再它所控制的页面的任意位置 右击new ...

  3. mysql关于时间的面试题,mysql时间设置默认值MySQL常见面试题

    1.limit(选出10 到20 条) select * from students order by id limit 9,10; 2.MySQL 会使用索引的操作符号 =,>,=,betwe ...

  4. liunx上mysql源码安装mysql,搞定linux上MySQL编程(一):linux上源码安装MySQL

    [版权声明:尊重原创,转载请保留出处:blog.csdn.net/shallnet,文章仅供学习交流,请勿用于商业用途] 1. 首先下载源码包: ftp://ftp.jaist.ac.jp/pub/m ...

  5. .net连接mysql数据_.net连接MYSQL数据库的方法及示例!

    连接MYSQL数据库的方法及示例 方法一: 使用MYSQL推出的MySQL Connector/Net is an ADO.NET driver for MySQL 该组件为MYSQL为ADO.NET ...

  6. 加速mysql导入时间_加快mysql导入导出速度

    MySQL导出的SQL语句在处理百万级数据的时候,可能导入要花几小时.在导出时合理使用几个参数,可以大大加快导入的速度. -e 使用包括几个VALUES列表的多行INSERT语法; --max_all ...

  7. mysql error number 1130,[转]mysql error number 1130的解决方法

    关键字: is not allowed to connect to this MySQL server 如果你想连接你的mysql的时候发生这个错误: ERROR 1130: Host '192.16 ...

  8. Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2)

    安装了mysql, 使用命令mysql -u root -p 弹出Can 't connect to local MySQL server through socket '/tmp/mysql.soc ...

  9. linux mysql 无法识别,Linux下MySQL 5.7.23无法远程连接解决方案

    MySQL 版本:5.7.23操作系统:Linux问题描述:只能通过Linux系统账号Root命令行进入数据库,无法使用JDBC,远程连接工具进入数据库.报错:ERROR 1698 (28000): ...

最新文章

  1. 用Flutter改造ZS项目小记一:界面显示一张图片
  2. Oracle APEX 系列文章7:Oracle APEX 18.1 新特性
  3. java windows系统监控_Windows资源监控工具大全
  4. shell之九九乘法表
  5. flask 对excel上传下载操作和文件处理
  6. win32获取当前运行程序的内存地址_一个lock锁,就可以分出程序员对问题处置方式水平的高中低...
  7. linux办公软件wps字体,linux版wps-office安装缺少的字体
  8. 概率论与数理统计——Chapter0
  9. DataGrip连接不上本地localhost数据库解决办法
  10. MySQL 索引原理
  11. 制订项目进度计划的讨论
  12. Html基本标签(斜体em、空格nbsp、段落p、标题h1、换行br、大于号gt、小于号lt、引号quot、版权符号copy、图片img、水平线hr)
  13. Python基础综合训练三(tkinter牛刀小试)
  14. python手游自动化测试流程_基于Python+appium的ios自动化测试demo(更新中)
  15. 江苏赛区|2021年数学建模国赛江苏赛区获奖名单
  16. 读书印记 - 《文案创作完全手册:文案大师教你一步步写出销售力》
  17. FPGA学习-基于FPGA的高速串行通信GTX知识梳理
  18. android 4.3 刷机,金立GN9005 Android 4.3-4.4 (S5.1 移动4G)一键救砖教程,轻松刷回官方系统...
  19. 淘宝里面的data-spm-anchor-id属性有什么用?
  20. 从Word中批量提取数据到Excel中,Word导出到Excel的利器

热门文章

  1. NetBeans第一部分代码提交Apache
  2. CGContextRef使用简要教程
  3. Node.js:清理项目中的依赖
  4. 视频处理简单实例 [OpenCV 笔记2]
  5. UITextField对字符串的个数限制
  6. OSChina 周日乱弹 —— 在宅的路上越走越远。。。
  7. JAVA 设计模式 职责链模式
  8. NS2中数据包Packet的分析 (转帖)
  9. 简明 Vim 练级攻(转自coolshell)
  10. python中 is 和== 的区别