Celery 2.0 Documentationwebhook example • Executing webhook tasks 2.5.1 Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks use GET/POST arguments :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. 2.5.4 Executing webhook tasks To execute the task one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 165 页 | 492.43 KB | 1 年前3
 Celery 2.5 DocumentationThere are several choices available, including: • Using RabbitMQ RabbitMQ is feature-complete, safe and durable. If not losing tasks is important to you, then this is your best option. • Using Redis webhook example • Executing webhook tasks 2.7.1 Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. 2.7.4 Executing webhook tasks To execute the task0 码力 | 400 页 | 1.40 MB | 1 年前3
 Celery 2.0 DocumentationRails webhook example Executing webhook tasks Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks use GET/POST arguments :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. Executing webhook tasks To execute the task you one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 284 页 | 332.71 KB | 1 年前3
 Celery 2.3 Documentationwebhook example • Executing webhook tasks 2.7.1 Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. 2.7.4 Executing webhook tasks To execute the task one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 334 页 | 1.25 MB | 1 年前3
 Celery 2.5 Documentationchoices available, including: Using RabbitMQ RabbitMQ [http://www.rabbitmq.com/] is feature-complete, safe and durable. If not losing tasks is important to you, then this is your best option. Using Redis Rails webhook example Executing webhook tasks Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. Executing webhook tasks To execute the task you0 码力 | 647 页 | 1011.88 KB | 1 年前3
 Celery 2.3 DocumentationRails webhook example Executing webhook tasks Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. Executing webhook tasks To execute the task you one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 530 页 | 900.64 KB | 1 年前3
 Celery 2.2 Documentationwebhook example • Executing webhook tasks 2.7.1 Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. 2.7.4 Executing webhook tasks To execute the task one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 314 页 | 1.26 MB | 1 年前3
 Celery 2.4 DocumentationThere are several choices available, including: • Using RabbitMQ RabbitMQ is feature-complete, safe and durable. If not losing tasks is important to you, then this is your best option. • Using Redis webhook example • Executing webhook tasks 2.7.1 Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. 2.7.4 Executing webhook tasks To execute the task0 码力 | 395 页 | 1.54 MB | 1 年前3
 Celery 2.2 DocumentationRails webhook example Executing webhook tasks Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. Executing webhook tasks To execute the task you one at a time You can accomplish this by using a lock. In this example we’ll be using the cache framework to set a lock that is accessible for all workers. It’s part of an imaginary RSS feed importer called0 码力 | 505 页 | 878.66 KB | 1 年前3
 Celery 2.4 Documentationchoices available, including: Using RabbitMQ RabbitMQ [http://www.rabbitmq.com/] is feature-complete, safe and durable. If not losing tasks is important to you, then this is your best option. Using Redis Rails webhook example Executing webhook tasks Basics If you need to call into another language, framework or similar, you can do so by using HTTP callback tasks. The HTTP callback tasks uses GET/POST data :retval => @x * @y} render :json => @status end You can easily port this scheme to any language/framework; new examples and libraries are very welcome. Executing webhook tasks To execute the task you0 码力 | 543 页 | 957.42 KB | 1 年前3
共 51 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 













