3 ms·
Litespeed is STILL faster than nginx and php-fpm. Their PHP SAPI is second to none for performance. You have to understand, you can drop litespeed into a work
by ck2 14y ago
Litespeed is STILL faster than nginx and php-fpm.
Their PHP SAPI is second to none for performance.
You have to understand, you can drop litespeed into a working apache environment and replace apache entirely within an hour with a massive performance improvement (that exceeds nginx+php-fpm). It obeys 99% of apache httpd.conf and .htaccess directives. No other product has even attempted that.
Oh I see now the open version won't do apache compatibility. That kind of kills it.
But if the SAPI can be lifted for php-fpm, that would be amazing.
- ComputerGuru 14y agoPHP LSAPI itself has been open-source BSD forever, mainlined into PHP since version 5.3. There's no reason an nginx upstream module for lsapi was not written, in fact, there was talk of doing so from all the way back in 2009: http://forum.nginx.org/read.php?2,10755,10755 http://forum.nginx.org/read.php?2,10755,10755 Don't ask me why it hasn't made its way to nginx in the form of mainline or a 3rd party module yet.
- ck2 14y agoFPM is stuck with the overhead of latency and IPC delay from its CGI legacy. Litespeed threw all that out with their approach to PHP, it's far more lightweight and why it's so much faster. I really hope that someday, someone will sponsor a module for a FPM replacement inside nginx like Automattic did for spdy and CloudBees/Apcera did for websockets. Given the sheer number of PHP and nginx users, you'd think this would have happened even before spdy or websockets but maybe the impression is php-fpm is "good enough".
- nodesocket 14y agoWhat are the performances differences between using LSAPI and FPM. Are we talking > 10%? If so, it does seem strange there has not been a nginx module developed?
- deleted 14y ago[deleted]
- FooBarWidget 14y agoThere is one. It's called Phusion Passenger (https://www.phusionpassenger.com https://www.phusionpassenger.com). At this time it supports Ruby and Python. More languages are planned.
- fooyc 14y agoFPM is a FastCGI server. That is, it does socket-based IPC (TCP or unix), with a binary protocol (FastCGI), with one process per request. Litespeed seems very close to that: socket based IPC, with a seemingly custom binary protocol, one process per request. Could you tell what's better in Litespeed module ?