Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 1, 2010 12:35:47

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Hello,

I am absolutely new to Python/Django. Being responsible for a large
corporate startup project and having looked through a number of MVC/
MVT frameworks I decided to outsource the webproject in Django.

The only undiscovered issue to us is whether we can launch a heavy
loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
any comment please.

Anthony

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Dec. 1, 2010 12:48:44

Sithembewena L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Hi Anthony,

I was in a situation similar to yours not too long ago - introduced Django
at work and we've enjoyed it. We are getting better time to market than we
would with other options (PHP, .NET etc). Also, coding in Python has been
great fun.
So, good choice.

As to your question, I have no experience running Django on Windows other
than using the development server. I think that you'd be best off finding
good Linux hosting - WebFaction, Linode etc.

Some links that may help:http://djangofriendly.com/hosts/http://djangohosting.org/Regards,
Lloyd

On Wed, Dec 1, 2010 at 1:43 PM, ashdesigner <antony.shash...@gmail.com>wrote:

> Hello,
>
> I am absolutely new to Python/Django. Being responsible for a large
> corporate startup project and having looked through a number of MVC/
> MVT frameworks I decided to outsource the webproject in Django.
>
> The only undiscovered issue to us is whether we can launch a heavy
> loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> any comment please.
>
> Anthony
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>


--
Regards,
Sithembewena Lloyd Dubehttp://www.lloyddube.com--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Dec. 1, 2010 13:03:25

Sithembewena L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Antony, you might also want to have a look at this:http://code.djangoproject.com/wiki/DjangoFriendlyWebHostsRegards,
Lloyd


On Wed, Dec 1, 2010 at 1:43 PM, ashdesigner <antony.shash...@gmail.com>wrote:

> Hello,
>
> I am absolutely new to Python/Django. Being responsible for a large
> corporate startup project and having looked through a number of MVC/
> MVT frameworks I decided to outsource the webproject in Django.
>
> The only undiscovered issue to us is whether we can launch a heavy
> loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> any comment please.
>
> Anthony
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>


--
Regards,
Sithembewena Lloyd Dube

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Dec. 1, 2010 13:27:42

C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


I developed Djano on a windows server and everything went smoothly
except getting it to work with IIS. I loaded apache on windows and it
works great.

On Dec 1, 6:43 am, ashdesigner <antony.shash...@gmail.com> wrote:
> Hello,
>
> I am absolutely new to Python/Django. Being responsible for a large
> corporate startup project and having looked through a number of MVC/
> MVT frameworks I decided to outsource the webproject in Django.
>
> The only undiscovered issue to us is whether we can launch a heavy
> loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> any comment please.
>
> Anthony

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 Dec. 1, 2010 13:30:12

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Hi Lloyd,

Thank you so much for your reply. You see, the new project is still
currently regarded of as probationary, though the choice of the Django
framework is agreed and seems to be confident.

The issue is that we will be running a separate VPS for the project,
and Windows+IIS+MSSQL perfectly suits our current administration
facilities. In other words, we would prefer adminstrating Win+IIS
rather than Unix+Apache or whatever. Nonetheless, I can't afford
making wrong choice of the platform so I need advice from a real
practice.

Regards,
Anthony

On Dec 1, 4:03 pm, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> Antony, you might also want to have a look at this:
>
>http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts>
> Regards,
> Lloyd
>
> On Wed, Dec 1, 2010 at 1:43 PM, ashdesigner <antony.shash...@gmail.com>wrote:
>
>
>
> > Hello,
>
> > I am absolutely new to Python/Django. Being responsible for a large
> > corporate startup project and having looked through a number of MVC/
> > MVT frameworks I decided to outsource the webproject in Django.
>
> > The only undiscovered issue to us is whether we can launch a heavy
> > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> > any comment please.
>
> > Anthony
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
>
> --
> Regards,
> Sithembewena Lloyd Dube

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#6 Dec. 1, 2010 13:40:39

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Pete,

Does this mean that we shouldn't even try to run it on IIS7 in
production?

On Dec 1, 4:27 pm, CrabbyPete <pete.do...@gmail.com> wrote:
> I developed Djano on a windows server and everything went smoothly
> except getting it to work with IIS. I loaded apache on windows and it
> works great.
>
> On Dec 1, 6:43 am, ashdesigner <antony.shash...@gmail.com> wrote:
>
> > Hello,
>
> > I am absolutely new to Python/Django. Being responsible for a large
> > corporate startup project and having looked through a number of MVC/
> > MVT frameworks I decided to outsource the webproject in Django.
>
> > The only undiscovered issue to us is whether we can launch a heavy
> > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> > any comment please.
>
> > Anthony

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#7 Dec. 1, 2010 14:52:23

Sithembewena L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Hi Antony, it's a pleasure.

Regarding your last question - I am sure you could get a Django/ IIS7 setup
to work,
but I am also sure that you would get more support from the community for
deploying on Apache or other open source web servers than on IIS.

Anyhow, here are more links that speak to that:http://sourceforge.net/apps/trac/pyisapiehttp://pypi.python.org/pypi/PyISAPIe/1.0.130http://stackoverflow.com/questions/704368/django-working-under-iis7http://stackoverflow.com/questions/374760/are-there-any-plans-to-officially-support-django-with-iisIs it an absolute must that you use Windows to deploy?

Regards,
Lloyd

On Wed, Dec 1, 2010 at 3:40 PM, ashdesigner <antony.shash...@gmail.com>wrote:

> Pete,
>
> Does this mean that we shouldn't even try to run it on IIS7 in
> production?
>
> On Dec 1, 4:27 pm, CrabbyPete <pete.do...@gmail.com> wrote:
> > I developed Djano on a windows server and everything went smoothly
> > except getting it to work with IIS. I loaded apache on windows and it
> > works great.
> >
> > On Dec 1, 6:43 am, ashdesigner <antony.shash...@gmail.com> wrote:
> >
> > > Hello,
> >
> > > I am absolutely new to Python/Django. Being responsible for a large
> > > corporate startup project and having looked through a number of MVC/
> > > MVT frameworks I decided to outsource the webproject in Django.
> >
> > > The only undiscovered issue to us is whether we can launch a heavy
> > > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> > > any comment please.
> >
> > > Anthony
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>


--
Regards,
Sithembewena Lloyd Dube

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#8 Dec. 1, 2010 15:18:49

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Lloyd,

No it is not a must, but is highly desirable by our IT dpt. You see,
currently we don't have a *nix admin, so Windows deployment would be
an advantage.

Anthony

On Dec 1, 5:52 pm, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> Hi Antony, it's a pleasure.
>
> Regarding your last question - I am sure you could get a Django/ IIS7 setup
> to work,
> but I am also sure that you would get more support from the community for
> deploying on Apache or other open source web servers than on IIS.
>
> Anyhow, here are more links that speak to that:
>
>http://sourceforge.net/apps/trac/pyisapiehttp://pypi.python.org/pypi/PyISAPIe/1.0.130http://stackoverflow.com/questions/704368/django-working-under-iis7http://stackoverflow.com/questions/374760/are-there-any-plans-to-offi...
>
> Is it an absolute must that you use Windows to deploy?
>
> Regards,
> Lloyd
>
> On Wed, Dec 1, 2010 at 3:40 PM, ashdesigner <antony.shash...@gmail.com>wrote:
>
>
>
> > Pete,
>
> > Does this mean that we shouldn't even try to run it on IIS7 in
> > production?
>
> > On Dec 1, 4:27 pm, CrabbyPete <pete.do...@gmail.com> wrote:
> > > I developed Djano on a windows server and everything went smoothly
> > > except getting it to work with IIS. I loaded apache on windows and it
> > > works great.
>
> > > On Dec 1, 6:43 am, ashdesigner <antony.shash...@gmail.com> wrote:
>
> > > > Hello,
>
> > > > I am absolutely new to Python/Django. Being responsible for a large
> > > > corporate startup project and having looked through a number of MVC/
> > > > MVT frameworks I decided to outsource the webproject in Django.
>
> > > > The only undiscovered issue to us is whether we can launch a heavy
> > > > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> > > > any comment please.
>
> > > > Anthony
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
>
> --
> Regards,
> Sithembewena Lloyd Dube

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#9 Dec. 1, 2010 15:26:36

Javier G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


On Wed, Dec 1, 2010 at 6:43 AM, ashdesigner <antony.shash...@gmail.com> wrote:
> The only undiscovered issue to us is whether we can launch a heavy
> loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> any comment please.

a WSGI plugin for IIS would be the best answer; but there's nothing
wrong with FastCGI. properly managed can sustain as high load as
anybody else.

unfortunately, the most common FastCGI->WSGI adapter (flup) is quite
good and performant; but limited in terms of dynamic process/thread
lifetime managing. a more 'modern' approach could be gunicorn or
Tornado. since both of them handle HTTP->WSGI, your IIS frontend
would have to proxy those requests, but i guess that's a standard
feature of any webserver

--
Javier

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#10 Dec. 1, 2010 16:54:14

a.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django in production on Windows


Javier,

Thanks for your reply. We will try to explore (to some extent)
solutions you propose, hopefully it will help.

Anthony

On Dec 1, 6:26 pm, Javier Guerra Giraldez <jav...@guerrag.com> wrote:
> On Wed, Dec 1, 2010 at 6:43 AM, ashdesigner <antony.shash...@gmail.com> wrote:
> > The only undiscovered issue to us is whether we can launch a heavy
> > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate
> > any comment please.
>
> a WSGI plugin for IIS would be the best answer; but there's nothing
> wrong with FastCGI.  properly managed can sustain as high load as
> anybody else.
>
> unfortunately, the most common FastCGI->WSGI adapter (flup) is quite
> good and performant; but limited in terms of dynamic process/thread
> lifetime managing.  a more 'modern' approach could be gunicorn or
> Tornado.  since both of them handle HTTP->WSGI, your IIS frontend
> would have to proxy those requests, but i guess that's a standard
> feature of any webserver
>
> --
> Javier

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 20th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support