I built the fastest PHP webserver in the world
20 hours ago
- Qbix webserver is faster than Swoole, FrankenPHP, and RoadRunner on unmodified PHP code, requiring no extensions or adapters.
- It replaces nginx, PHP-FPM, Node.js, Redis, supervisor, and Docker with a single binary or PHP file.
- Uses persistent workers via pcntl_fork() and copy-on-write memory, achieving 120KB per worker and 400 workers on 200MB.
- Achieves up to 1060 req/s (I/O-bound) vs 78 for FPM, and works unmodified with WordPress, Laravel, Symfony, and Drupal.
- Built-in features include WebSocket, SQLite distributed sync, dashboard, OpenAPI spec generation, and more.