DEV Community

Discussion on: Why local development for serverless is an anti-pattern

Collapse
 
winstonn profile image
Winston Nolan • Edited

Early on in serverless days, deploys took ~10 minutes for a small change. Remember those days? That's one reason why developers wanted to work locally..

Collapse
 
garethmcc profile image
Gareth McCumskey

Hey Winston. Times change. You can now deploy a code change in 3 seconds or less. You actually could back then too when we were hacking on things together but sometimes the little tricks elude you. serverless.com/framework/docs/prov...

Collapse
 
megaproaktiv profile image
Gernot Glawe

If you tweak AWS a little bit you can deploy under a second without the sls framework aws-blog.de/2021/04/cdk-lambda-dep...

Collapse
 
sheldonhull profile image
Sheldon

I love that you also use a nice task runner like Go Task. :-) That goes above and beyond most blog articles. It's basically a fully featured solution out of the box to try! nice work.

Collapse
 
winstonn profile image
Winston Nolan • Edited

True, but I did say "early on in serverless"

Collapse
 
jayair_20 profile image
Jay

If you are using CDK, try out SST. It hot reloads your Lambda functions, so won't even need to deploy them.

github.com/serverless-stack/server...