6 ms·
I don't know if the 350k hits run that script, let's say they did. The OP is praising the performance of lighttpd + php5-fpm, but the script actually spawns an
by reidrac 14y ago
I don't know if the 350k hits run that script, let's say they did.
The OP is praising the performance of lighttpd + php5-fpm, but the script actually spawns an external process to search for the UUID. That's like running an old GGI that needs to be executed with every request.
I may be wrong but using lighttpd and php5-fpm (with fastcgi) may not be as relevant as it seems. I'd say that the operating system is caching everything.
EDIT: yes, php-fom is "a simple and robust FastCGI Process Manager for PHP". I'm no doing much PHP lately!
- deleted 14y ago[deleted]
- delinka 14y agoPremature optimization. Obviously, this thing works well enough and handles the load. Why worry about whether it's launching a process? When the system begins to show signs of stress, you look at where it's spending its time, then alleviate the bottleneck.