All Projects → swoole → Ext Zookeeper

swoole / Ext Zookeeper

🧑 Coroutine-based ZooKeeper Client for PHP

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Ext Zookeeper

python3-concurrency
Python3爬虫系列的理论验证,首先研究I/O模型,分别用Python实现了blocking I/O、nonblocking I/O、I/O multiplexing各模型下的TCP服务端和客户端。然后,研究同步I/O操作(依序下载、多进程并发、多线程并发)和异步I/O(asyncio)之间的效率差别
Stars: ✭ 49 (-65%)
Mutual labels:  asyncio, coroutine
Python3 Concurrency Pics 02
爬取 www.mzitu.com 全站图片,截至目前共5162个图集,16.5万多张美女图片,使用 asyncio 和 aiohttp 实现的异步版本只需要不到2小时就能爬取完成。按日期创建图集目录,保存更合理。控制台只显示下载的进度条,详细信息保存在日志文件中。支持异常处理,不会终止爬虫程序。失败的请求,下次再执行爬虫程序时会自动下载
Stars: ✭ 275 (+96.43%)
Mutual labels:  asyncio, coroutine
Yappi
Yet Another Python Profiler, but this time thread&coroutine&greenlet aware.
Stars: ✭ 595 (+325%)
Mutual labels:  asyncio, coroutine
Dasynq
Thread-safe cross-platform event loop library in C++
Stars: ✭ 127 (-9.29%)
Mutual labels:  asyncio
Mrpc
🐿 netty,zookeeper,spring,kyro rpc framework.
Stars: ✭ 128 (-8.57%)
Mutual labels:  zookeeper
Rust Zookeeper
Pure Rust library for Apache ZooKeeper built on MIO
Stars: ✭ 134 (-4.29%)
Mutual labels:  zookeeper
Unitask
Provides an efficient allocation free async/await integration for Unity.
Stars: ✭ 2,547 (+1719.29%)
Mutual labels:  coroutine
Faust
Python Stream Processing. A Faust fork
Stars: ✭ 124 (-11.43%)
Mutual labels:  asyncio
Aioredis Py
asyncio (PEP 3156) Redis support
Stars: ✭ 2,003 (+1330.71%)
Mutual labels:  asyncio
Swoole Docker
See: https://github.com/swoole/docker-swoole
Stars: ✭ 132 (-5.71%)
Mutual labels:  coroutine
Archer
基于协程Swoole的Task组件,支持多种模式。轻松实现协程Task的队列、并发、Defer、计时器等 | Swoole coroutine task kit - Swoole Humanization Library
Stars: ✭ 132 (-5.71%)
Mutual labels:  coroutine
Mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server
Stars: ✭ 1,753 (+1152.14%)
Mutual labels:  coroutine
Aiohttp
Asynchronous HTTP client/server framework for asyncio and Python
Stars: ✭ 11,972 (+8451.43%)
Mutual labels:  asyncio
Awesomegithub
🔥Android Github客户端,基于组件化开发,支持账户密码与认证登陆。使用Kotlin语言进行开发,项目架构是基于JetPack&DataBinding的MVVM;项目中使用了Arouter、Retrofit、Coroutine、Glide、Dagger与Hilt等流行开源技术。
Stars: ✭ 128 (-8.57%)
Mutual labels:  coroutine
Dnspython
a powerful DNS toolkit for python
Stars: ✭ 1,838 (+1212.86%)
Mutual labels:  asyncio
Aioelasticsearch
aioelasticsearch-py wrapper for asyncio
Stars: ✭ 127 (-9.29%)
Mutual labels:  asyncio
Cppcoro
A library of C++ coroutine abstractions for the coroutines TS
Stars: ✭ 2,118 (+1412.86%)
Mutual labels:  asyncio
Kafka Junit
This library wraps Kafka's embedded test cluster, allowing you to more easily create and run integration tests using JUnit against a "real" kafka server running within the context of your tests. No need to stand up an external kafka cluster!
Stars: ✭ 131 (-6.43%)
Mutual labels:  zookeeper
Docker Zookeeper
Builds a docker image for Zookeeper
Stars: ✭ 130 (-7.14%)
Mutual labels:  zookeeper
Python Concurrency
Code examples from my toptal engineering blog article
Stars: ✭ 131 (-6.43%)
Mutual labels:  asyncio

ext-zookeeper

依赖 SwoolePHP-X

CircleCI

已支持的指令

  • [x] create
  • [x] addAuth
  • [x] get
  • [x] set
  • [x] getChildren
  • [x] delete
  • [x] exists
  • [x] getAcl
  • [x] setAcl
  • [x] getState
  • [x] getClientId

安装 Swoole

pecl install swoole

安装 PHP-X

参考 PHP-X 安装

Build

phpx build -v -d
phpx install

安装过程中可能遇到的问题

  1. 安装完成后,执行 php test/test.php 报找不到 swoole\zookeeper

    执行 php -i | grep php.ini 找到配置文件的位置,在 php.ini 中动态扩展配置区加入 extension=swoole_zookeeper.so

  2. 出现这种错误 Unable to load dynamic library '/usr/lib64/php/modules/cpp_ext.so' - libphpx.so: cannot open shared object file: No such file or directory in Unknown on line 0

    说明 PHP-X 没有安装成功,请重新安装 PHP-X

  3. 执行 phpx build -v -d,出现 fatal error: swoole/include/socket_hook.h No such file or directory

    请重新安装编译安装 Swoole

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].