2017 © Pedro Peláez
 

library rollingcurl

rolling curl

image

raysoft/rollingcurl

rolling curl

  • Monday, February 6, 2017
  • by jesonray
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Rolling Curl - 快速http请求模块

应用场景: - 请求量大 - 需控制并发 - 实时性高 - 数据量小, (*1)

依赖组件: - Sockets - PCNTL - Redis - Curl, (*2)

技术方案: - deamon监视 - redis高速队列 - Socket触发 - Curl并发查询 - http回调, (*3)

安装

建议通过composer安装., (*4)

运行, (*5)

php composer.phar require --dev --prefer-dist raysoft/rollingcurl

或将, (*6)

"raysoft/rollingcurl": "*"

添加到 composer.json 文件中., (*7)

用法

  1. 修改rollcurld中的相关路径, 然后执行./rollcurld start运行deamon;
  2. 如果需要添加到服务中设置自动启动, 请将rollcurld复制到/etc/init.d/中, 并修改相关路径;
  3. 参考tests/run.php中的使用方法.

The Versions

06/02 2017

dev-master

9999999-dev

rolling curl

  Sources   Download

MIT

by Avatar jesonray

06/02 2017

0.1.3

0.1.3.0

rolling curl

  Sources   Download

MIT

by Avatar jesonray

06/02 2017

0.1.2

0.1.2.0

rolling curl

  Sources   Download

MIT

by Avatar jesonray

06/02 2017

0.1.1

0.1.1.0

rolling curl

  Sources   Download

MIT

by Avatar jesonray

05/02 2017

0.1.0

0.1.0.0

rolling curl

  Sources   Download

MIT

by Avatar jesonray