I'm struggling to understand the purpose of this, or why I would choose this over php-fpm. It seems to be competing with Docker as it isolates applications with cgroups, but if I'm already running docker, what's the point? Perhaps another layer of isolation? ¯\_(ツ)_/¯
"As of Release 1.0, NGINX Unit supports Go, Perl, PHP, Python, and Ruby on the same server. Multiple language versions are also supported, so you can, for instance, run applications written for PHP 5 and PHP 7 on the same server."
Proceeds to give no examples for setting up PHP 5 and PHP 7 on the same server, anywhere on their site
That's further than I got. Mostly my issue is that, if we're now getting into needing to compile nginx unit from source and manually compiling the PHP modules, it doesn't save anything over setting up php with CGI or WSGI. I'm not afraid of compiling software, but I am afraid of regular update maintenance of compiled software, so I try to only use packaged released whenever possible. I would rather slightly harder initial configuration than manual compilation.
Will be interesting to see how Java runs on this. Currently Spring boot is sucking up all oxygen in Java microservices space which is basically tomcat inside Spring container instead Spring in Tomcat container.
If you want to scale it, It would be more expensive not to choose the already integrated route (NGINX+) rather than building your own (API GW, LoadBalancer) wouldn't it?