Remix.run Logo
bastawhiz 3 days ago

It's not 200ms per call. It's 200ms cold start. Once a lambda is started, you don't pay that cost again. In most cases, you pay this a few times after a deployment or when traffic is increasing and not again.

hvb2 3 days ago | parent [-]

> you pay this a few times after a deployment or when traffic is increasing and not again.

This is now how lambda works. A lambda instance sticks around for 10s of minutes at most. So you'll have cold starts every day no matter how often you deploy.

If you have very little traffic you might actually have cold starts often as the lifetime of a lambda is determined based on its use.

Unfortunately AWS has always been rather unspecific about this behavior but here's a link to a pluralsight blog https://www.pluralsight.com/resources/blog/cloud/how-long-do...