GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-interview/readme/zk-role.md at master · Nictomcat/java-interview

Expand file tree

/

zk-role.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
9 lines (5 loc) · 529 Bytes
/

zk-role.md

Copy path

File metadata and controls

9 lines (5 loc) · 529 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

zookeeper有哪些角色

zookeeper角色:

  • leader:为客户端提供写服务,负责进行投票的发起和决议,更新系统状态,事务请求的唯一调度和处理者

  • follower:为客户端提供读服务,参与投票,包括事务请求proposal投票和leader选举投票,接收客户端请求,为客户端返回结果

  • observer:为客户端提供读服务,不参与任何投票,包括事务请求proposal投票和leader选举投票。 它会同步leader的状态,加快读写速度

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.