4 ms·
Say what you want to about PHP, but when it comes to deployment it’s hard to beat.
by smacktoward 7y ago
Say what you want to about PHP, but when it comes to deployment it’s hard to beat.
- jszymborski 7y agoYah, I come from a PHP background which is probably why I feel this way about Python... Ruby is likely a similar story since Gunicorn is a fork of Unicorn
- no_wizard 7y agoI have had the opposite experience personally. Any non-trivial application I've deployed has been a lot more complicated with PHP than anything I ever experienced with Python. Asyncio really makes a difference here. I also hate that PHP has to spin up with every single request. This is something I have never gotten used to (From my understanding, most Python web frameworks just give you a clear/fresh Request Object, which is so much better even with WSGI (unless you're using WSGI scripts) Much easier to maintain application state this way in my experience. PHP-FPM doesn't exactly solve this problem, I don't think).
- meowface 7y agoOnly for web apps that don't get much traffic. Constant hand-tuning of PHP-FPM configs isn't fun.
- whalesalad 7y agoTechnically the exact same setup can be had with Apache and mod_python. You don’t need WSGI to do python apps.