4 ms·
Are lambdas guaranteed to be warm on the first request to serve in single digit milliseconds?
by ec109685 2y ago
Are lambdas guaranteed to be warm on the first request to serve in single digit milliseconds?
- rajamaka 2y agoThey can be with provisioned concurrency.
- ec109685 2y agoIf provisioned concurrency is used, then fetching the database at startup would be a valid strategy given you could still achieve flat response times.
- moduspol 2y agoThat's true. I prefer this approach because it removes that additional thing (the request to S3) that can be slow or fail at runtime. Or "initialization" time, I guess, depending on how you look at it.