Re: How to do background processing with Django

2008-03-26 Thread Joseph Heck
You can certainly hide this additional complexity with your application either using Django as a pass through or configuring up something with a reverse proxy in Apache or such. There's no reason that I can think of that the complexity of maintaining a queueing system for asynchronous processing

Re: How to do background processing with Django

2008-03-26 Thread shabda
Not the end user but the people who would be downloading this application, and want to use this, in a shared hosting environment. On Mar 26, 7:39 pm, "Ian Lawrence" <[EMAIL PROTECTED]> wrote: > Hi > > > are django and apache. Adding a HTTP server or configuring django- > > queuing is too

Re: How to do background processing with Django

2008-03-26 Thread Ian Lawrence
Hi > are django and apache. Adding a HTTP server or configuring django- > queuing is too painful for the average user. :( what does the end user have to do with this? you have a server by doing wget http://svn.cherrypy.org/trunk/cherrypy/wsgiserver/__init__.py -O wsgiserver.py and setting up

Re: How to do background processing with Django

2008-03-26 Thread shabda
The problem with these aproaches is that they add an extra layer of things to do. I want to package it so that the only required things are django and apache. Adding a HTTP server or configuring django- queuing is too painful for the average user. :( On Mar 26, 2:28 pm, Graham Dumpleton <[EMAIL

Re: How to do background processing with Django

2008-03-26 Thread Graham Dumpleton
On Mar 26, 7:58 pm, shabda <[EMAIL PROTECTED]> wrote: > I response to some urls, my views need to start some potentially time > taking actions. So how can I start background process, would it be as > simple as > > ... > t = threading.Thread(...) > t.setDaemon(True) > t.start() > return

Re: How to do background processing with Django

2008-03-26 Thread Tane Piper
Hi there, It might not be exactly what you need, but there is Django Queue Service (http://code.google.com/p/django-queue-service/) I've implemented it in our django application to provide a queue service to do backend processes. Our app is a mercurial manager, and I built a queue to handle

How to do background processing with Django

2008-03-26 Thread shabda
I response to some urls, my views need to start some potentially time taking actions. So how can I start background process, would it be as simple as ... t = threading.Thread(...) t.setDaemon(True) t.start() return HttpResponse(..) Or does django/apache have limitation on how threading can be