[Tutor] cgi, fastcgi, mod_python

Mike Hansen mhansen at cso.atmel.com
Thu Apr 29 15:36:00 EDT 2004


Hello,

I've recently started experimenting with Python to write web apps. My 
first app did a little form processing using the cgi module. Performance 
isn't a huge issue, but I'm curious on how to pep it up if the need 
should arise. I'm a bit confused on other solutions like FastCGI and 
Mod_Python. If I decided to use FastCGI, would I need to significantly 
change my code? I didn't get the impression that you just install it, 
modify your apache config, and import FastCGI in your code instead of 
the cgi module. The same with Mod_Python. Could someone briefly explain 
the differences in coding cgi, FastCGI, or Mod_Python if there are any 
differences?

Thanks,

Mike Hansen



More information about the Tutor mailing list