[Baypiggies] Asynchronous web tasks
joshua kaderlan
jkaderlan at yahoo.com
Thu Feb 2 20:18:16 CET 2012
Yeah, this is the standard advice I've seen for solving this problem: cron for scheduled jobs and RabbitMQ/celery or 0MQ for other tasks.
>________________________________
> From: Dirk Bergstrom <dirk at otisbean.com>
>To: baypiggies at python.org
>Sent: Thursday, February 2, 2012 9:19 AM
>Subject: Re: [Baypiggies] Asynchronous web tasks
>
>On 02/02/2012 08:28 AM, Meenal Pant wrote:
>> I use Django in production and now have a need to perform asynchronous
>> backend tasks that
>> a. Are some scheduled jobs
>> b. Jobs triggered via a user input via Django frontend.
>> I have been thinking of using twisted or message queues (RabbitMQ and
>> celery) to achieve this. From my research so far:
>> I am looking for some opinions /recommendations to use one of these two
>> technologies or something else altogether ?
>
>How's about cron for a and subprocess.Popen for b?
>
>Start with the simplest implementation that will work, and only move to something complicated if you desperately need it. Adding another heavyweight set of libraries to a Django app is not going to help you get more sleep at night.
>
>-- Dirk Bergstrom
>dirk at otisbean.com
>http://otisbean.com/
>_______________________________________________
>Baypiggies mailing list
>Baypiggies at python.org
>To change your subscription options or unsubscribe:
>http://mail.python.org/mailman/listinfo/baypiggies
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20120202/3f76a527/attachment.html>
More information about the Baypiggies
mailing list