Hacker News new | ask | show | jobs
by leobg 728 days ago
Yeah, I was shocked when, coming from PHP, I realized that in Python, in order to serve a website, you have to start and maintain an extra server process.
2 comments

Don't forget deploying updates by either (a) stopping your Python application and then restarting it, hoping your users are not too badly inconvenienced in the interim, or (b) rigging together some kind of blue-green deployment setup. Meanwhile, the PHP developer runs rsync and the deployment is done.
you don't have to - apache will execute your python cgi scripts just as happily as it will execute your php cgi scripts.

it's just that python developers figured out that having options other than cgi, and being freed from the rigid directory structures is really nice.