All Projects → cabalphp → skeleton

cabalphp / skeleton

Licence: Apache-2.0 license
基于Swoole的轻量、高效、全异步开源框架。

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to skeleton

create-siler-app
🧱 Set up a modern Siler app by running one command.
Stars: ✭ 15 (-78.87%)
Mutual labels:  swoole
docs
Lawoole documentation
Stars: ✭ 12 (-83.1%)
Mutual labels:  swoole
gotask
⚡️ A lightning speed replacement for Swoole TaskWorker in Go
Stars: ✭ 164 (+130.99%)
Mutual labels:  swoole
swoole-cs.github.io
swoole 4.x cheat sheet
Stars: ✭ 21 (-70.42%)
Mutual labels:  swoole
http
Support Swoole Implement PSR7
Stars: ✭ 28 (-60.56%)
Mutual labels:  swoole
static-php-cli
Build single static PHP binary in linux, build with PHP project together, with Swoole and other popular extensions included.
Stars: ✭ 129 (+81.69%)
Mutual labels:  swoole
TT Jobs
基于 Swoole 定时管理系统
Stars: ✭ 22 (-69.01%)
Mutual labels:  swoole
framework
🦋The PHP Framework For Code Poem As Free As Wind.
Stars: ✭ 65 (-8.45%)
Mutual labels:  swoole
swoole
Swoole Api references
Stars: ✭ 14 (-80.28%)
Mutual labels:  swoole
swoole-laravel-chat
Simple stateless chat board [Swoole + SocketIO + Laravel]
Stars: ✭ 16 (-77.46%)
Mutual labels:  swoole
wlsh-framework
名词解释:wlsh( 为了生活---每个字的第一个拼音 )酷毙的码农为了生活自由,基于composer整合yaf框架与swoole等扩展,开发的php协程组件;低耦合,使用非常少的语法糖,尽量使用原有扩展中的语法。
Stars: ✭ 18 (-74.65%)
Mutual labels:  swoole
http-emitter
📡 Emitting psr-7 responses.
Stars: ✭ 31 (-56.34%)
Mutual labels:  swoole
leevel
🚀The Leevel Framework To Rebuild QueryPHP.
Stars: ✭ 35 (-50.7%)
Mutual labels:  swoole
swoole api framework
swoole
Stars: ✭ 28 (-60.56%)
Mutual labels:  swoole
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+264.79%)
Mutual labels:  swoole
php-tdengine
大数据引擎 TDengine 的 PHP 客户端扩展,支持 Swoole!
Stars: ✭ 62 (-12.68%)
Mutual labels:  swoole
awesome-swoole
💎 A curated list of awesome things related to Swoole.
Stars: ✭ 129 (+81.69%)
Mutual labels:  swoole
kafka-swoole
☝️Implement all kafka protocols, providing 'HighLevel' and 'LowLevel' client apis respectively, and utilize swoole to realize collaboration and flexibly extend consumers' client, which is the first php-kafka client to support multiple compression forms
Stars: ✭ 33 (-53.52%)
Mutual labels:  swoole
RidPT
A Private Tracker System
Stars: ✭ 102 (+43.66%)
Mutual labels:  swoole
MineAdmin
🎉🌈🔥MineAdmin是基于Hyperf框架 和 Vue3+Vite3 开发的前后端分离权限管理系统,自适应多终端。特色:crud生成 + json配置化开发一把梭
Stars: ✭ 142 (+100%)
Mutual labels:  swoole

CabalPHP

CabalPHP 是一个基于Swoole的轻量、高效、全异步开源框架。

中文文档
English Document

亮点

  • 全异步单机超高性能,轻松分布式部署
  • 支持HTTP、TCP、websocket等多种协议
  • 完善数据库引擎,简单高效(其他swoole框架几乎没有哦)
  • 易于学习,开发效率高,简单高效的数据库引擎
  • 自动生成API接口文档
  • 使用IDE(Sublime Text/VSCode/PhpStorm等)有完整的代码提示

适用场景

  • 微服务架构的RPC服务开发
  • 前后分离的应用(RESTful)API接口开发
  • 即时通讯服务端开发
  • 传统的Web网站,服务端渲染SEO友好

性能及压力测试

作者已经在生产环境使用,腾讯云两台4H8G(CabalPHP+Redis两个服务)支持日活跃6000W+PV的统计业务,依靠Task进程异步将统计数据写入腾讯云MySQL。

框架并发场景已经得到验证,复杂业务场景尚未验证。

环境:

  • 腾讯云 容器服务
  • 镜像: 基于 php:7.1-alpine 的swoole镜像
  • 1cores
  • 256MiB - 512MiB
  • php 7.1.12
    # ab -c 2000 -n 10000 http://172.16.1.79:9501/
    This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/

    Benchmarking 172.16.1.79 (be patient)
    Completed 1000 requests
    Completed 2000 requests
    Completed 3000 requests
    Completed 4000 requests
    Completed 5000 requests
    Completed 6000 requests
    Completed 7000 requests
    Completed 8000 requests
    Completed 9000 requests
    Completed 10000 requests
    Finished 10000 requests


    Server Software:        swoole-http-server
    Server Hostname:        172.16.1.79
    Server Port:            9501

    Document Path:          /
    Document Length:        284 bytes

    Concurrency Level:      2000
    Time taken for tests:   1.658 seconds
    Complete requests:      10000
    Failed requests:        3
    (Connect: 0, Receive: 0, Length: 3, Exceptions: 0)
    Write errors:           0
    Total transferred:      4330003 bytes
    HTML transferred:       2840003 bytes
    Requests per second:    6031.43 [#/sec] (mean)
    Time per request:       331.596 [ms] (mean)
    Time per request:       0.166 [ms] (mean, across all concurrent requests)
    Transfer rate:          2550.40 [Kbytes/sec] received

    Connection Times (ms)
                min  mean[+/-sd] median   max
    Connect:        0   37 154.4      2    1005
    Processing:    27  252  68.8    260     547
    Waiting:        0  250  69.2    259     546
    Total:         79  289 165.9    267    1369

    Percentage of the requests served within a certain time (ms)
    50%    267
    66%    284
    75%    303
    80%    314
    90%    347
    95%    365
    98%   1252
    99%   1279
    100%   1369 (longest request)

示例

捐助

先捐助些优秀的代码吧!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].