ripple-driver

🏎️ PRipple official high-performance driver

MIT License

Downloads
1.7K
Stars
75
ripple-driver - v1.3 Latest Release

Published by cclilshy 15 days ago

同步上游更新

  • 启用新包名 cloudtay/ripple* 取代 cclilshy/p-ripple*
  • Stream对象新增 waitForRead/Write() 方法
  • 针对HTTP服务端性能优化
  • 修复部分已知问题
ripple-driver - v1.2.11

Published by cclilshy 17 days ago

更新内容

更新 IteratorResponse 参数结构
允许 IteratorResponse 被继承

ripple-driver - v1.2.9

Published by cclilshy 17 days ago

更新内容

  • 新增WorkermanV5驱动
  • 修复WorkermanV4驱动Timer泄露问题
  • 修复部分已知问题
  • 新增RPL::iteratorResponse方法

即将弃用

以下类将在不久后被弃用

\Psc\Drive\Workerman\PDriver
\Psc\Drive\Workerman\Driver

请使用 \Psc\Drive\Workerman\Driver4 取代

同步上游更新

HTTP服务端支持读写双全工模式
HTTP服务端移除Symfony标准
优化Tunnel的SSL签名SNI校准
新增协程Suspension对象
新增协程Container
修复部分已知问题

ripple-driver - v1.2.6

Published by cclilshy 25 days ago

更新内容

  • 修复部分已知问题
ripple-driver - v1.2.4

Published by cclilshy about 1 month ago

更新内容

新增: Laravel事件
修复: ThinkPHP容器回收

ripple-driver - v1.2.3

Published by cclilshy about 1 month ago

更新内容

  • 解决ThinkPHP内存泄漏
  • Laravel新增沙盒容器模式
ripple-driver - v1.2.2

Published by cclilshy about 2 months ago

更新内容

  • 修复 空事件时结束进程导致Workerman反复重启
  • 更新 control.pipe 文件移至框架 runtime 路径
  • 新增 对Windows系统的支持

Windows 热重载方案请参考文档

  • 新增 热更新配置项PRP_HOT_RELOAD 默认值 0

重要: 本次更新含不向前兼容部分,请留意上游更新

同步上游更新

https://github.com/cloudtay/p-ripple-core/releases/tag/v0.5.1

  • 使用Co命名空间(保留P命名空间至(v1.0)发布版本之前)
  • HTTP客户端 支持http/socks代理
  • HTTP客户端 同步GuzzleException接口
  • HTTP客户端 公开连接池的管理API
\Co\Plugin::Guzzle()->getHttpClient();
\Co\Plugin::Guzzle()->getHttpClient()->getConnectionPool();
  • Websocket服务端 支持onRequest方法
  • Websocket服务端 支持Gzip压缩 @lidongyooo #21
  • 单元测试 新增Http与Weboscket模块的内存安全单元测试
  • 新增对Windows的支持 (不稳定阶段)

不兼容更新

以下方法将不再返回GuzzleHttp\Client对象

\Co\Plugin::Guzzle();

请通过以下API获取

\Co\Plugin::Guzzle()->newClient(array|null $config = []) : Client;
ripple-driver - v1.2.1

Published by cclilshy 2 months ago

本次更新

同步上游更新

WebSocket服务器:支持更多选项以使用底层的心跳机制 @idongyooo in https://github.com/cloudtay/p-ripple-core/pull/19
File模块:扩展文件监听动态调整
Worker模块:优化工作进程资源释放机制
HTTP客户端:支持处理分块传输编码
HTTP客户端:长连接支持底层心跳
HTTP客户端:修复连接池事件冲突

新贡献者

ripple-driver - v1.2

Published by cclilshy 2 months ago

Update

  • update to Worker driver mode
  • some parameters are set to configuration mode
  • support for custom workers

Synchronous upstream update

ripple-driver - v1.1.8

Published by cclilshy 2 months ago

同步上游更新

修复若干问题:

  • 子进程无法在非异步上下文自动
  • 工具: Output的输出流改为STDOUT
  • HTTP服务: 长连接请求回传Connection字段
  • HTTP客户端: 非GET请求content-length自动填充
  • HTTP客户端: 取path可能忽略query部分

更新:

  • 多线程模块: 新增基于zts+parallel的Actor模型多线程模块
  • HTTP客户端: 自动解决连接池
  • HTTP服务端: 支持多文件混合表单提交
  • 质量: 简化命名空间层级,不影响Facades用法
  • 驱动: 支持Laravel@CSRF验证文件/表单
ripple-driver - v1.1.7

Published by cclilshy 3 months ago

ripple-driver - v1.1.6

Published by cclilshy 3 months ago

ripple-driver - 1.1.5

Published by cclilshy 3 months ago

Full Changelog: https://github.com/cloudtay/p-ripple-drive/commits/1.1.5

new boot mode

# php artisan p:server --help

Description:
start the P-Drive service

Usage:
p:server [options] [--] [<action>]

    Arguments:
    action                   The action to perform [default: "start","stop","status"]

    Options:
    -s, --listen[=LISTEN]    The address to listen on,default http://127.0.0.1:8008 [default: "http://127.0.0.1:8008"]
    -t, --threads[=THREADS]  The number of threads to use,default 4 [default: "4"]
    -d, --daemon             Run the service in the background
    -h, --help               Display help for the given command. When no command is given display help for the list command
    -q, --quiet              Do not output any message
    -V, --version            Display this application version
    --ansi|--no-ansi     Force (or disable --no-ansi) ANSI output
    -n, --no-interaction     Do not ask any interactive question
    --env[=ENV]          The environment the command should run under
    -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

more

For services already running in the background, you can use php artisan p:server status to view the real-time status

ripple-driver - 1.1.4

Published by cclilshy 3 months ago

ripple-driver - 1.0.94

Published by cclilshy 3 months ago

ripple-driver - 1.0.9

Published by cclilshy 4 months ago

ripple-driver - 1.0.0

Published by cclilshy 4 months ago

ripple-driver - 0.0.1

Published by cclilshy 4 months ago