2017 © Pedro Peláez
 

library gateway-worker

image

workerman/gateway-worker

  • Saturday, July 21, 2018
  • by workerman
  • Repository
  • 38 Watchers
  • 414 Stars
  • 17,822 Installations
  • PHP
  • 12 Dependents
  • 0 Suggesters
  • 177 Forks
  • 8 Open issues
  • 17 Versions
  • 20 % Grown

The README.md

GatewayWorker

GatewayWorker基于Workerman开发的一个项目框架,用于快速开发长连接应用,例如app推送服务端、即时IM服务端、游戏服务端、物联网、智能家居等等。, (*1)

GatewayWorker使用经典的Gateway和Worker进程模型。Gateway进程负责维持客户端连接,并转发客户端的数据给Worker进程处理;Worker进程负责处理实际的业务逻辑,并将结果推送给对应的客户端。Gateway服务和Worker服务可以分开部署在不同的服务器上,实现分布式集群。, (*2)

GatewayWorker提供非常方便的API,可以全局广播数据、可以向某个群体广播数据、也可以向某个特定客户端推送数据。配合Workerman的定时器,也可以定时推送数据。, (*3)

快速开始

开发者可以从一个简单的demo开始(demo中包含了GatewayWorker内核,以及start_gateway.php start_business.php等启动入口文件)
点击这里下载demo
demo说明见源码readme。, (*4)

手册

http://www.workerman.net/gatewaydoc/, (*5)

安装内核

只安装GatewayWorker内核文件(不包含start_gateway.php start_businessworker.php等启动入口文件), (*6)

composer require workerman/gateway-worker

使用GatewayWorker开发的项目

tadpole

Source code
workerman todpole, (*7)

chat room

Source code
workerman-chat, (*8)

The Versions

21/07 2018

dev-master

9999999-dev http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

21/07 2018

v3.0.10

3.0.10.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

22/05 2018

v3.0.9

3.0.9.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

08/05 2018

v3.0.8

3.0.8.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

06/04 2018

v1.0

1.0.0.0

  Sources   Download

06/04 2018

v2.0

2.0.0.0

  Sources   Download

06/04 2018

v2.0.4

2.0.4.0

  Sources   Download

06/04 2018

v2.0.7

2.0.7.0

  Sources   Download

06/04 2018

v2.2

2.2.0.0

  Sources   Download

26/06 2017

v3.0.7

3.0.7.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

21/06 2017

v3.0.6

3.0.6.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

20/06 2017

v3.0.5

3.0.5.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

20/06 2017

v3.0.4

3.0.4.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

04/06 2017

v3.0.3

3.0.3.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

04/03 2017

v3.0.2

3.0.2.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

13/01 2017

v3.0.1

3.0.1.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed

13/11 2016

v3.0.0

3.0.0.0 http://www.workerman.net

  Sources   Download

MIT

The Requires

 

communication distributed