On 10/10/12 01:09, Tomáš Ehrlich wrote: >> A2: I admit that I don't know exactly what CGI means, but you >> actually can deploy Django using FastCGI. I'm using WSGI, >> which is recommended method right now. Please checkout >> documentation for more details >> https://docs.djangoproject.com/en/1.4/howto/deployment/fastcgi/
CGI is an old-school way of launching web-processing apps. It spins up the entire environment on every request. Normally with WSGI or FastCGI, the Django process is spun up once and proceeds to handle multiple requests. So with CGI, you get much slower response times. I do remember seeing a "run Django as CGI" patch or module, but it came with the harsh and explicit warning not to use it in the real world (where response time and load actually have any sort of meaning). It might suffice to deploy on a $3/month host that only offers CGI, and your site is intended for personal/family use only. Otherwise, not a viable option. -tkc -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.