Celery 2.1 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we making the workers listen to different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image.rotate") >>> add.ap0 码力 | 285 页 | 1.19 MB | 1 年前3Celery 2.1 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image0 码力 | 463 页 | 861.69 KB | 1 年前3Celery 2.3 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we making the workers listen to different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image.rotate") >>> add.ap0 码力 | 334 页 | 1.25 MB | 1 年前3Celery 2.2 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we making the workers listen to different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image.rotate") >>> add.ap0 码力 | 314 页 | 1.26 MB | 1 年前3Celery 2.2 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image0 码力 | 505 页 | 878.66 KB | 1 年前3Celery 2.3 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image0 码力 | 530 页 | 900.64 KB | 1 年前3Celery 2.5 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we making the workers listen to different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image.rotate") >>> add.ap0 码力 | 400 页 | 1.40 MB | 1 年前3Celery 2.4 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we making the workers listen to different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image.rotate") >>> add.ap0 码力 | 395 页 | 1.54 MB | 1 年前3Celery 2.4 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image0 码力 | 543 页 | 957.42 KB | 1 年前3Celery 2.5 Documentation
look at an example: Let’s pretend we have an application with lot of different tasks: some process video, others process images, and some gather collective intelligence about its users. Some of these tasks stock.nasdaq. We create three queues, video, image and lowpri that binds to the tasks exchange. For the queues we use the following binding keys: video: video.# image: image.# lowpri: misc.# Now we different queues: >>> add.apply_async(args=[filename], ... routing_key="video.compress") >>> add.apply_async(args=[filename, 360], ... routing_key="image0 码力 | 647 页 | 1011.88 KB | 1 年前3
共 361 条
- 1
- 2
- 3
- 4
- 5
- 6
- 37