qinling/doc/source/features.rst
Lingxian Kong 33b4337a0c Improve qinling doc
Add operation guide to integrate with Aodh.

Story: 2001577
Task: 19656
Change-Id: I728a3d513e6c7dce5cae5b1cd600135d5451692f
2018-05-14 10:49:31 +00:00

1.8 KiB

Qinling Features

This section does not intend to give you an exhaustive feature list of Qinling, but some features which make Qinling userful, powerful, scalable and highly available.

Auto Scaling

With Qinling, the function invocation can be automatically scaled up and down to meet the needs of your function. It's not necessary to monitor usage by yourself, Qinling can scale up new workers if traffic ticks up, and scale back down when it drops.

To handle any burst in traffic, Qinling will immediately increase the workers concurrently executing functions by a predetermined amount. After the increased load is handled successfully, the workers will be released in a predefined expiration time.

Webhook

Webhooks are a low-effort way to invoke the functions in Qinling. They do not require a bot user or authentication to use.

Sync/Async Function Executions

Qinling allows the functions to be executed either synchronously or asynchronously. For synchronous functions, the caller will be blocked to wait for the responses. Asynchronous functions will be executed at the same time point and the responses will be returned to the caller immediately, the caller could check the result later on.