V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
roy2220
V2EX  ›  Python

用 asyncio 实现 zookeeper 客户端

  •  
  •   roy2220 · May 15, 2018 · 3026 views
    This topic created in 2904 days ago, the information mentioned may be changed or developed.

    zookeeper client 的状态处理是复杂的事情,对第三方的 client 实现细节不了解的情况下,不敢贸然使用。现成的 kazoo 代码量不少,也不支持异步 io,所以萌生出自己动手实现一个的想法:

    https://github.com/roy2220/aiozk

    代码量少,简单可控(谁能一起写些单元测试就太好了

    Lycnir
        1
    Lycnir  
       May 15, 2018
    roy2220
        2
    roy2220  
    OP
       May 15, 2018 via Android
    @Lycnir 这个库之前用过,当时 bug 很多,行为也莫名其妙,现在看起来有所改善,但是对一些机制的实现还是错的
    dishonest
        3
    dishonest  
       May 15, 2018
    nb,,不明觉厉
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5450 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 09:31 · PVG 17:31 · LAX 02:31 · JFK 05:31
    ♥ Do have faith in what you're doing.