On Mon, Aug 16, 2010 at 1:43 PM, ydjango <neerash...@gmail.com> wrote:
> Is there a way to put the process in a different thread or background
> job directly from django view  (without going through a queue and
> cron)?

sure, you could simply execute an external process; but then you have
to be sure not to start too many of them (specially two of the same,
when the user gets click-happy), poll status and result, etc.  been
there, got bored, reinvented ghetto queues (and only recently found
they had a name)

> I heard Python is not very good with multi threading because of GIL. I
> am on Python 2.5

this is only a concern if your processing is CPU bound.  if so,
another reason to go off-process.

-- 
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 at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to