This is so obvious in my head. I can't think of a single good reason where a SFN makes sense here.
Scaling up the Prime Video audio/video monitoring service and reducing costs
211–220 of 526 posts
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#212I guess what AWS sells is not servers, but software to manage them automatically, to load balance, to replicate etc. Once, in a short time, GPT can write such (pretty standard) software for you, Amazon will, too, go down.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#213I'm pretty convinced that microservices are one of those things that make sense 5% of the time and the other 95% is cargo culting.
I agree, my intuition would put it to 1% vs. 99% (difficult to quantify of course). I haven't yet seen a project/product which would need microservice architecture for technical reasons. If you need to scale, you can just scale monoliths (perhaps serving in different roles). The use case for microservice architecture is IMHO an organizational / high level architecture driven. I've worked in a big company (20K employe…
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#214Earlier quoted context omitted.
> Some AWS products exist because customers need/demand them and others exist because they provide higher margins and tighter lock-in to Amazon I'm still trying to figure out which one Aurora and Cognito fall under.
Aurora is I think pretty simple to move away from, since it's just fully compatible Postgres or Mysql. We even use a local postgres for development purposes against an Aurora solution.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#215Most importantly it's good for mental health though.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#216I'm pretty convinced that microservices are one of those things that make sense 5% of the time and the other 95% is cargo culting.
I had to google what 'cargo culting' meant. But I laughed when I found out. https://en.wikipedia.org/wiki/Cargo_cult_programming#:~:text... .
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#217Dead horse and all that but please just stick to Boring Tech, it is better for your mental health, not to mention your business, development velocity, defect rate, etc. Most importantly it's good for mental health though.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#218I'm pretty convinced that microservices are one of those things that make sense 5% of the time and the other 95% is cargo culting.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#219Also, the pricing of AWS quickly goes up as you go from EC2 -> Fargate -> Lambda. I don't know why on earth someone would build microservices at the lambda-level.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#220Earlier quoted context omitted.
Yeah, this is my takeaway too. I'm pretty happy with the monolith that we run at our business and this seems to validate our decision to stick to that monolith, but I'm also pretty confident that where we use AWS Lambda, serverless is absolutely the right way to go. For example, I've written a Lambda application to reply to webhook calls and send API calls whenever those come in. It costs maybe $2 per month to run in…
In your example, you compare Lambda against a separate monolith for handling the webhooks, but with a monolith wouldn't the comparison be between lambda and just adding a route and controller (or equivalent) to the monolith?
In this article, they didn't bolt the serverless architecture onto another existing monolith, but rather rewrote the Step Functions and Lambda functions to be a single ECS task.