Fun fact: sub 5mb uncompressed payload for a Lambda equals around 200-300ms coldstarts. One *can* upload 250mb+ payloads if you want to hack around it and have SUPER SLOW coldstarts. https://hackernoon.com/exploring-the-aws-lambda-deployment-limits-9a8384b0bec3 … But you don't want to do that. More and smaller lambdas is faster.
-
-
Replying to @brianleroux
Did you ever play with parcel/webpack/rollup for bundling?
2 replies 0 retweets 0 likes -
Replying to @southpolesteve @brianleroux
Straight up Prune from TJ which just gets rid of non-js files makes a big difference
1 reply 0 retweets 1 like -
-
I have no data to back this up, but feels like the bigger win of bundling may be eliminating all the require calls and file loading.
1 reply 0 retweets 2 likes -
Replying to @southpolesteve @IamStan
In our app it shaved around 80-100ms which def helps but those Lambdas are smol to begin with; imagine a huge payload 10+mb it makes a big dent. That said: just don't do that (if you can).
1 reply 0 retweets 1 like
I keep saying this (and not doing it) but would be really nice to have some standard benchmarks for this stuff. Something like TodoMVC that could be run across providers.
-
-
Replying to @southpolesteve @IamStan
TL;DR:
AWS
.
.
.
. ~seconds elapse~
.
.
.
Everyone else1 reply 0 retweets 1 like - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.