Prime Video service dumps microservices, cuts AWS bill 90%
thestack.technology
Prime Video service dumps microservices, cuts AWS bill 90%
1–10 of 42 posts
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#2Re: Prime Video service dumps microservices, cuts AWS bill 90%
#3It’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.
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#4Re: Prime Video service dumps microservices, cuts AWS bill 90%
#5Re: Prime Video service dumps microservices, cuts AWS bill 90%
#6- 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.
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#7Distributed stateless monoliths can be faster than microservice.
Carbon foot print, cloud bill of too many microservices is probably high.
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#8This sounds like a bad first design: - 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: -…
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#9This sounds like a bad first design: - 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: -…
Re: Prime Video service dumps microservices, cuts AWS bill 90%
#10This sounds like a bad first design: - 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: -…
This assumes the current functionality is the same as it was when it was originally created.