(Replying to PARENT post)
(Replying to PARENT post)
One person even made the claim that microservices are easier to maintain and debug even tho a single code base that you can use tools on and easily keep in sync seems miles easier to maintain than microservices where you need to version your interfaces so older services continue to work while you upgrade newer versions.
Then they were talking about with a monolith it takes longer to deploy. I assumed their actual deploy tasks took longer, which I can kind of see. But it turns out they were talking about how often they deploy.
It seems nuts to me that people think switching to microservices from a monolith will suddenly mean their poor practices that got their monolith into a bad state will suddenly disappear. From my experience, it generally just means they develop a distributed monolith and have all the same problems with some extra problems.
I'm of the opinion that if you can't develop a good monolith system you can't develop a good microservices system. A good microservices system while it has it's benefits is, in my opinion, harder to architect, develop, and maintain than a microservices based system.
(Replying to PARENT post)
Distributed stateless monoliths can be faster than microservice.
Carbon foot print, cloud bill of too many microservices is probably high.
(Replying to PARENT post)
- didnโt just grab the whole video (or ~1min segment), but individual frames
- put each detector in its own context, needing its own copy
- created a StepFunction for each tiny piece
This never wouldโve passed design review when I worked at Amazon because the combinatorial blowout is obvious and predictable.
Iโm sure they switched to what was considered good practice even then:
- a single StepFunction per video
- a batch step across segments
- downloading in bulk, to a single container
- running all the detectors together
The problem wasnโt serverless or micro services: this was just bad design.
(Replying to PARENT post)
(Replying to PARENT post)
They've gone from serverless to a microservice.
(Which is interesting, but probably doesn't get the clicks.)
(Replying to PARENT post)
I wonder what they're doing differently. I tried searching for the original article, but it's too ambiguous with their general offerings, so no luck.
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
But scale is the obvious key component, having CPUโs allocated to doing mostly nothing is such a waste.
(Replying to PARENT post)
Itโs worth noting that the team that wrote the article is just a small part of Prime Video. The headline can definitely be interpreted to mean the entire Prime Video service.