Giter Site home page Giter Site logo

zookeeper-'s Introduction

ZooKeeper源码分析

业余时间学习了一下ZooKeeper : Distributed process coordination这本书的内容,对ZooKeeper实现的细节很好奇,所以顺便把ZooKeeper源码看了一遍。看完之后想写点内容做个笔记,确发现不好开始。由于ZooKeeper一个完整的逻辑的代码可能在多个线程,多个文件以及多个节点上互相作用,所以如果只讲原理,就很难把原理同源代码对应上;相反,只讲源代码就很难理解原理的全貌。本人尝试解释服务器从开始启动到正常提供的服务的代码逻辑,由于表述能力欠佳,且源码中逻辑分支很多,所以文档中避免不了出现错误。如发现错误请提Issue或者私发[email protected]

ZooKeeper架构

ZooKeeper服务器节点启动以及选举

ZooKeeper服务器状态同步

ZooKeeper客户端连接管理

ZooKeeper响应客户端请求

ZooKeeper数据库以及日志文件

zookeeper-'s People

Contributors

liwanghong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.