Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a nice number to advertise, but AWS really should make all CloudFormation deployments much faster. There's no reason why updating the code of a single Lambda function should take 30s or even several minutes. It should happen in less than a second, the time it actually takes to call the Lambda API. In general it is way too slow to update a big CloudFormation project comprising many stacks, when only a small portion of the resources are actually changed. This slows down development of CDK based projects for no good reason.


> There's no reason why updating the code of a single Lambda function should take 30s or even several minutes.

Agreed. Sometimes I edit a core library of mine so nearly all my lambdas need to get update but I hate having a 10-20min deploy time. Some of that is GitHub Actions (their CI is so slow, I'm looking to switch) but CF itself is slow.


Weird self promo but we[1] provide Github actions runners that are much faster than stock. You can get started with just a one-line change to your workflow file. It may help. [1] https://www.warpbuild.com


I signed up yesterday but you don't support personal accounts yet. I look forward to those being supported! You are who I'm planning to use (since I need macOS as well).


Oh wow - thanks for the sign up. We are not intending to support personal accounts anytime soon btw because of spam and credit reasons :(


Oh, that’s unfortunate. The docs made it sound like support was coming soon.

I’ll have to investigate what the effects are of moving my projects off my personal account and into an organization. Long term that was always the plan but as a single-founder LLC I had no reason to use anything but my GH account I already paid for.


If you’d like to try something else, RunsOn supports any type of account (https://runs-on.com). No MacOS though.


Yeah, I've seen them before and it's super cool looking. I might try it but ~$325/yr is a lot for a side business that only needs it here and there. Also, no macOS means I can't move everything over which would be annoying. Thanks for the suggestion though!


Yes, if you use Cloudflare or Vercel or Netlify it does take just a few seconds to update. AWS Lambda updates are mystifyingly slow, and CloudFormation seems to add a ton of overhead regardless how complex or simple your setup is. (I guess this "40% faster!" means they reduced the overhead a bit?)


You can also update a AWS Lambda in a few seconds if you use the aws sdk. Or in a few more seconds if you use pulumi or terraform. It's a problem entirely related to how CloudFormation works in detecting changes.


Huh, that’s good to know!

Besides CF, I’ve done it directly in the web console and that still seemed pretty slow (though that would have been a while ago, maybe it has improved).


Yeah I remember when I ran a CDK pipeline in my previous job I could go on a bike, ride through a nearby forest, grab a coffee on the way, come back home, take a shower and it would still run...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: