3 ms·
Same can be said for any system, regardless of the language. Unless you’re able to create an artifact like a single executable or a Jar but you still need to s
by whalesalad 7y ago
Same can be said for any system, regardless of the language.
Unless you’re able to create an artifact like a single executable or a Jar but you still need to supervise those and keep them running.
- smacktoward 7y agoSay 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.