Manual workers scaling
Introduction
Limitations
Usage
use Spiral\RoadRunner\WorkerPool;
use Spiral\Goridge\RPC\RPC;
$rpc = RPC::create('tcp://127.0.0.1:6001');
$pool = new WorkerPool($rpc);
// Add a worker to the pool.
$pool->addWorker('http');
// Remove a worker from the pool.
$pool->removeWorker('http');List of supported plugins
Last updated