Home >Backend Development >PHP Tutorial >PHP 消息队列服务

PHP 消息队列服务

WBOY
WBOYOriginal
2016-06-20 12:40:421788browse

php-queue 是 PHP开发的磁盘存储消息队列服务,基于leveldb和swoole ,在4核机器上处理能力可以达到2.5W/s 。

  • leveldb: https://github.com/google/leveldb

  • php-leveldb: https://github.com/reeze/php-leveldb

  • swoole: https://github.com/swoole/swoole-src

安装

安装swoole和leveldb扩展,并下载源码

pecl install swoole pecl install leveldb

运行

php server.php


官方网站:http://www.open-open.com/lib/view/home/1452312318480

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn