在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:easyswoole开源软件地址:https://gitee.com/easyswoole/easyswoole开源软件介绍:EasySwoole - A High Performance Swoole FrameworkEasySwoole 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.
Docab Test<?phpnamespace 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
Server Software: EasySwooleServer Hostname: 192.168.0.11Server Port: 9501Document Path: /Document Length: 21 bytesConcurrency Level: 100Time taken for tests: 0.652 secondsComplete requests: 10000Failed requests: 0Write errors: 0Total transferred: 1690000 bytesHTML transferred: 210000 bytesRequests 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
Server Software: EasySwooleServer Hostname: 192.168.0.4Server Port: 9501Document Path: /Document Length: 21 bytesConcurrency Level: 100Time taken for tests: 0.746 secondsComplete requests: 10000Failed requests: 0Write errors: 0Total transferred: 1690000 bytesHTML transferred: 210000 bytesRequests 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 Startcomposer require easyswoole/easyswoole=3.4.xphp vendor/bin/easyswoole installphp easyswoole server start DockerGet Docker Imagedocker pull easyswoole/easyswoole3 Rundocker run -ti -p 9501:9501 easyswoole/easyswoole3
Others
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论