Article may be outdated

This article is 71 days old. Some details may have changed since publication.

Hacker News·3 min read·hard

A PHP server that can handle 10x as many concurrent requests as Nginx+PHP-fpm

E
EGreg
A PHP server that can handle 10x as many concurrent requests as Nginx+PHP-fpm
✦AI Summary

A new PHP server implementation, Qbix Server, claims to handle 10 times the concurrent requests of traditional Nginx and PHP-fpm setups by optimizing memory usage through copy-on-write techniques. It aims to solve the memory bottleneck inherent in standard PHP hosting.

Why it matters

This represents a significant potential performance optimization for web developers managing high-traffic PHP applications.

✦Dive DeeperCreate a free account to unlock

A pure PHP web server. No nginx, no Apache, no php-fpm. One process serves static files, PHP scripts, WebSocket connections, and a live dashboard.

The biggest bottleneck in PHP hosting is memory . Each php-fpm worker loads your entire framework independently — 30–60MB per worker. On an 8GB server, that's ~160 workers max. That's your ceiling for concurrent PHP requests.

Qbix Server forks workers after loading your classes. Thanks to copy-on-write, all that shared code (framework, config, autoloader) uses memory only once. Each worker adds only ~5MB for its per-request data:

php-fpm: 8GB ÷ 50MB per worker = 160 concurrent PHP requests Qbix Server: 8GB ÷ 5MB per worker = 1,600 concurrent PHP requests Same hardware. Same PHP code. 10x more users served.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologystartups
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in