nytris/turbo
Composer 安装命令:
composer create-project nytris/turbo
包简介
README 文档
README
[EXPERIMENTAL] Turbocharged HTTP/FastCGI for PHP.
What is it?
Handle multiple HTTP/FastCGI requests concurrently per process for maximum resource utilisation.
How does it work?
Provides a FastCGI server that spawns multiple long-lived worker processes to handle requests. This allows the environment to be reused between requests, which is much more efficient when that environment is a booted Symfony kernel for example.
Usage
Install this package with Composer:
$ composer require nytris/turbo
Configure Nytris platform:
nytris.config.php
<?php declare(strict_types=1); use Nytris\Boot\BootConfig; use Nytris\Boot\PlatformConfig; use Nytris\Turbo\TurboPackage; $bootConfig = new BootConfig(new PlatformConfig(__DIR__ . '/var/cache/nytris/')); $bootConfig->installPackage(new TurboPackage( )); return $bootConfig;
Start the CGI worker pool
$ vendor/bin/turbo
ignition process spawns manifold, which in turn spawns the pool of CGI cylinder processes.
ignition is used to restart manifold and cylinder when needed, such as following a deployment
of new code.
ignition takes no arguments, instead configuration is done through the Nytris package installation
in nytris.config.php as documented above.
See also
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-10