Celery 1.0 Documentation
Configuration and defaults Example configuration file Concurrency settings Task result backend settings Database backend settings AMQP backend settings Cache backend settings Tokyo Tyrant backend settings Redis celeryd as a daemon Unit Testing Tutorials External tutorials and resources Using Celery with Redis/Database as the messaging queue. Tutorial: Creating a click counter using carrot and celery Frequently Asked result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, AMQP (high performance). Webhooks Your tasks can also be HTTP callbacks0 码力 | 221 页 | 283.64 KB | 1 年前3Celery 1.0 Documentation
result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, AMQP (high performance). Web- hooks Your tasks can also be HTTP to use celery with your Django project. 1. Add celery to INSTALLED_APPS. 2. Create the celery database tables: $ python manage.py syncdb 3. Configure celery to use the AMQP user and virtual host we available, please see the configuration directive reference. Note: If you’re using SQLite as the Django database back-end, celeryd will only be able to process one task at a time, this is because SQLite doesn’t0 码力 | 123 页 | 400.69 KB | 1 年前3Celery 2.0 Documentation
result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, AMQP (high performance). Web- hooks Your tasks can also be HTTP launching synchronous subtasks • Performance and Strategies – Granularity – Data locality – State – Database transactions 2.1.1 Basics A task is a class that encapsulates a function and its execution options Release 2.0.3 (stable) In the view where the comment is posted, we first write the comment to the database, then we launch the spam filter task in the background. blog/views.py from django import forms0 码力 | 165 页 | 492.43 KB | 1 年前3Celery 2.0 Documentation
Configuration and defaults Example configuration file Concurrency settings Task result backend settings Database backend settings AMQP backend settings Cache backend settings Tokyo Tyrant backend settings Redis celeryd as a daemon Tutorials Tutorials and resources from the community Using Celery with Redis/Database as the messaging queue. Tutorial: Creating a click counter using carrot and celery Frequently Asked result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, AMQP (high performance). Webhooks Your tasks can also be HTTP callbacks0 码力 | 284 页 | 332.71 KB | 1 年前3Celery 2.5 Documentation
result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Cassandra, or AMQP (message notification). Web- hooks Your tasks can also be Configuration Configuration is easy, set the transport, and configure the location of your Redis database: BROKER_URL = "redis://localhost:6379/0" Where the URL is in the format of: redis://userid:p 1.2.3 Using SQLAlchemy Installation Configuration Celery needs to know the location of your database, which should be the usual SQLAlchemy connection string, but with ‘sqla+’ prepended to it: BROKER_URL0 码力 | 400 页 | 1.40 MB | 1 年前3Celery 3.1 Documentation
necessary, but they can make development easier, and sometimes they add important hooks like closing database connections at fork(2). Quickjump I want to ⟶ get the return value of a task use logging from Instructions Using RabbitMQ Using Redis Experimental Transports Using SQLAlchemy Using the Django Database Using MongoDB Using Amazon SQS Using CouchDB Using Beanstalk Using IronMQ Broker Overview This -U celery[redis] Configuration Configuration is easy, just configure the location of your Redis database: BROKER_URL = 'redis://localhost:6379/0' Where the URL is in the format of: redis://:passwor0 码力 | 887 页 | 1.22 MB | 1 年前3Celery 2.4 Documentation
Documentation Installation Brokers Using RabbitMQ Using Redis Using SQLAlchemy Using the Django Database Using MongoDB Using CouchDB Using Beanstalk First steps with Celery Choosing your Broker Creating result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, Cassandra, or AMQP (message notification). Webhooks Your tasks can several message transport alternatives. Using RabbitMQ Using Redis Using SQLAlchemy Using the Django Database Using MongoDB Using CouchDB Using Beanstalk © Copyright 2009-2011, Ask Solem & Contributors. index0 码力 | 543 页 | 957.42 KB | 1 年前3Celery 2.5 Documentation
Documentation Installation Brokers Using RabbitMQ Using Redis Using SQLAlchemy Using the Django Database Using MongoDB Using CouchDB Using Beanstalk First steps with Celery Choosing your Broker Creating result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Cassandra, or AMQP (message notification). Webhooks Your tasks can also be HTTP several message transport alternatives. Using RabbitMQ Using Redis Using SQLAlchemy Using the Django Database Using MongoDB Using CouchDB Using Beanstalk © Copyright 2009-2012, Ask Solem & Contributors. index0 码力 | 647 页 | 1011.88 KB | 1 年前3Celery 2.2 Documentation
result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, Cassandra, or AMQP (message notification). Webhooks Your tasks can naming and relative imports Decorating tasks Task States Result Backends AMQP Result Backend Database Result Backend Built-in States PENDING STARTED SUCCESS FAILURE RETRY REVOKED Custom states How Avoid launching synchronous subtasks Performance and Strategies Granularity Data locality State Database transactions Example blog/models.py blog/views.py blog/tasks.py This guide gives an overview0 码力 | 505 页 | 878.66 KB | 1 年前3Celery 2.3 Documentation
result store backend. You can wait for the result, retrieve it later, or ignore it. Result Stores Database, MongoDB, Redis, Tokyo Tyrant, Cassandra, or AMQP (message notification). Web- hooks Your tasks and relative imports • Decorating tasks • Task States – Result Backends * AMQP Result Backend * Database Result Backend – Built-in States * PENDING * STARTED * SUCCESS * FAILURE * RETRY * REVOKED – launching synchronous subtasks • Performance and Strategies – Granularity – Data locality – State – Database transactions • Example – blog/models.py – blog/views.py – blog/tasks.py This guide gives an overview0 码力 | 334 页 | 1.25 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6