Replies: 3 comments
-
You could add |
Beta Was this translation helpful? Give feedback.
-
I don't know the scale of the numbers this microseconds? 1 second for fastapi, 1 second for my onw logic... |
Beta Was this translation helpful? Give feedback.
-
Yes, the unit is microseconds. |
Beta Was this translation helpful? Give feedback.
-
Hi!
This is more a lambda + fastAPI question than aws-lambda-web-adapter itself but...
After read #283 my expectation was fast cold start below 2 seconds. I have a lambda with a cold start between 2500 ms and 2800 ms
A typical cold start, when point to /api/account in order to check id the user is authenticated.
Just 3ms to handle the user data but 2735.78 ms to start the lambda.
The same request on warm lambda.
How can I trace what is goin on during the 2.7 seconds of the cold start?
Any hint to optimize fastAPI startup without provisioned concurrency?
Simplified python code using .zip package.
Beta Was this translation helpful? Give feedback.
All reactions