I know it is possible to run Django on shared hosting through CGI or fastCGI however both of
them are very slow. Now I know that AppEngine also handles Django requests through CGI. I want to know what is the difference that Django on shared hosting cannot be as fast as it is on AppEngine?
Thanks.
App Engine does not handle requests using CGI.
The Python 2.5 runtime uses a CGI-like interface that’s actually more like FastCGI – if you define a main method, the runtime will call that instead of reimporting the script, and even if you don’t, modules are cached between requests.
The Python 2.7 runtime uses WSGI.