Already a member? Log in

Sign up with your...

or

Sign Up with your email address

Add Tags

Duplicate Tags

Rename Tags

Share It With Others!

Save Link

Sign in

Sign Up with your email address

Sign up

By clicking the button, you agree to the Terms & Conditions.

Forgot Password?

Please enter your username below and press the send button.
A password reset link will be sent to you.

If you are unable to access the email address originally associated with your Delicious account, we recommend creating a new account.

ADVERTISEMENT

Links 1 through 10 of 12 by alexis richardson tagged rabbitmq+celery

Share It With Others!

Or, Celery + RabbitMQ = Django awesomeness!

As you know, Django is synchronous, or blocking. This means each request will not be returned until all processing (e.g., of a view) is complete. It's the expected behavior and usually required in web applications, but there are times when you need tasks to run in the background (immediately, deferred, or periodically) without blocking.

Share It With Others!

Learning about, setting up and making use of a message queue can be an overwhelming experience. In this article I'll show you how to get up and running quickly with RabbitMQ, Django and Celery on a Mac.

Share It With Others!

I would like to ensure that:

* each message in queue is eventually processed
* the work is more or less equally distributed
* an image will be parsed only by one OCR process
* An OCR process won't get multiple messages at once (so that any other free OCR process can handle the message).

Is that possible to do using AMQP?

Share It With Others!

Share It With Others!

Simple django application for asynchronous tracking of events.

Share It With Others!

Share It With Others!

Share It With Others!

Excellent article about task queues and RabbitMQ.

So why would you need a task queue? Let’s say you are building a Web application that is going to convert a fair amount of files (converting videos to Adobe Flash for instance).

Share It With Others!

celery is a distributed task queue framework for Django.

It is used for executing tasks asynchronously, routed to one or more worker servers, running concurrently using multiprocessing.

It is designed to solve certain problems related to running websites demanding high-availability and performance.

It is perfect for filling caches, posting updates to twitter, mass downloading data like syndication feeds or web scraping. Use-cases are plentiful. Implementing these features asynchronously using celery is easy and fun, and the performance improvements can make it more than worthwhile.

Share It With Others!

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT