Site icon GIXtools

AWS Amplify now supports long-running tasks with asynchronous server-side function calls

AWS Amplify now supports asynchronous AWS Lambda invocations from your AWS AppSync API. This new feature allows you to invoke Lambda functions asynchronously, enabling your API to handle more complex, long-running processes without blocking the response to the client.

With asynchronous Lambda invocations, developers can initiate operations like generative AI model inferences, batch processing jobs, or message queuing without blocking the GraphQL API response. This improves application responsiveness and scalability, especially for scenarios where immediate responses are not required or where long-running tasks need to be offloaded.

The asynchronous Lambda invocation feature for AppSync is available in all AWS regions supported by AWS AppSync. In AWS Amplify, customers can opt in by defining an async lambda function handler in their data schema.

To learn more, refer to the Amplify documentation.
 

Source:: Amazon AWS

Exit mobile version