简体   繁体   中英

Synchronization on AWS Lambda function

Consider I have a static website on S3 with a button Register in my website which calls an AWS Lambda function via API. I want that Lambda function to handle multiple requests sequentially, not concurrently. ie, if it finishes the work for 1 request then only it will start working for other requests and so on and I will show on website that "Your request has been taken".

The short answer is yes. Just set lambda concurrency to 1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM