sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

Update tutorial to support Lambda Provisioned Concurrency

Open boxabirds opened this issue 4 years ago • 3 comments

Provisioned Concurrency, announced Dec 2019, takes some steps towards alleviating the cold start problem.

This means polling hacks can be removed.

The proposal therefore is to update the guide to at the least mention provisioned concurrency, and/or as part of it, demonstrate how to use it, and how it improves latency.

boxabirds avatar Dec 12 '19 16:12 boxabirds

Yeah I think it's worth showing how to use it.

But I'm curious about the polling hacks. I don't think we do that in the guide?

jayair avatar Dec 16 '19 01:12 jayair

Hi @jayair -- not in the coding parts of the guide, no, but there are various mentions throughout the doc on cold starts. So maybe the first increment would be to add a note in the narrative section initially, and then maybe later a more advanced element.

boxabirds avatar Dec 18 '19 04:12 boxabirds

I see. Thanks for the feedback!

jayair avatar Dec 29 '19 22:12 jayair