Celery 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 年前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 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). 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 Creating 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 码力 | 530 页 | 900.64 KB | 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.4 Documentation
. . . . . . . . . . . . . . . . . . . . . . . 121 7 Tutorials 127 7.1 Using Celery with Redis/Database as the messaging queue. . . . . . . . . . . . . . . . . . . . . . . 127 7.2 Debugging Tasks Remotely 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 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:p0 码力 | 395 页 | 1.54 MB | 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 v4.0.1 Documentation
necessary, 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 码力 | 1040 页 | 1.37 MB | 1 年前3Celery v4.0.2 Documentation
necessary, 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 码力 | 1042 页 | 1.37 MB | 1 年前3Celery 4.0 Documentation
necessary, 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 码力 | 1042 页 | 1.37 MB | 1 年前3Celery v4.1.0 Documentation
necessary, 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 码力 | 1057 页 | 1.35 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6