Lambda Functions are based on a serverless execution model that allows running workloads in the cloud in a simple, auto-scalable and low-cost manner. In the Serverless model, unlike traditional models, you are charged only per execution.
Its main benefits are as follows:
- An event-based Lambda function facilitates communication between decoupled services. These functions are automatically executed by the platform upon the occurrence of an event.
- It automatically scales to support the rate of incoming requests without any manual configuration.
- Its payment model is pay-per-use. When you use Lambda functions, you only pay for the requests served and for the computing time required to execute the code. More information at AWS Lambda Pricing.
The objective is to solve scenarios that involve event-driven data processing, where this processing runs and scales automatically on the cloud-managed infrastructure.
Data processing can react to different types of triggers, such as a timer, queue, service bus, HTTP, etc.
For example, a function can be triggered in the integration of two systems that interact asynchronously by publishing a message in the queue (for example, an e-commerce purchase). The function must process the purchase data for stock or credit checking, in an asynchronous way.
See how to implement them in GeneXus:
See HowTo: Deploy to AWS Lambda Function.
Since GeneXus 17 Upgrade 11.