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·180.7K views
Replies (2)
Avatar of yossale
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

READ MORE
6 upvotes·549 views
Web Developer at Code Zeno·
Recommends
on
AWS LambdaAWS Lambda

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

1 upvote·3.2K views
Avatar of Yossi Ittach

Yossi Ittach

Chief Architect at Altostra