qinling/doc/source/features.rst
bettybai c9c1c1a6b5 Add a basic feature description about Sync/Async
This is my first commit.

Change-Id: I8b9097c84d3c35135a27e1edc07989f311df5776
Story: #2001577
Task: #6526
2018-03-21 01:37:19 +00:00

43 lines
1.6 KiB
ReStructuredText

..
Copyright 2017 Catalyst IT Ltd
All Rights Reserved.
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
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 containers if traffic ticks up, and scale
back down when it drops.
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.