All Projects → easy-swoole → Easyswoole

easy-swoole / Easyswoole

Licence: apache-2.0
swoole,easyswoole,swoole framework

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Easyswoole

Swoft
🚀 PHP Microservice Full Coroutine Framework
Stars: ✭ 5,420 (+22.93%)
Mutual labels:  coroutine, swoole, websocket-server, tcp-server
Mgx
🌈 A high performance network framework written in c++ (support tcp and http)
Stars: ✭ 15 (-99.66%)
Mutual labels:  tcp-server, coroutine
Hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Stars: ✭ 4,206 (-4.6%)
Mutual labels:  coroutine, swoole
ezswoole
fashop framework
Stars: ✭ 14 (-99.68%)
Mutual labels:  swoole, easyswoole
ext-postgresql
🐘 Coroutine-based client for PostgreSQL
Stars: ✭ 62 (-98.59%)
Mutual labels:  swoole, coroutine
zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (-97.75%)
Mutual labels:  swoole, coroutine
swoole-postgresql-doctrine-driver
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL client
Stars: ✭ 15 (-99.66%)
Mutual labels:  swoole, coroutine
Yurunhttp
YurunHttp 是开源的 PHP HTTP 客户端,支持链式操作,简单易用。完美支持Curl、Swoole 协程。QQ群:17916227
Stars: ✭ 197 (-95.53%)
Mutual labels:  coroutine, swoole
gene
Grace, fastest, flexibility, simple PHP extension framework!优雅、极速、灵活、简单的PHP扩展框架!
Stars: ✭ 30 (-99.32%)
Mutual labels:  swoole, swoole-framework
PHPMailer-Swoole
安装最新版Swoole,开启一键协程化,使用原版phpmailer就可以实现协程化了。本项目已经没有维护下去的意义。
Stars: ✭ 25 (-99.43%)
Mutual labels:  swoole, coroutine
swoole api framework 2
swoole
Stars: ✭ 20 (-99.55%)
Mutual labels:  swoole, easyswoole
machat
An open source chat server implemented in Go
Stars: ✭ 73 (-98.34%)
Mutual labels:  websocket-server, tcp-server
rockgo
A developing game server framework,based on Entity Component System(ECS).
Stars: ✭ 617 (-86.01%)
Mutual labels:  websocket-server, tcp-server
Burger
🍔 c++11 Server based on coroutine and reactor
Stars: ✭ 58 (-98.68%)
Mutual labels:  tcp-server, coroutine
TT Jobs
基于 Swoole 定时管理系统
Stars: ✭ 22 (-99.5%)
Mutual labels:  swoole, easyswoole
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (-98.48%)
Mutual labels:  websocket-server, tcp-server
Shadowfax
Run Laravel on Swoole.
Stars: ✭ 325 (-92.63%)
Mutual labels:  coroutine, swoole
Yii2 Swoole
make yii2 project runing on swoole
Stars: ✭ 161 (-96.35%)
Mutual labels:  coroutine, swoole
Hyperf Skeleton
🛠 A skeleton of Hyperf framework that provided by official team
Stars: ✭ 162 (-96.33%)
Mutual labels:  coroutine, swoole
cs
开箱即用的基于命令的消息处理框架,让 websocket 和 tcp 开发就像 http 那样简单
Stars: ✭ 19 (-99.57%)
Mutual labels:  websocket-server, tcp-server

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads

EasySwoole - A High Performance Swoole Framework

EasySwoole is a distributed, persistent memory PHP framework based on the Swoole extension. It was created specifically for APIs to get rid of the performance penalties associated with process calls and file loading. EasySwoole highly encapsulates the Swoole Server and still maintains the original features of the Swoole server, supports simultaneous monitoring of HTTP, custom TCP, and UDP protocols, allowing developers to write multi-process, asynchronous, and highly available applications with minimal learning cost and effort.

  • Base on Swoole extension
  • Built-in HTTP, TCP, WebSocket,Udp Coroutine Server
  • Global dependency injection container
  • PSR-7 based HTTP message implementation
  • HTTP,TCP, WebSocket, Udp middleware support
  • Scalable high performance RPC
  • Database ORM
  • Mysql, Redis, RPC, HTTP Coroutine Clients
  • Coroutine and asynchronous task delivery
  • Custom user processes
  • RESTful supported
  • High performance router
  • Fast and flexible parameter validator
  • Powerful log component
  • Universal connection pools
  • Remote Console support
  • Crontab Rule Timer support

Doc

ab Test

<?php

namespace App\HttpController;

use EasySwoole\Http\AbstractInterface\Controller;


/**
 * Class Index
 * @package App\HttpController
 */
class Index extends Controller
{
    public function index()
    {
        $this->response()->write('Hello World');
    }
}

1 Core 1G RAM

command : ab -c 100 -n 10000 http://192.168.0.11:9501/

Server Software:        EasySwoole
Server Hostname:        192.168.0.11
Server Port:            9501

Document Path:          /
Document Length:        21 bytes

Concurrency Level:      100
Time taken for tests:   0.652 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      1690000 bytes
HTML transferred:       210000 bytes
Requests per second:    15325.16 [#/sec] (mean)
Time per request:       9.685 [ms] (mean)
Time per request:       0.097 [ms] (mean, across all concurrent requests)
Transfer rate:          2592.05 [Kbytes/sec] received

8 Core 16G RAM

command : ab -c 100 -n 10000 http://192.168.0.4:9501/

Server Software:        EasySwoole
Server Hostname:        192.168.0.4
Server Port:            9501

Document Path:          /
Document Length:        21 bytes

Concurrency Level:      100
Time taken for tests:   0.746 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      1690000 bytes
HTML transferred:       210000 bytes
Requests per second:    66935.97 [#/sec] (mean)
Time per request:       1.149 [ms] (mean)
Time per request:       0.015 [ms] (mean, across all concurrent requests)
Transfer rate:          2265.40 [Kbytes/sec] received

Quick Start

composer require easyswoole/easyswoole=3.4.x
php vendor/bin/easyswoole install
php easyswoole server start

Docker

Get Docker Image

docker pull easyswoole/easyswoole3

Run

docker run -ti -p 9501:9501 easyswoole/easyswoole3
  • WorkerDir: /easyswoole
  • Run Easyswoole : php easyswoole server start

Others

  • Git For Demo

  • QQ交流群

    • VIP群 579434607 (本群需要付费599元)
    • EasySwoole官方一群 633921431(已满)
    • EasySwoole官方二群 709134628(已满)
    • EasySwoole官方三群 932625047(已满)
    • EasySwoole官方四群 779897753(已满)
    • EasySwoole官方五群 853946743
  • 商业支持:

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].