Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

Invocation types

As discussed previously, FaaS requires events as triggers to start the execution of the function. These are called the invocation types. Let's take a look at the invocation types in AWS Lambda.

There are two types in which a Lambda executes, as follows:

  • Synchronous: Also called a RequestResponse invocation
  • Asynchronous: Also called an Event invocation