Summary
In this chapter, we discussed serverless architecture and how to use the Ballerina language to implement a serverless function. Serverless functions are largely used to build a stateless application that has a shorter execution time. We discussed why and when to use serverless functions. We primarily focused on two main cloud vendors that provide FaaS solutions for cloud developers – AWS and Azure.
The Azure Cloud platform is widely used by cloud application developers to build cloud applications. We discussed the services provided by the Azure Cloud platform. Then, we discussed a simple Azure function implementation with an HTTP trigger. We also discussed a complex scenario where multiple Azure functions are connected with Azure Queue triggers and bindings.
Next, we discussed the AWS Cloud platform, which provides different types of cloud solutions for developers. AWS provides AWS Lambda as the serverless solution. In that section, we discussed how to create a...