<commit_before># Celery Example using RabbitMQ

This is a small and extremely lightweight demo of using Celery for distributed computation.

## Stackato

This demo has been ported over to Stackato to demonstrate RabbitMQ as one of the provided
services within Stackato.

### Deploying

ensure that you have the Stackato CLI installed (can be found at http://www.activestate.com/stackato/download_client):

    $ stackato push -n

### To run the demo

    $ stackato run celery-example python demo.py<commit_msg>added some handy links ;)<commit_after># Celery Example using RabbitMQ

This is a small and extremely lightweight demo of using Celery for distributed computation.

You can read more about the Celery task queue [here][celery-homepage], and more about celery [here](http://en.wikipedia.org/wiki/Celery).

To learn more about the Rabbit Message Queueing service, read up their documentation on their homepage [here][rabbitmq-homepage].

## Stackato

This demo has been ported over to Stackato to demonstrate RabbitMQ as one of the provided
services within Stackato.

### Deploying

ensure that you have the Stackato CLI installed (which can be found [here][activestate-cli-download]):

    $ stackato push -n

### To run the demo

    $ stackato run celery-example python demo.py

[activestate-cli-download]: http://www.activestate.com/stackato/download_client
[rabbitmq-homepage]: http://www.rabbitmq.com/
[celery-homepage]: http://www.celeryproject.org/
{'fraction_non_alphanumeric': 0.07923497267759563, 'fraction_numerical': 0.0, 'mean_word_length': 4.549242424242424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '695730', 'n_tokens_mistral': 423, 'n_tokens_neox': 396, 'n_words': 171}