so.. dumb question about Seed: if I’m tired of my ...
# seed
s
so.. dumb question about Seed: if I’m tired of my SST project taking 15-20 mins to build & deploy, then I should sign up for Seed? :D
a
It depends on how decoupled your stacks are. Seed’s parallel deployments work by taking advantage of that.
f
Thanks @Ashishkumar Pandey!
@Sam Hulick a couple of things Seed does that would speed up the deploy: 1. automatically caching node modules; 2. if you have multiple SST apps in the same repo, skipping deploying an app if no changes are detected; 3. also if you multiple SST apps in the same repo, deploying them in parallel
Apart from that, Seed doesn’t do much in terms of deploy speed. Especially if most of the 15-20mins are waiting for CloudFormation.
s
@Frank ahh ok. I was under the impression even if I have a single app with multiple stacks, Seed is smarter about deploying small code changes (without involving CFN)
f
oh yeah.. that’s actually something we are thinking to build into SST itself!
a
the cdk v2 has this afaik, sst can probably provide some flag or use some logic to reduce deploy times via this approach.
s
Ah cool!
f
yeah CDK’s hotswap feature. And probably doing something like
sst deploy --force
to force a full CFN deploy.
s
Awesome, looking forward to all the awesome changes you guys have planned