推荐学习书目
› 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 · 3338 views
    This topic created in 3059 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   ·   Privacy   ·   Solana   ·   4977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 07:35 · PVG 15:35 · LAX 00:35 · JFK 03:35
    ♥ Do have faith in what you're doing.