Re: How does threading and processes work in Django

2012-11-06 Thread dwang
Cool. I didn't know about Celery. Thanks Phillip! On Friday, October 26, 2012 4:11:53 AM UTC-4, Philip wrote: > > I think what you are looking for is Celery (http://celeryproject.org/). > This handles asynchronous tasks in a clean and tidy manor meaning your > normal requests are free to return

Re: How does threading and processes work in Django

2012-10-26 Thread Philip Mountifield
I think what you are looking for is Celery (http://celeryproject.org/). This handles asynchronous tasks in a clean and tidy manor meaning your normal requests are free to return their responses while processing continues. You can check the results of tasks later on in another request. Regards

How does threading and processes work in Django

2012-10-25 Thread dwang
Hi, I'm new to Django and need some help understanding how threading works in Django. I have some data that I'd like to recompute periodically in the background and have it shared between requests. If I start a thread in one of the view functions (e.g. my_thread.start()), would Django kill this