Celery 2.0 Documentationevery minute. crontab(minute=0, hour=0) Execute daily at midnight. crontab(minute=0, Execute every three hours—at midnight, 3am, 6am, 9am, noon, 3pm, 6pm, 9pm. crontab(minute=0, hour=[0,3,6,9,12,15,18,21]) fridays. crontab(minute=0, hour=”*/2,*/3”) Execute every even hour, and every hour divisable by three. This means: at every hour except: 1am, 5am, 7am, 11am, 1pm, 5pm, 7pm, 11pm crontab(minute=0, hour=”*/5”) exchange called tasks. There are different types of exchanges that matches the routing key in different ways, the exchange types are: • direct Matches the routing key exactly. • topic In the topic exchange0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.5 Documentationthousands of tasks the broker may be overloaded with queues and this will affect performance in negative ways. If you’re using RabbitMQ then each queue will be a separate Erlang process, so if you’re planning tasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.0 Documentationevery minute. crontab(minute=0, hour=0) Execute daily at midnight. crontab(minute=0, Execute every three hours—at midnight, 3am, 6am, 9am, noon, 3pm, 6pm, 9pm. crontab(minute=0, hour=[0,3,6,9,12,15,18 fridays. crontab(minute=0, hour=”*/2,*/3”) Execute every even hour, and every hour divisable by three. This means: at every hour except: 1am, 5am, 7am, 11am, 1pm, 5pm, 7pm, 11pm crontab(minute=0, hour=”*/5”) exchange called tasks. There are different types of exchanges that matches the routing key in different ways, the exchange types are: direct Matches the routing key exactly. topic In the topic exchange the0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 1.0 Documentation1.4 First steps with Django 1.4.1 Configuring your Django project to use Celery You only need three simple steps to use celery with your Django project. 1. Add celery to INSTALLED_APPS. 2. Create exchange called tasks. There are different types of exchanges that matches the routing key in different ways, the exchange types are: • direct Matches the routing key exactly. • topic In the topic exchange stock.nasdaq. (there are also other exchange types, but these are not used by celery) So, we create three queues, video, image and lowpri that bind to our tasks exchange. For the queues we use the following0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 2.3 Documentationthousands of tasks the broker may be overloaded with queues and this will affect performance in negative ways. If you’re using RabbitMQ then each queue will be a separate Erlang process, so if you’re planning tasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 Documentationthousands of tasks the broker may be overloaded with queues and this will affect performance in negative ways. If you’re using RabbitMQ then each queue will be a separate Erlang process, so if you’re planning tasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 1.0 DocumentationStarted » First steps with Django Configuring your Django project to use Celery You only need three simple steps to use celery with your Django project. 1. Add celery to INSTALLED_APPS. 2. Create exchange called tasks. There are different types of exchanges that matches the routing key in different ways, the exchange types are: direct Matches the routing key exactly. topic In the topic exchange the stock.nasdaq. (there are also other exchange types, but these are not used by celery) So, we create three queues, video, image and lowpri that bind to our tasks exchange. For the queues we use the following0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.2 Documentationthousands of tasks the broker may be overloaded with queues and this will affect performance in negative ways. If you’re using RabbitMQ then each queue will be a separate Erlang process, so if you’re planning tasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.5 Documentationthousands of tasks the broker may be overloaded with queues and this will affect performance in negative ways. If you’re using RabbitMQ then each queue will be a separate Erlang process, so if you’re planning tasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following0 码力 | 647 页 | 1011.88 KB | 1 年前3
Celery 2.1 Documentationtasks. There are different types of exchanges, each type interpreting the routing key in different ways, implementing different messaging scenarios. The most common types used with Celery are direct and *.stock.# matches the routing keys usd.stock and euro.stock.db but not stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following usually better, but there’s a cut-off point where adding more processes affects performance in negative ways. There is even some evidence to support that having multiple celeryd’s running, may perform better0 码力 | 285 页 | 1.19 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













