标签:硬件 基金 计算 dna 分布式计算 管理系统 包括 开发人员 type
前言
面试常常被要求「熟悉分布式技术」,当年搞 “XXX管理系统” 的时候,我都不知道分布式系统是个啥。分布式系统是一个硬件或软件组件分布在不同的网络计算机中上,彼此之间仅仅通过消息传递进行通信和协调的系统。
计算机系统从集中式到分布式的变革伴随着包括分布式网络、分布式事务、分布式数据一致性等在内的一系列问题和挑战,同时也催生了一大批诸如ACID、CAP和 BASE 等经典理论的快速发展。
为了解决分布式一致性问题,涌现出了一大批经典的一致性协议和算法,最为著名的就是二阶段提交协议(2PC),三阶段提交协议(3PC)和Paxos算法。Zookeeper的一致性是通过基于 Paxos 算法的 ZAB 协议完成的。一致性协议之前的文章也有介绍:「走进分布式一致性协议」从2PC、3PC、Paxos 到 ZAB,这里就不再说了。
概述
1.1 定义
ZooKeeper 官网是这么介绍的:”Apache ZooKeeper 致力于开发和维护一个支持高度可靠的分布式协调的开源服务器“
1.2 ZooKeeper是个啥
ZooKeeper 是 Apache 软件基金会的一个软件项目,它为大型「分布式计算」提供开源的分布式配置服务、同步服务和命名注册。
Zookeeper 最早起源于雅虎研究院的一个研究小组。在当时,研究人员发现,在雅虎内部很多大型系统基本都需要依赖一个类似的系统来进行分布式协调,但是这些系统往往都存在分布式单点问题。所以,雅虎的开发人员就试图开发一个通用的无单点问题的分布式协调框架,以便让开发人员将精力集中在处理业务逻辑上,Zookeeper 就这样诞生了。后来捐赠给了 Apache ,现已成为 Apache 顶级项目。
weibo.com/7489240025/Jlp0EjRy6
weibo.com/7489240025/Jlp0EjRy6?type=comment
weibo.com/7489240000/Jlp0Ffikx
weibo.com/7489240000/Jlp0Ffikx?type=comment
weibo.com/7489239987/Jlp0G5gUh
weibo.com/7489239987/Jlp0G5gUh?type=comment
weibo.com/7489240025/Jlp0HeZa1
weibo.com/7489240025/Jlp0HeZa1?type=comment
weibo.com/7489240000/Jlp0IapFN
weibo.com/7489240000/Jlp0IapFN?type=comment
weibo.com/7489240025/Jlp0PeNgG
weibo.com/7489240025/Jlp0PeNgG?type=comment
weibo.com/7489240000/Jlp0Pi5Zf
weibo.com/7489240000/Jlp0Pi5Zf?type=comment
weibo.com/7489239987/Jlp0PeNIa
weibo.com/7489239987/Jlp0PeNIa?type=comment
weibo.com/7489240025/Jlp0Sc5X1
weibo.com/7489240025/Jlp0Sc5X1?type=comment
weibo.com/7489240000/Jlp0Sc6pr
weibo.com/7489240000/Jlp0Sc6pr?type=comment
weibo.com/7489239987/Jlp0Sc6Pc
weibo.com/7489239987/Jlp0Sc6Pc?type=comment
weibo.com/7489240025/Jlp0UzZZa
weibo.com/7489240025/Jlp0UzZZa?type=comment
weibo.com/7489240000/Jlp0UwIPR
weibo.com/7489240000/Jlp0UwIPR?type=comment
weibo.com/7489239987/Jlp0VcIwA
weibo.com/7489239987/Jlp0VcIwA?type=comment
weibo.com/7489240025/Jlp0XyoKb
weibo.com/7489240025/Jlp0XyoKb?type=comment
weibo.com/7489240000/Jlp0XwcpQ
weibo.com/7489240000/Jlp0XwcpQ?type=comment
weibo.com/7489239987/Jlp0Y4wGw
weibo.com/7489239987/Jlp0Y4wGw?type=comment
weibo.com/7489240000/Jlp10e9nP
weibo.com/7489240000/Jlp10e9nP?type=comment
weibo.com/7489240025/Jlp10e9ki
weibo.com/7489240025/Jlp10e9ki?type=comment
weibo.com/7488832069/Jlp12zOjO
weibo.com/7488832069/Jlp12zOjO?type=comment
weibo.com/7489240025/Jlp1388Tf
weibo.com/7489240025/Jlp1388Tf?type=comment
weibo.com/7489240000/Jlp139ffZ
weibo.com/7489240000/Jlp139ffZ?type=comment
weibo.com/7488832069/Jlp15uUkC
weibo.com/7488832069/Jlp15uUkC?type=comment
weibo.com/7489240025/Jlp166xQk
weibo.com/7489240025/Jlp166xQk?type=comment
weibo.com/7489240000/Jlp168LjA
weibo.com/7489240000/Jlp168LjA?type=comment
weibo.com/7488832069/Jlp187mlM
weibo.com/7488832069/Jlp187mlM?type=comment
weibo.com/7489240025/Jlp18usa2
weibo.com/7489240025/Jlp18usa2?type=comment
weibo.com/7489240000/Jlp193Sr2
weibo.com/7489240000/Jlp193Sr2?type=comment
weibo.com/7488832069/Jlp1ba9AS
weibo.com/7488832069/Jlp1ba9AS?type=comment
weibo.com/7489240000/Jlp1c04xf
weibo.com/7489240000/Jlp1c04xf?type=comment
weibo.com/7489240025/Jlp1c1b3N
weibo.com/7489240025/Jlp1c1b3N?type=comment
weibo.com/7488832069/Jlp1e5fol
weibo.com/7488832069/Jlp1e5fol?type=comment
weibo.com/7489240025/Jlp1ep5wy
weibo.com/7489240025/Jlp1ep5wy?type=comment
weibo.com/7489240000/Jlp1enZdw
weibo.com/7489240000/Jlp1enZdw?type=comment
weibo.com/7488832069/Jlp1gFdDj
weibo.com/7488832069/Jlp1gFdDj?type=comment
weibo.com/7489240025/Jlp1hhZnU
weibo.com/7489240025/Jlp1hhZnU?type=comment
weibo.com/7489240000/Jlp1hgSQx
weibo.com/7489240000/Jlp1hgSQx?type=comment
weibo.com/7488832069/Jlp1jqsUH
weibo.com/7488832069/Jlp1jqsUH?type=comment
weibo.com/7489240000/Jlp1kfikO
weibo.com/7489240000/Jlp1kfikO?type=comment
weibo.com/7489240025/Jlp1kebba
weibo.com/7489240025/Jlp1kebba?type=comment
weibo.com/7488832069/Jlp1mks45
weibo.com/7488832069/Jlp1mks45?type=comment
weibo.com/7489240000/Jlp1ndGH7
weibo.com/7489240000/Jlp1ndGH7?type=comment
weibo.com/7489240025/Jlp1nbuRm
weibo.com/7489240025/Jlp1nbuRm?type=comment
weibo.com/7488832069/Jlp1oDX3V
weibo.com/7488832069/Jlp1oDX3V?type=comment
weibo.com/7489240000/Jlp1pyimh
weibo.com/7489240000/Jlp1pyimh?type=comment
weibo.com/7489240025/Jlp1qeiHY
weibo.com/7489240025/Jlp1qeiHY?type=comment
weibo.com/7488832069/Jlp1rCnqw
weibo.com/7488832069/Jlp1rCnqw?type=comment
weibo.com/7489240000/Jlp1syT3k
weibo.com/7489240000/Jlp1syT3k?type=comment
weibo.com/7489240025/Jlp1syTYN
weibo.com/7489240025/Jlp1syTYN?type=comment
weibo.com/7488832069/Jlp1uE3FK
weibo.com/7488832069/Jlp1uE3FK?type=comment
weibo.com/7489240000/Jlp1vsTEo
weibo.com/7489240000/Jlp1vsTEo?type=comment
weibo.com/7489240025/Jlp1vwczP
weibo.com/7489240025/Jlp1vwczP?type=comment
weibo.com/7488832069/Jlp1xfpyM
weibo.com/7488832069/Jlp1xfpyM?type=comment
weibo.com/7489240000/Jlp1ybVuM
weibo.com/7489240000/Jlp1ybVuM?type=comment
weibo.com/7489240025/Jlp1yuBp3
weibo.com/7489240025/Jlp1yuBp3?type=comment
weibo.com/7488832069/Jlp1AdNaM
weibo.com/7488832069/Jlp1AdNaM?type=comment
weibo.com/7489240000/Jlp1BajYM
weibo.com/7489240000/Jlp1BajYM?type=comment
weibo.com/7489240025/Jlp1B9faV
weibo.com/7489240025/Jlp1B9faV?type=comment
weibo.com/7488832069/Jlp1CBGxo
weibo.com/7488832069/Jlp1CBGxo?type=comment
weibo.com/7489240000/Jlp1DuVPs
weibo.com/7489240000/Jlp1DuVPs?type=comment
weibo.com/7489240025/Jlp1E28J8
weibo.com/7489240025/Jlp1E28J8?type=comment
weibo.com/7488832069/Jlp1FyYxG
weibo.com/7488832069/Jlp1FyYxG?type=comment
weibo.com/7489240000/Jlp1Gq1o5
weibo.com/7489240000/Jlp1Gq1o5?type=comment
weibo.com/7489240025/Jlp1Gq2rz
weibo.com/7489240025/Jlp1Gq2rz?type=comment
weibo.com/7488832069/Jlp1IbqqG
weibo.com/7488832069/Jlp1IbqqG?type=comment
weibo.com/7489240000/Jlp1J5LTf
weibo.com/7489240000/Jlp1J5LTf?type=comment
weibo.com/7489240025/Jlp1JoqwB
weibo.com/7489240025/Jlp1JoqwB?type=comment
weibo.com/7488832069/Jlp1Ld6O3
weibo.com/7488832069/Jlp1Ld6O3?type=comment
weibo.com/7489240000/Jlp1M5ge5
weibo.com/7489240000/Jlp1M5ge5?type=comment
weibo.com/7489240025/Jlp1M5gdE
weibo.com/7489240025/Jlp1M5gdE?type=comment
weibo.com/7488832069/Jlp1NyOUG
weibo.com/7488832069/Jlp1NyOUG?type=comment
weibo.com/7489240025/Jlp1OqX6Q
weibo.com/7489240025/Jlp1OqX6Q?type=comment
weibo.com/7489240000/Jlp1OnFWH
weibo.com/7489240000/Jlp1OnFWH?type=comment
weibo.com/7488832069/Jlp1QtUQ5
weibo.com/7488832069/Jlp1QtUQ5?type=comment
weibo.com/7489240000/Jlp1Rog8k
weibo.com/7489240000/Jlp1Rog8k?type=comment
weibo.com/7489240025/Jlp1Rm4VN
weibo.com/7489240025/Jlp1Rm4VN?type=comment
weibo.com/7488832069/Jlp1Tsjlz
weibo.com/7488832069/Jlp1Tsjlz?type=comment
weibo.com/7489240000/Jlp1UmFt0
weibo.com/7489240000/Jlp1UmFt0?type=comment
weibo.com/7489240025/Jlp1UlzPt
weibo.com/7489240025/Jlp1UlzPt?type=comment
weibo.com/7488832069/Jlp1W99yy
weibo.com/7488832069/Jlp1W99yy?type=comment
weibo.com/7489240000/Jlp1WCRYh
weibo.com/7489240000/Jlp1WCRYh?type=comment
weibo.com/7489240025/Jlp1XgFid
weibo.com/7489240025/Jlp1XgFid?type=comment
weibo.com/7488832069/Jlp1Z5lFZ
weibo.com/7488832069/Jlp1Z5lFZ?type=comment
weibo.com/7489240000/Jlp1ZEyAI
weibo.com/7489240000/Jlp1ZEyAI?type=comment
weibo.com/7489240025/Jlp1ZAa6I
weibo.com/7489240025/Jlp1ZAa6I?type=comment
weibo.com/7488832069/Jlp21nLfP
weibo.com/7488832069/Jlp21nLfP?type=comment
weibo.com/7489240025/Jlp22AKNz
weibo.com/7489240025/Jlp22AKNz?type=comment
weibo.com/7489240000/Jlp22yyJM
weibo.com/7489240000/Jlp22yyJM?type=comment
weibo.com/7488832069/Jlp24pr50
weibo.com/7488832069/Jlp24pr50?type=comment
weibo.com/7489240025/Jlp25eiHC
weibo.com/7489240025/Jlp25eiHC?type=comment
weibo.com/7489240000/Jlp25hB5p
weibo.com/7489240000/Jlp25hB5p?type=comment
weibo.com/7488832069/Jlp270My4
weibo.com/7488832069/Jlp270My4?type=comment
weibo.com/7489240025/Jlp27CbGb
weibo.com/7489240025/Jlp27CbGb?type=comment
weibo.com/7488832069/Jlp2a1mZ1
weibo.com/7488832069/Jlp2a1mZ1?type=comment
weibo.com/7489240025/Jlp2azu9c
weibo.com/7489240025/Jlp2azu9c?type=comment
weibo.com/7488832069/Jlp2cjMek
weibo.com/7488832069/Jlp2cjMek?type=comment
weibo.com/7489240025/Jlp2dd2uc
weibo.com/7489240025/Jlp2dd2uc?type=comment
weibo.com/7488832069/Jlp2ffZLC
weibo.com/7488832069/Jlp2ffZLC?type=comment
weibo.com/7489240025/Jlp2gajZc
weibo.com/7489240025/Jlp2gajZc?type=comment
weibo.com/7489240025/Jlp2pBswo
weibo.com/7489240025/Jlp2pBswo?type=comment
weibo.com/7488832069/Jlp2pEL1f
weibo.com/7488832069/Jlp2pEL1f?type=comment
weibo.com/7489240025/Jlp2sAXn9
weibo.com/7489240025/Jlp2sAXn9?type=comment
weibo.com/7488832069/Jlp2sxFL8
weibo.com/7488832069/Jlp2sxFL8?type=comment
weibo.com/7489240025/Jlp2vevXi
weibo.com/7489240025/Jlp2vevXi?type=comment
weibo.com/7488832069/Jlp2vgHz8
weibo.com/7488832069/Jlp2vgHz8?type=comment
weibo.com/7488832069/Jlp2yaHvX
weibo.com/7488832069/Jlp2yaHvX?type=comment
weibo.com/7488832069/Jlp2BcoKD
weibo.com/7488832069/Jlp2BcoKD?type=comment
weibo.com/7488832069/Jlp2DuNU8
weibo.com/7488832069/Jlp2DuNU8?type=comment
weibo.com/7488832069/Jlp2H4PdB
weibo.com/7488832069/Jlp2H4PdB?type=comment
weibo.com/7488832069/Jlp2JrDp4
weibo.com/7488832069/Jlp2JrDp4?type=comment
weibo.com/7488832069/Jlp2Mr84t
weibo.com/7488832069/Jlp2Mr84t?type=comment
weibo.com/7488832069/Jlp2P1ni0
weibo.com/7488832069/Jlp2P1ni0?type=comment
weibo.com/7488832069/Jlp2S0RBx
weibo.com/7488832069/Jlp2S0RBx?type=comment
weibo.com/7488832069/Jlp2Ulu7W
weibo.com/7488832069/Jlp2Ulu7W?type=comment
weibo.com/7488832069/Jlp2Xn9ru
weibo.com/7488832069/Jlp2Xn9ru?type=comment
weibo.com/7488832069/Jlp300Hjs
weibo.com/7488832069/Jlp300Hjs?type=comment
weibo.com/7488832069/Jlp32DXYO
weibo.com/7488832069/Jlp32DXYO?type=comment
weibo.com/7488832069/Jlp36aGEP
weibo.com/7488832069/Jlp36aGEP?type=comment
weibo.com/7488832069/Jlp39acxe
weibo.com/7488832069/Jlp39acxe?type=comment
weibo.com/7488832069/Jlp3bvUua
weibo.com/7488832069/Jlp3bvUua?type=comment
weibo.com/7488832069/Jlp3eujZd
weibo.com/7488832069/Jlp3eujZd?type=comment
weibo.com/7488832069/Jlp3hqwx3
weibo.com/7488832069/Jlp3hqwx3?type=comment
weibo.com/7488832069/Jlp3klD0F
weibo.com/7488832069/Jlp3klD0F?type=comment
weibo.com/7488832069/Jlp3n4FZ2
weibo.com/7488832069/Jlp3n4FZ2?type=comment
weibo.com/7488832069/Jlp3pDwuh
weibo.com/7488832069/Jlp3pDwuh?type=comment
weibo.com/7488832069/Jlp3snFJf
weibo.com/7488832069/Jlp3snFJf?type=comment
weibo.com/7488832069/Jlp3vhGAj
weibo.com/7488832069/Jlp3vhGAj?type=comment
weibo.com/7488832069/Jlp3yigZZ
weibo.com/7488832069/Jlp3yigZZ?type=comment
weibo.com/7488832069/Jlp3BetrK
weibo.com/7488832069/Jlp3BetrK?type=comment
weibo.com/7488832069/Jlp3JvT8T
weibo.com/7488832069/Jlp3JvT8T?type=comment
weibo.com/7488832069/Jlp3MpV13
weibo.com/7488832069/Jlp3MpV13?type=comment
weibo.com/7488832069/Jlp3Pm8he
weibo.com/7488832069/Jlp3Pm8he?type=comment
weibo.com/7488832069/Jlp3VBEDT
weibo.com/7488832069/Jlp3VBEDT?type=comment
weibo.com/7488832069/Jlp3YvFkA
weibo.com/7488832069/Jlp3YvFkA?type=comment
weibo.com/7488953659/Jlp4oiFv8
weibo.com/7488953659/Jlp4oiFv8?type=comment
weibo.com/7488953659/Jlp4rdLRL
weibo.com/7488953659/Jlp4rdLRL?type=comment
weibo.com/7489364382/Jlp4rbAff
weibo.com/7489364382/Jlp4rbAff?type=comment
weibo.com/7488953659/Jlp4typtr
weibo.com/7488953659/Jlp4typtr?type=comment
weibo.com/7489364382/Jlp4ucbkz
weibo.com/7489364382/Jlp4ucbkz?type=comment
weibo.com/7488953659/Jlp4wuAQH
weibo.com/7488953659/Jlp4wuAQH?type=comment
weibo.com/7489364382/Jlp4wyZs9
weibo.com/7489364382/Jlp4wyZs9?type=comment
weibo.com/7487919309/Jlp4U967J
weibo.com/7487919309/Jlp4U967J?type=comment
weibo.com/7487919309/Jlp4X9Iwd
weibo.com/7487919309/Jlp4X9Iwd?type=comment
weibo.com/7487919309/Jlp54bRZW
weibo.com/7487919309/Jlp54bRZW?type=comment
weibo.com/7487919309/Jlp57eGJ8
weibo.com/7487919309/Jlp57eGJ8?type=comment
weibo.com/7487919309/Jlp5a8HjT
weibo.com/7487919309/Jlp5a8HjT?type=comment
weibo.com/7487919309/Jlp5csd6x
weibo.com/7487919309/Jlp5csd6x?type=comment
weibo.com/7487919309/Jlp5fqCtA
weibo.com/7487919309/Jlp5fqCtA?type=comment
weibo.com/7487919309/Jlp5ip0kT
weibo.com/7487919309/Jlp5ip0kT?type=comment
weibo.com/7487919309/Jlp5l4Kn5
weibo.com/7487919309/Jlp5l4Kn5?type=comment
weibo.com/7489612178/Jlp5mx9Lk
weibo.com/7489612178/Jlp5mx9Lk?type=comment
weibo.com/7487919309/Jlp5o5lIu
weibo.com/7487919309/Jlp5o5lIu?type=comment
weibo.com/7489612178/Jlp5pxLFZ
weibo.com/7489612178/Jlp5pxLFZ?type=comment
weibo.com/7489612178/Jlp5sadgD
weibo.com/7489612178/Jlp5sadgD?type=comment
weibo.com/7489612178/Jlp5v5kLl
weibo.com/7489612178/Jlp5v5kLl?type=comment
weibo.com/7489612178/Jlp5y4PB8
weibo.com/7489612178/Jlp5y4PB8?type=comment
weibo.com/7489612178/Jlp5B5sbN
weibo.com/7489612178/Jlp5B5sbN?type=comment
weibo.com/7489612178/Jlp5DDeos
weibo.com/7489612178/Jlp5DDeos?type=comment
weibo.com/7489612178/Jlp5H05QN
weibo.com/7489612178/Jlp5H05QN?type=comment
weibo.com/7488709632/Jlp5Jjzdj
weibo.com/7488709632/Jlp5Jjzdj?type=comment
weibo.com/7489612178/Jlp5Kazwl
weibo.com/7489612178/Jlp5Kazwl?type=comment
weibo.com/7488709632/Jlp5MgSPf
weibo.com/7488709632/Jlp5MgSPf?type=comment
weibo.com/7489612178/Jlp5Na5fX
weibo.com/7489612178/Jlp5Na5fX?type=comment
weibo.com/7488709632/Jlp5PbZOQ
weibo.com/7488709632/Jlp5PbZOQ?type=comment
weibo.com/7488953651/Jlp5PaTJP
weibo.com/7488953651/Jlp5PaTJP?type=comment
weibo.com/7488709632/Jlp5S9iTq
weibo.com/7488709632/Jlp5S9iTq?type=comment
weibo.com/7488953651/Jlp5SdJdN
weibo.com/7488953651/Jlp5SdJdN?type=comment
weibo.com/7488953651/Jlp5V9W0k
weibo.com/7488953651/Jlp5V9W0k?type=comment
weibo.com/7488709632/Jlp5Vpiq0
weibo.com/7488709632/Jlp5Vpiq0?type=comment
weibo.com/7488953651/Jlp5YoOnm
weibo.com/7488953651/Jlp5YoOnm?type=comment
weibo.com/7488709632/Jlp5YoOEY
weibo.com/7488709632/Jlp5YoOEY?type=comment
weibo.com/7488953651/Jlp613sCU
weibo.com/7488953651/Jlp613sCU?type=comment
weibo.com/7488709632/Jlp61jVcD
weibo.com/7488709632/Jlp61jVcD?type=comment
weibo.com/7488953651/Jlp63FCOe
weibo.com/7488953651/Jlp63FCOe?type=comment
weibo.com/7488709632/Jlp641Sly
weibo.com/7488709632/Jlp641Sly?type=comment
weibo.com/7488953651/Jlp66F88k
weibo.com/7488953651/Jlp66F88k?type=comment
weibo.com/7488709632/Jlp66BQGj
weibo.com/7488709632/Jlp66BQGj?type=comment
weibo.com/7488953651/Jlp69z7T1
weibo.com/7488953651/Jlp69z7T1?type=comment
weibo.com/7488709632/Jlp69DxGV
weibo.com/7488709632/Jlp69DxGV?type=comment
weibo.com/7488953651/Jlp6ch5lu
weibo.com/7488953651/Jlp6ch5lu?type=comment
weibo.com/7488953651/Jlp6feo3J
weibo.com/7488953651/Jlp6feo3J?type=comment
标签:硬件 基金 计算 dna 分布式计算 管理系统 包括 开发人员 type
原文地址:https://www.cnblogs.com/rtyh/p/13698204.html