My word. I'm sort of gob smacked this article exists. I know there are nuances in the article, but my first impression was it's saying "we went back to basics and stopped using needless expensive AWS stuff that caused us to completely over architect our application and the results were much better". Which is good lesson, and a good story, but there's a kind of irony it's come from an internal Amazon team. As another…
Scaling up the Prime Video audio/video monitoring service and reducing costs
131–140 of 526 posts
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#132Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#133Storing individual frames in S3??? Insanity! Their initial distributed architecture is unbelievable.
> AWS Step Functions charges users per state transition Apparently they didn’t know about the EXPRESS execution model, or the much improved Map state. The story seems to be one of failing to do the math and design for constraints rather than an indictment of serverless. I have to agree with others - it is amazing this article saw the light of day.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#134Earlier quoted context omitted.
Microservices have lately seemed to me to be a buzzword for the ears of executives and stakeholders. To someone who isn't technical enough, it seems really "cool" from the outside, but on the inside, it's more than often a shitshow with teams and managers messing around to get these services working with each other properly while wasting a lot of time. If you ask me, if the time and focus is invested properly, it wou…
> lately "lateley" as in "for the last 5 years"?
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#135I'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
#136My word. I'm sort of gob smacked this article exists. I know there are nuances in the article, but my first impression was it's saying "we went back to basics and stopped using needless expensive AWS stuff that caused us to completely over architect our application and the results were much better". Which is good lesson, and a good story, but there's a kind of irony it's come from an internal Amazon team. As another…
Why? Using the model they switched to (which uses a different set of AWS services) instead of the model they switched from is a recommendation that the AWS tech advisers that are made available to enterprise customers will make for certain workloads.
Now when they do that, they can also point to this article as additional backing.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#137Of all the video streaming services I have used, PrimeVideo is the one where the video/audio sync becomes terrible progressively. It is pretty bad. It happens in 8 out of 10 movies. There is some misconfiguration in their AV transcoding pipeline. And here, we have an article talking about Monolith vs. Microservices improving user experience.
Netflix's shiny new compression scheme a couple years ago didn't work on my Sony TV's buggy silicon. The only way I got that fixed was by knowing someone on the inside.
Hulu usually can't make it through an episode without the video freezing at least once. Sometimes it just refuses to work at all until I completely reboot the TV.
HBO Max's UI is just really cheesy and slow, but whatever it's fine.
Paramount+ is my new favorite to hate on. The UI is maddeningly glitchy and lethargic. I pay for no ads, but it plays ads anyway, on Star Trek episodes from 1996. It doesn't remember progress in a show more than once every week or two, just enough to remind you that it's supposed to be a feature. On my phone, it doesn't hide the typical menu overlays unless I do a complex sequence of finger taps. One time I tried to file a bug report from inside the logged-into app, and I got an email back claiming that they would love to consider my concerns but can't because they don't have an account associated with my email address.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#138Sending video frames between services is expensive, also doing per state transition hosting on things doing state transitions multiple times per second in a single stream is also expensive... Like, did they even think about cost when designing this the first time?
The latter of course helping Amazon market "serverless" to the unwashed masses as a "solution".
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#139If you came to me with a design that included passing individual video frames through S3 instead of RAM I would honestly think you were joking. What a wild article.
Re: Scaling up the Prime Video audio/video monitoring service and reducing costs
#140I'm pretty convinced that microservices are one of those things that make sense 5% of the time and the other 95% is cargo culting.
Microservices works better if you don't trust other team. While having trust seem like a basic thing, this is absolutely not the case for a lot of companies. With microservices, it is easy to see services which are down or have high error rate or latency, have clear API contract and call out the team for breaking API contract, and assign cost for which the teams have incentive to reduce, or at least not increase it.
Large monolithic repos with many independent targets for testing and deployment work the best at huge scales. If you are only a few hundred engineers, monorepo with monolithic deployments and tests work fine.