We are working on a transaction processing application and everything needs to happen in real-time. I have used AWS Lambda with Quarkus + Java, and struggled with cold start time however Lambda is still cost effective. so wanted to understand which one will be suitable as alternative to lambda services.

5 upvotes·176.2K views
Replies (2)
Chief Architect at Altostra·

The main question here is your request rate. - If it's usually very high, then in most cases you shouldn't run into cold starts - and for the rare gaps, you can send a steady stream of "blank" requests that will keep the lambda's alive. - You can also consider pushing all your incoming requests to an SQS, and then triggering lambdas based on the sqs capacity - this way you'll be able to provide a constant level of service even with the cold starts

6 upvotes·471 views
Web Developer at Code Zeno·
AWS Lambda

Have you used Provisioned Concurrency for your Lambdas? They can make a big difference, especially for Java.

1 upvote·3.1K views
Avatar of Taufik Pirjade