On Wed, Mar 23, 2011 at 11:29:00PM -0700, Shamail Tayyab wrote: > We have a setup in which we can't afford downtime (even while > deployment). > > Our setup is based on lighttpd + django (on fcgi via flup). What my > problem is, when we restart django, the site goes down for about a > couple of seconds (and all API calls to DB remains incomplete > resulting in 500.html being rendered for users). > > We need a setup in which we can restart our system in a safe way. > > As an initial thought, instead of 1 site instance, lets have 2, then > use lighty's load balancing to have both the instances run, then drop > the previous instance. > > Is this feasible? Will it lead to inconsistencies? How can I still > ensure that calls on previous instance completely stops before > dropping it? > > Any other way to do this?
Watch the Disqus presentations on blip.tv from PyCon and DjangoCon. -- 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.