Giter Club home page Giter Club logo

zookeeper-connection-pool's Introduction

zookeeper-connection-pool

由于TCP协议的带宽的局限性,所以可以使用多个客户端连接来充分利用网络带宽。
此项目主要是用来管理Zookeeper连接,连接的负载均衡。在zookeeper原生java客户端的基础上,抽象出ZookeeperConnection,以及ZookeeperConntionPool。
用户只需在yml配置文件中配置最大连接数,以及序列化器即可使用,目前序列化器提供MessagePack以及Kryo两种方式。

实现的功能:
1.递归创建节点
2.多个client,并发执行,以连接池形式提供资源管理
3.多个client的负载均衡(引用计数法获取负载最小的客户端程序)
4.提供高效序列化方式
5.集成zookeeper分布式锁
6.集成springboot自动装配

zookeeper-connection-pool's People

Contributors

huangzhicheng1997 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.