A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.
I am starting on developing an Python web application, for that I configured my IIS extensions like this "python.exe %s %s" and this worked pretty good when I call the .py files from the browser. I also read that I will have to use mod_python modules for Apache. So, what about IIS? or the way I am currently doing is good enough in a production machine? Please suggest me.
If you must use Python, I believe that you're going to be better off with Apache. I could be wrong, but I'm pretty sure that IIS is going to have to startup a new instance of python.exe for each request where as Apache will just embed a python interpreter into it's server process.
In general, if you are forced to use any kind of open source software on your server, then you're going to get better performance from it on a *nix server because that stuff is all coded for *nix.
Why don't you do a load test to see how many requests/s IIS can serve up with that configuration?
Wednesday, December 26, 2007
IIS 7 ships with FastCGI support in the box, and it's now a free download for IIS 6. You should be able to use any of the existing Python frameworks with IIS now with little or no difficultly. The FastCGI stuff takes care of the process start overhead.
Hmm, I suppose I have to actually go try it now. ;-)
This topic is archived. No further replies will be accepted.Other recent topics
Powered by FogBugz