Earlier quoted context omitted.
I felt your pain immediately and decided to write my own mini-framework to accomplish this. What I have now is a loosely coupled, serverless, frontend+backend monorepo that wraps AWS SAM and CloudFormation. At the end of the day it is just a handful of scripts and some foundational conventions. I just (this morning!) started to put together notes and docs for myself on how I can generalize and open source this to mak…
I never got the hand of cloud formation. I suppose it is nice from a visual (drag and drop) point of view, but I couldn't use it in production and moved on to manage my architecture with terraform.
The Serverless Revolution Has Stalled
191–200 of 670 posts
Re: The Serverless Revolution Has Stalled
#192Re: The Serverless Revolution Has Stalled
#193Serverless computing refers to an architecture in which applications (or parts of applications) run on-demand within execution environments that are typically hosted remotely. Like CGI or FCGI programs! But with YAML! FCGI really is a "serverless" environment. Launches an application when called for. Starts more copies of the application if there are enough requests. Shuts down idle copies when not needed. Starts a f…
But you forgot that always-on server it lives on. The idea behind serverless includes the fact that you don't pay for what you don't use. So if no requests are served, you owe nothing. Your FCGI solution shuts down idle copies, but keeps the server running...
FCGI has a server running. And serverless has a server running, as long as its listening for requests.
Re: The Serverless Revolution Has Stalled
#194Earlier quoted context omitted.
Except that people actually used microservices and microservices are actually additive and helpful.
They are helpful in probably 10% of cases where they are indeed the right tool for the job and the benefits outweigh the downsides. For the majority of companies out there it's just a tool to overcomplicate your stack and turn it into an engineering playground so you can justify 2-3x the headcount despite no significant productivity increase. But hey, at least your company can now be giving talks about how they solve…
Re: The Serverless Revolution Has Stalled
#195Re: The Serverless Revolution Has Stalled
#196Things like the Serverless framework[1] help, but ultimately today's serverless architectures feel like they forgot Dijkstra's warning: that the "Go To Statement Considered Harmful." [2]
I'm still big on the approach for the right use cases: variable work loads are a good example.
But ultimately, to be truly useful, we need to see either a) better coupling with non-serverless approaches, or b) a "serverless 2.0" approach that builds in the good parts and fixes the bad parts. (But please don't call it serverless 2.0... those of us who lived through "Web 2.0" will thank you)
[1] https://www.serverless.com/
[2] https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.p...
Re: The Serverless Revolution Has Stalled
#197Because it sucks . We’ve been working with serverless for 2 years now and we’re still dealing with issues for which the only solution appears to be to move back to ECS.
Re: The Serverless Revolution Has Stalled
#198Because it sucks . We’ve been working with serverless for 2 years now and we’re still dealing with issues for which the only solution appears to be to move back to ECS.
Re: The Serverless Revolution Has Stalled
#199Kind of surprised the article didn't mention lack of reasonable development environment. At least on AWS, the "SAM" experience has been probably the worst development experience I've ever had in ~20 years of web development. It's so slow (iteration speed) and you need to jump through a billion hoops of complexity all over the place. Even dealing with something as simple as loading environment variables for both local…
Honestly, it reminds me of PHP development years ago: running it locally sucked, so you need to upload it to the server and test your work. It. Sucked.
Re: The Serverless Revolution Has Stalled
#200Kind of surprised the article didn't mention lack of reasonable development environment. At least on AWS, the "SAM" experience has been probably the worst development experience I've ever had in ~20 years of web development. It's so slow (iteration speed) and you need to jump through a billion hoops of complexity all over the place. Even dealing with something as simple as loading environment variables for both local…
Take a look at the [CDK]( https://aws.amazon.com/cdk/ ) if you haven't already. It lets you define your infrastructure using TypeScript, which then compiles to CloudFormation. You can easily mix infrastructure and Lambda code in the same project if all you're doing is writing some NodeJS glue Lambdas which sounds like what you're looking for. There's a couple of sharp edges still but in general it just 'makes sense'.…
Currently using some CDK in a production app and finally I found a way of doing IaC I actually enjoy.