推荐学习书目
› 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
freemoon
V2EX  ›  Python

跨网络队列服务项目更新了~ [wukongqueue]

  •  
  •   freemoon · Jan 31, 2020 · 3038 views
  •   You need to sign in to view this topic
    This topic created in 2460 days ago, the information mentioned may be changed or developed.

    项目地址

    wukongqueue

    首贴在这

    简介

    轻量且使用方便的跨网络队列服务

    特点

    • 够快,客户端直接基于 tcp 长连接与服务器通信
    • put/get 直接支持所有 Python 原生类型(new)
    • 够简单,api 命名与使用基本与 python 标准库 queue 保持一致
    • 支持客户端以预连接模式启动,即客户端的启动不依赖服务端
    • 支持 C->S 之间的认证

    目前的 0.0.5 是稳定版本,请通过以下方式下载最新测试版本使用最新功能(上面带 new 的)~

    pip install wukongqueue==0.0.6a1
    

    使用场景

    队列主要用于服务组件解耦,流量削峰等场景。在您的个人项目使用首选,目前此项目已在我的多个爬虫项目中应用并稳定运行,其中含较大型项目( 2k 行代码),(暂不推荐在公司项目中应用!)

    将在 1 小时内的处理最新的 issue ~~

    感谢你们使用和反馈 bug !感谢 star ~

    3 replies  •  2020-01-31 18:25:44 +08:00
    optional
        1
    optional  
       Jan 31, 2020
    不介绍下持久化方案?比 redis 实现的队列和 beanstalkd 之类的 有什么取舍
    freemoon
        2
    freemoon  
    OP
       Jan 31, 2020
    @optional 会考虑的,这是这个项目成长所必须考虑的特性。
    freemoon
        3
    freemoon  
    OP
       Jan 31, 2020
    @optional 目前还不支持持久化,列上 TODO
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5184 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:17 · PVG 08:17 · LAX 17:17 · JFK 20:17
    ♥ Do have faith in what you're doing.