Celery 1.0 Documentation(stable) 1.1.3 Features Messag- ing Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never 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 we0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 2.0 Documentation(stable) 1.1.3 Features Mes- saging Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never 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 options0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.0 DocumentationConfiguration 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 8 Simple! Features Messaging Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 1.0 DocumentationConfiguration 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 8 Simple! Features Messaging Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.1 DocumentationContributing Community Code of Conduct Reporting a Bug Coding Style Tutorials Using Celery with Redis/Database as the messaging queue. Tutorial: Creating a click counter using carrot and celery Frequently Asked 8 Simple! Features Messaging Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never 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 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . 93 7 Tutorials 95 7.1 Using Celery with Redis/Database as the messaging queue. . . . . . . . . . . . . . . . . . . . . . . 95 7.2 Tutorial: Creating a 4 1.1.3 Features Mes- saging Supported brokers include RabbitMQ, Stomp, Redis, and most common SQL databases. Robust Using RabbitMQ, celery survives most error scenarios, and your tasks will never 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 HTTP0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery v5.0.1 Documentationnecessary, but they can make development easier, and sometimes they add important hooks like closing database connections at fork(2). Quick Jump I want to ⟶ get the return value of a task use logging from "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis:/ on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying a different database number when using a0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationnecessary, but they can make development easier, and sometimes they add important hooks like closing database connections at fork(2). Quick Jump I want to ⟶ get the return value of a task use logging from "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis:/ on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying a different database number when using a0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.5 Documentationnecessary, but they can make development easier, and sometimes they add important hooks like closing database connections at fork(2). Quick Jump I want to ⟶ get the return value of a task use logging from "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis:/ on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying a different database number when using a0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentationnecessary, but they can make development easier, and sometimes they add important hooks like closing database connections at fork(2). Quick Jump I want to ⟶ get the return value of a task use logging from "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis:/ on port 6379, using database 0. If a Unix socket connection should be used, the URL needs to be in the format: redis+socket:///path/to/redis.sock Specifying a different database number when using a0 码力 | 2309 页 | 2.13 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













