Closed zkhan96 closed 1 year ago
What is the performance with the lambda given a 2048MB memory allocation? Lambda CPU is proporational to memory assigned, and with millisecond billing now, it makes sense to increase the memory to get a nearly proportionally faster response time.
Is this still an issue with the latest Quarkus versions?
Closing for lack of feedback.
Describe the bug I seem to have cold start times of 11s when doing any rest call to my quarkus app in AWS lambda deployed by
sam deploy
The app is using API gateway as a proxy to talk to an endpoint on the app.
The app connects to RDS PostgreSQL using a custom credentials provider, does a GET on a very small payload, and returns the JSON to the client.
Expected behaviour Cold start times of 1s.
To Reproduce I am running the quarkus app in JVM mode and building the uber jar by doing:
Configuration
Screenshots
A GET on the /health endpoint using the quarkus-smallrye-health extension
Environment (please complete the following information):
java -version
:mvnw --version
orgradlew --version
):Build time: 2020-06-02 20:46:21 UTC Revision: a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4
Kotlin: 1.3.72 Groovy: 2.5.11 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 11.0.4 (AdoptOpenJDK 11.0.4+11) OS: Mac OS X 10.14.6 x86_64
Duration: 5461.09 ms Billed Duration: 5500 ms Memory Size: 512 MB Max Memory Used: 220 MB Init Duration: 5009.05 ms