swoole 分布式全栈框架 web开发增强版,基于SwooleDistributed
swoole 分布式全栈框架 web开发增强版,基于SwooleDistributed
SwooleDistributedWeb v3.7.4
内置了监控平台,详见“监控平台说明.txt” ,感谢白猫分享 版本号与swooledistributed保持一致 升级注意:model中如果$return_result已失效,之前的事务也不支持! model中目前不支持recv() 默认模板依旧是plates引擎,如果使用blade注释AppServer.php中的setTemplateEngine方法 swoole 分布式全栈框架 web开发增强版,基于SwooleDistributed,水平有限,欢迎指正。 内置demo,包含用户注册、登录、修改信息
Install
You can install via composer
Autoload must specify app and test.
{ "require": { "jianghua/swooledistributedweb":">3.6.0" }, "autoload": { "psr-4": { "SwooleDistributedWeb\\app\\": "src/app", "app\\": "src/app", "test\\": "src/test" } }}
Then execute the following code in the root directory (the vendor higher directory)
php vendor/jianghua/swooledistributedweb/src/Install.php
The server can be executed in the bin at the end of the installation.
SwooleDistributedWeb 文档 https://gitbook.com/book/jianghua/swooledistributedweb/details
SwooleDistributed
High performance, high concurrency, PHP asynchronous distributed framework,power by ext-swoole
Development communication QQ-group:569037921
Simple websocket case
Chat room: https://github.com/tmtbe/SD-todpole
Live Demo: http://114.55.253.83:8081/
The official website:http://sd.youwoxing-
Development document:http://docs.youwoxing-
Instructional video:http://v.qq.com/boke/gplay/337c9b150064b5e5bcfe344f11a106c5_m0i000801b66cfv.html
Install
You can install via composer
Autoload must specify app and test.
{ "require": { "tmtbe/swooledistributed":">2.0.0" }, "autoload": { "psr-4": { "app\\": "src/app", "test\\": "src/test" } }}
Then execute the following code in the root directory (the vendor higher directory)
php vendor/tmtbe/swooledistributed/src/Install.php
The server can be executed in the bin at the end of the installation.
Advantage
1.High performance and high concurrency, asynchronous event driven
2.HttpClient, client, Mysql, Redis connection pooling
3.Timed task system
4.Coroutine Support
5.Using object pooling mode, optimizing memory allocation and GC
6.Many asynchronous clients, such as MQTT, AMQP, etc.
7.Support cluster deployment
8.User process management
9.Support multi port, multi protocol, automatic conversion between protocols
10.Micro service management based on Consul
11.Automatic discovery of cluster nodes based on Consul
12.Support pubish-subscribe mode
Architecture diagram
Class inheritance structure
Process structure
Cluster structure
web
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~