Wednesday, September 26, 2012

Re: Background Programs in Django

There are a number of technologies out there for background asynchronous tasks in Python. They differ on attributes such as how the tasks are managed and administered; the run queues' sophistication (how many, how they're divvied up, whether they can be pinned to servers, etc.), whether the tasks can be distributed to multiple servers; etc.

The best-known is probably Celery (http://celeryproject.org). Many features. There are other tools, which are simpler and may be better suited for your task. Here's a shameless plug, I'm considering switching from Celery, so I made a list of the alternatives I was considering. My experiences and criteria are not yours, but, this blog post might be a good place from which to start your research: http://seeknuance.com/2012/08/14/alternatives-to-using-celery/.

John

On Sep 26, 2012, at 5:07 AM, surya <kasturisurya@gmail.com> wrote:

I have to use RSS/ Atom feeds of blogs in my Django app. So, I thought to use Google Feed API. All the API provides is a BIG list of feeds..

If I need a post (say no 25), I need to GET the whole feeds and search every time which is redundant. So, I am thinking to run a background program which periodically performs GET and updates the feeds as a JSON file. Now, I can at least do some work efficiently!

If anyone got a better idea, please do tell me.

Can anyone tell me how to do that? It should be in sync with requests I perform on the JSON file in Django..

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/KOAA_d2eaFgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment