Submit Search
Upload
高可用
•
0 likes
•
168 views
C
chosen0ne
Follow
How to achieve high availability from application to hardware.
Read less
Read more
Software
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 24
Download now
Download to read offline
Recommended
聊聊我接触的集群管理
聊聊我接触的集群管理
rfyiamcool
Golang 高性能实战
Golang 高性能实战
rfyiamcool
Design realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang Li
Ceph Community
Bypat博客出品-服务器运维集群方法总结3
Bypat博客出品-服务器运维集群方法总结3
redhat9
Bypat博客出品-服务器运维集群方法总结2
Bypat博客出品-服务器运维集群方法总结2
redhat9
吴岷 视频Cdn分发、调度与服务的探讨
吴岷 视频Cdn分发、调度与服务的探讨
drewz lin
Bypat博客出品-服务器运维集群方法总结
Bypat博客出品-服务器运维集群方法总结
redhat9
美团点评技术沙龙010-Redis Cluster运维实践
美团点评技术沙龙010-Redis Cluster运维实践
美团点评技术团队
Recommended
聊聊我接触的集群管理
聊聊我接触的集群管理
rfyiamcool
Golang 高性能实战
Golang 高性能实战
rfyiamcool
Design realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang Li
Ceph Community
Bypat博客出品-服务器运维集群方法总结3
Bypat博客出品-服务器运维集群方法总结3
redhat9
Bypat博客出品-服务器运维集群方法总结2
Bypat博客出品-服务器运维集群方法总结2
redhat9
吴岷 视频Cdn分发、调度与服务的探讨
吴岷 视频Cdn分发、调度与服务的探讨
drewz lin
Bypat博客出品-服务器运维集群方法总结
Bypat博客出品-服务器运维集群方法总结
redhat9
美团点评技术沙龙010-Redis Cluster运维实践
美团点评技术沙龙010-Redis Cluster运维实践
美团点评技术团队
Hacking Nginx at Taobao
Hacking Nginx at Taobao
Joshua Zhu
Cephfs架构解读和测试分析
Cephfs架构解读和测试分析
Yang Guanjun
Ceph intro
Ceph intro
Yang Guanjun
Ceph monitor-op
Ceph monitor-op
Yang Guanjun
Ceph perf-tunning
Ceph perf-tunning
Yang Guanjun
Traffic server overview
Traffic server overview
qianshi
cdn的那些事儿
cdn的那些事儿
rfyiamcool
Golang advance
Golang advance
rfyiamcool
Ceph in UnitedStack
Ceph in UnitedStack
Rongze Zhu
Traffic server 管理员指南v1.0
Traffic server 管理员指南v1.0
qianshi
Oracle dgha
Oracle dgha
Louis liu
主库自动切换 V2.0
主库自动切换 V2.0
jinqing zhu
Kubernetes use-ceph
Kubernetes use-ceph
Yang Guanjun
快速搭建高性能服务端
快速搭建高性能服务端
moonbingbing
阿里CDN技术揭秘
阿里CDN技术揭秘
Joshua Zhu
反向代理工作原理及Squid简介
反向代理工作原理及Squid简介
diruser
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Ceph Community
Apache trafficserver
Apache trafficserver
Din Dindin
Nodejs & NAE
Nodejs & NAE
q3boy
深入Docker的资源管理
深入Docker的资源管理
SpeedyCloud
PHP Optimization for Millions Visits Level
PHP Optimization for Millions Visits Level
Ho Kim
Nosql三步曲
Nosql三步曲
84zhu
More Related Content
What's hot
Hacking Nginx at Taobao
Hacking Nginx at Taobao
Joshua Zhu
Cephfs架构解读和测试分析
Cephfs架构解读和测试分析
Yang Guanjun
Ceph intro
Ceph intro
Yang Guanjun
Ceph monitor-op
Ceph monitor-op
Yang Guanjun
Ceph perf-tunning
Ceph perf-tunning
Yang Guanjun
Traffic server overview
Traffic server overview
qianshi
cdn的那些事儿
cdn的那些事儿
rfyiamcool
Golang advance
Golang advance
rfyiamcool
Ceph in UnitedStack
Ceph in UnitedStack
Rongze Zhu
Traffic server 管理员指南v1.0
Traffic server 管理员指南v1.0
qianshi
Oracle dgha
Oracle dgha
Louis liu
主库自动切换 V2.0
主库自动切换 V2.0
jinqing zhu
Kubernetes use-ceph
Kubernetes use-ceph
Yang Guanjun
快速搭建高性能服务端
快速搭建高性能服务端
moonbingbing
阿里CDN技术揭秘
阿里CDN技术揭秘
Joshua Zhu
反向代理工作原理及Squid简介
反向代理工作原理及Squid简介
diruser
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Ceph Community
Apache trafficserver
Apache trafficserver
Din Dindin
Nodejs & NAE
Nodejs & NAE
q3boy
深入Docker的资源管理
深入Docker的资源管理
SpeedyCloud
What's hot
(20)
Hacking Nginx at Taobao
Hacking Nginx at Taobao
Cephfs架构解读和测试分析
Cephfs架构解读和测试分析
Ceph intro
Ceph intro
Ceph monitor-op
Ceph monitor-op
Ceph perf-tunning
Ceph perf-tunning
Traffic server overview
Traffic server overview
cdn的那些事儿
cdn的那些事儿
Golang advance
Golang advance
Ceph in UnitedStack
Ceph in UnitedStack
Traffic server 管理员指南v1.0
Traffic server 管理员指南v1.0
Oracle dgha
Oracle dgha
主库自动切换 V2.0
主库自动切换 V2.0
Kubernetes use-ceph
Kubernetes use-ceph
快速搭建高性能服务端
快速搭建高性能服务端
阿里CDN技术揭秘
阿里CDN技术揭秘
反向代理工作原理及Squid简介
反向代理工作原理及Squid简介
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Building the Production Ready EB level Storage Product from Ceph - Dongmao Zhang
Apache trafficserver
Apache trafficserver
Nodejs & NAE
Nodejs & NAE
深入Docker的资源管理
深入Docker的资源管理
Similar to 高可用
PHP Optimization for Millions Visits Level
PHP Optimization for Millions Visits Level
Ho Kim
Nosql三步曲
Nosql三步曲
84zhu
阿里云技术实践
阿里云技术实践
drewz lin
淘宝主备数据库自动切换
淘宝主备数据库自动切换
mysqlops
2014 Hpocon 黄慧攀 upyun - 平台架构的服务监控
2014 Hpocon 黄慧攀 upyun - 平台架构的服务监控
Michael Zhang
MySQL自动切换设计与实现
MySQL自动切换设计与实现
orczhou
Hantuo openstack
Hantuo openstack
OpenCity Community
TechCCU Workshop OpenFlow Introduction
TechCCU Workshop OpenFlow Introduction
icemango
大规模网站架构
大规模网站架构
drewz lin
Redis在唯品会的应用实践.pdf
Redis在唯品会的应用实践.pdf
jaydenhu
淘宝前台系统性能分析与优化
淘宝前台系统性能分析与优化
丁 宇
新浪微博平台与安全架构
新浪微博平台与安全架构
n716
金山云查询系统改进之路1
金山云查询系统改进之路1
Zoom Quiet
大众点评网的技术变迁之路
大众点评网的技术变迁之路
jeffz
[.Net开发交流会][2010.06.19]大众点评网的技术变迁之路(王宏)
[.Net开发交流会][2010.06.19]大众点评网的技术变迁之路(王宏)
Shanda innovation institute
Linux system security
Linux system security
Kenny (netman)
Lvs在大规模网络环境下的应用pukong
Lvs在大规模网络环境下的应用pukong
Michael Zhang
了解应用服务器
了解应用服务器
Feng Yu
分布式缓存与队列
分布式缓存与队列
XiaoJun Hong
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewave
OpenCity Community
Similar to 高可用
(20)
PHP Optimization for Millions Visits Level
PHP Optimization for Millions Visits Level
Nosql三步曲
Nosql三步曲
阿里云技术实践
阿里云技术实践
淘宝主备数据库自动切换
淘宝主备数据库自动切换
2014 Hpocon 黄慧攀 upyun - 平台架构的服务监控
2014 Hpocon 黄慧攀 upyun - 平台架构的服务监控
MySQL自动切换设计与实现
MySQL自动切换设计与实现
Hantuo openstack
Hantuo openstack
TechCCU Workshop OpenFlow Introduction
TechCCU Workshop OpenFlow Introduction
大规模网站架构
大规模网站架构
Redis在唯品会的应用实践.pdf
Redis在唯品会的应用实践.pdf
淘宝前台系统性能分析与优化
淘宝前台系统性能分析与优化
新浪微博平台与安全架构
新浪微博平台与安全架构
金山云查询系统改进之路1
金山云查询系统改进之路1
大众点评网的技术变迁之路
大众点评网的技术变迁之路
[.Net开发交流会][2010.06.19]大众点评网的技术变迁之路(王宏)
[.Net开发交流会][2010.06.19]大众点评网的技术变迁之路(王宏)
Linux system security
Linux system security
Lvs在大规模网络环境下的应用pukong
Lvs在大规模网络环境下的应用pukong
了解应用服务器
了解应用服务器
分布式缓存与队列
分布式缓存与队列
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewave
高可用
1.
⾼高可⽤用架构 ——从上层应⽤用到底层硬件 娄振林林
2.
Outline • 何为⾼高可⽤用 • 应⽤用层⾯面 •
硬件层⾯面
3.
– wikipedia “High availability
is a characteristic of a system, which aims to ensure an agreed level of operational performance, usually uptime, for a higher than normal period.” ⾼高可⽤用
4.
⾼高可⽤用 • 单点 • 冗余 •
服务多副本 • 存储多副本 • failover -> 少量量时间的不不可⽤用(10s级、分钟级) • 故障检测 • ⾃自动切换
5.
⾼高可⽤用 • 故障检测 • ICMP检测
-> ⽹网络可达 • Port检测 -> 应⽤用进程可达 • 服务检测 -> 服务可⽤用
6.
DNS LVS LVS LVS Group
1 LVS LVS LVS Group N Reverse Proxy API Cluster Moa Cluster Storage Redis MySQL HBase 陌 陌 架 构
7.
接⼊入层 • LVS +
Keepalived LVS Keepaliived ……
8.
接⼊入层 • LVS冗余 • VRRP(Virtual
Router Redundancy Protocol) • VIP漂移 LVS 主 LVS 备 Keepaliived VRRP Keepaliived VIP LVS 主 LVS 备 Keepaliived Keepaliived VIP
9.
接⼊入层 • 吞吐量量达到单台LVS上限? • ⽹网卡流量量、CPU……
10.
接⼊入层 • DNS轮询 • ⼀一个域名
=> 多个IP DNS LVS Group1 LVS Group2 VIP1 VIP2
11.
反向代理理层 • 七层负载均衡 • 更更细粒度的流量量分发 •
模块化
12.
API集群 • 服务冗余部署,依赖反向代理理层做failover
13.
MOA集群 • 服务冗余部署 • 宕机:服务注册中⼼心(MomoKeeper) •
慢:MOA-Watcher
14.
存储层 • Replication • 主从⾃自动切换
15.
Redis • 主从 • sentinel:
https://moji.wemomo.com/article/2832 • 集群⽅方案: • Redis Cluster • Codis
16.
MySQL • 主从 • MHA:解决主挂的情况 •
从挂: • 类似sentinel • MMM、PXC • Proxy
17.
HBase • 分布式存储系统 • ⾼高可⽤用保证: •
zookeeper存储元数据,多个HMaster避免单点 • 数据存放在底层的分布式⽂文件系统,保证多副本及 failover
18.
机房⽹网络架构 接⼊交换机 汇聚交换机 …… …… …… Internet 汇聚交换机 汇聚交换机 接⼊交换机 接⼊交换机 核⼼交换机
19.
⽹网卡⾼高可⽤用 • bonding • 多块⽹网卡
=> ⼀一块虚拟⽹网卡 • 流量量分发 • 轮询、主备、hash、⼴广播......
20.
链路路⾼高可⽤用 • LACP • Link
Aggregation Control Protocol,链路路汇聚控制 协议 • STP • Spanning Tree Protocol,⽣生成树协议
21.
核⼼心交换机⾼高可⽤用 • 提供⽹网络层功能 • VRRP,ECMP…. •
思科核⼼心交换机 • HSRP(Hot Standby Router Protocol)
22.
机架⾼高可⽤用 • 服务不不能部署在同⼀一个机架 • 存储的⼀一对主从不不能部署在同⼀一个机架
23.
机房⾼高可⽤用 • 数据源跨机房复制 • 服务跨机房访问 •
⽤用户接⼊入调度
24.
Thank you
Download now