Serverless Was A Mistake | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 338

  • @iamtheV0RTEX
    @iamtheV0RTEX ปีที่แล้ว +507

    "Self hosted vs serverless" and "monolith vs microservices" are independent axes. If you put your entire application logic into a single container that you run using App Runner, that's a serverless monolith. If you build your app as a fleet of microservice containers but you run them on your own hardware, that's self-hosted microservices.

    • @tejeshreddy6252
      @tejeshreddy6252 ปีที่แล้ว +78

      Just goes to show how much misunderstanding/confusion is out there in the backend among even experienced devs

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว

      And there are cost calculations in which that apprunner bullshit is more expensive that IaaS. architects need to be really kicked in their balls for not considering cost calculators while outlining architecture
      EC2 Cost Calculation:
      Determine the cost per hour for the selected EC2 instance type. Let's assume it is $0.05 per hour.
      Multiply the cost per hour by the number of hours in a month (720 hours):
      $0.05/hour * 720 hours = $36
      App Runner Cost Calculation:
      Determine the App Runner cost per hour. Let's assume it is $0.07 per hour.
      Multiply the cost per hour by the number of hours in a month (720 hours):
      $0.07/hour * 720 hours = $50.40

    • @nonya3259
      @nonya3259 ปีที่แล้ว +8

      Agreed

    • @NathanHedglin
      @NathanHedglin ปีที่แล้ว +9

      Exactly! Drives me nuts. The Prime Video blog shows even Prime Video devs don't know what they're talking about

    • @yessopie
      @yessopie ปีที่แล้ว +7

      He also seems to think that serverless is the only way to have managed hosting. As in, if you have dedicated servers, you have to install/manage them yourself. But there are hosts that do managed dedicated servers with 24/7 support. They can even use puppet, or similar software, so that you can have phoenix-servers without dealing with docker.

  • @onee1594
    @onee1594 ปีที่แล้ว +83

    Problem was not serverless and not even microservices.
    Problem was bad design

  • @MosiurRahman-dl5ts
    @MosiurRahman-dl5ts ปีที่แล้ว +605

    Tom is a genius, he could've scaled it much better.

    • @zeuglcockatrice4633
      @zeuglcockatrice4633 ปีที่แล้ว +109

      he could have scaled it diagonally

    • @shadamethyst1258
      @shadamethyst1258 ปีที่แล้ว +17

      He would use svn to share the pictures across the workers

    • @zweitekonto9654
      @zweitekonto9654 ปีที่แล้ว +8

      who tf is tom?

    • @kartik4792
      @kartik4792 ปีที่แล้ว +22

      @zweite Konto Tom is a genius

    • @joshjackson5274
      @joshjackson5274 ปีที่แล้ว +20

      @@zweitekonto9654 a guy from an article on stream - I can’t recall it all but something like he made a tool called JDSL and a guy added a comment to it and it broke the whole thing

  • @holistic_autistic
    @holistic_autistic ปีที่แล้ว +152

    "that doesn't look like a high school project" 💀 I'm a frontend engineer at Amazon and this is so true. There is no culture of frontend development at Amazon

    • @nieczerwony
      @nieczerwony ปีที่แล้ว +16

      What's the point? If something is working and brings profit (a lot), why change it?

    • @holistic_autistic
      @holistic_autistic ปีที่แล้ว +37

      blockbuster circa 2002: "we're bringing in profit (a lot), why change it?"

    • @sarethdarva
      @sarethdarva ปีที่แล้ว +5

      Hey fellow FEE-I don’t think Amazon has ever had much of a front end culture though I see efforts to change it. (Like hiring people with our job title…) and if the amount of time and discussion it takes to make UI design changes I’ve seen is typical it’s going to take a while…
      Then again I’m not enamored of the UI for Google either. I think you need a design-first ethos like Apple really to have the exceptional UI/UX-and even that has its pitfalls, like when Jony Ive ran unchecked for years.

    • @liquidsnake6879
      @liquidsnake6879 ปีที่แล้ว +1

      That tells me that there's no FE leads at Amazon, you need someone to take the lead, to assume responsability, to go up to face people, make themselves public figures within the company to challenge standing paradigms, and it's invariably a problem if you're all just the kind of people who are content in your home office coding whatever they tell you to code.
      Nothing changes this way, to change things you need people making themselves known and pushing for changes.
      Admitedly in any given company, very few people (i'd even say 1 in a million) do this because it's an enormous pain in the rear in a big corporation, you'll get a lot of pushback, you'll need to join a lot of extra meetings, you'll need to take on a lot of extra accountability, all while researching and studying to make sure the next architect or designer you get in an argument with doesn't humiliate you publicly on the company chat app lol (and they will try because they will resent you if you're pushing back against their status quo)
      "But why don't the architects do that?" From my experience in a medium-large (300+ devs) corporation it's because they were all drafted from the Backend development circles and don't care about FE their idea of architecture is much more focused on the links between BE microservices (which they adore and create thousands of) and various hosting and caching services, FE is always an afterthought to them
      Most FE architecture guidance i ever got was that they wanted microfrontends we needed to integrate with s then they wanted webcomponents instead, then they wanted us to bundle every micro frontend in a monorepo, now they want us to switch to using Github's CI instead of Jenkins etc it's a confusing mess.
      But there's always a group or taskforce that's seen as the "core", that might be the people in charge of your css framework libraries, might be people in charge of some core packages that everyone uses, a good idea if you want to change things is to try and get into those taskforces or teams, it's easier to change things from inside those teams as you'll have a bigger voice and more people will listen. But overall it's awfully political to change things in big companies and very few people are cut out to do that or even care enough to go through the hassle

    • @jel1951
      @jel1951 ปีที่แล้ว +3

      I imagine because the market Amazon appeals to through AWS isn't concerned with the frontend, rather just the functionality.

  • @TECHN01200
    @TECHN01200 ปีที่แล้ว +63

    It kinda makes sense, you don't pay the internet bill if you don't transfer anything over the internet.

  • @rubyh4184
    @rubyh4184 ปีที่แล้ว +7

    The key of designing system that could scale horizontally is Stateless. Monolith could scale horizontally as long as the instances are stateless. The answer was never always microservice to scale horizontally.

  • @Ivan26t
    @Ivan26t ปีที่แล้ว +254

    Amazon needs to hire UX designers and front-end developers. Amazon's website was built by a backend developer 😅

    • @mennovanlavieren3885
      @mennovanlavieren3885 ปีที่แล้ว +11

      They did, they are working on QoS monitoring.

    • @BusinessWolf1
      @BusinessWolf1 ปีที่แล้ว +2

      @@mennovanlavieren3885 lol nice

    • @funmbiie
      @funmbiie ปีที่แล้ว

      Word!

    • @cristi724
      @cristi724 ปีที่แล้ว

      Then it would just look like youtube but also run like shit.

    • @kuhluhOG
      @kuhluhOG ปีที่แล้ว +14

      not to dump on UX devs, but most of them made UX worse of basically every website I know of which had a decently big-ish rework in the last 5 years

  • @OBGynKenobi
    @OBGynKenobi ปีที่แล้ว +99

    Pretty soon we'll all be programming in assembly again.

    • @poopoo-dk4hu
      @poopoo-dk4hu ปีที่แล้ว +10

      Already do 🤣

    • @zweitekonto9654
      @zweitekonto9654 ปีที่แล้ว +20

      @@poopoo-dk4hu name checks out

    • @NachitenRemix
      @NachitenRemix ปีที่แล้ว +6

      We go full circle every couple of years lmao

    • @IvanRandomDude
      @IvanRandomDude ปีที่แล้ว +10

      And we will claim that it is incredible innovation and game changer

    • @BusinessWolf1
      @BusinessWolf1 ปีที่แล้ว +4

      and we'll be better off for it

  • @DeusExAstra
    @DeusExAstra ปีที่แล้ว +121

    I think if you just run your micro services on Subversion, that would solve all your problems. Also, Tom is a genius.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  ปีที่แล้ว +33

      Hey, I know you know, but not everybody knows how much of a genius Tom is

    • @pinklemonade8444
      @pinklemonade8444 ปีที่แล้ว +2

      ​@@ThePrimeTimeagen watching you without facecam would be funny

    • @bluecement
      @bluecement ปีที่แล้ว +1

      Lmao at DHH bit

  • @chrisE815
    @chrisE815 ปีที่แล้ว +11

    "Someone call a data scientist in here immediately." Said no one trying to get something important done...

    • @bernardogalvao4448
      @bernardogalvao4448 ปีที่แล้ว +2

      Im one and youre right

    • @dandogamer
      @dandogamer ปีที่แล้ว

      Data engineer would be the correct role here

  • @TechBuddy_
    @TechBuddy_ ปีที่แล้ว +126

    Tom is a genius

    • @TheThunder005
      @TheThunder005 ปีที่แล้ว +3

      "You got to go Because TOM IS A GENIUS!"
      Prime "How do you spell gene-i-o-s"
      Tom "you're fired!"

    • @TechBuddy_
      @TechBuddy_ ปีที่แล้ว +2

      @@TheThunder005 Akshually you are wrong
      TOM IS A GENIUS!

    • @fallenIights
      @fallenIights ปีที่แล้ว

      Who is tom? Serious question

    • @TechBuddy_
      @TechBuddy_ ปีที่แล้ว

      @@fallenIights Tom is a genius!

    • @fallenIights
      @fallenIights ปีที่แล้ว

      @@TechBuddy_ tom is a gay

  • @yuriib5483
    @yuriib5483 ปีที่แล้ว +28

    our devs recently accrued 200k spend on cloudwatch, over weekend, after Friday dev branch change because they looped lambda calling itself and their code had verbose logging. with 10mil monthly spend it is drop in a bucket but for small org that's be end of company. most dinosaurs of development don't understand cloud infra and cost pillar well enough to be doing serverless

    • @adambickford8720
      @adambickford8720 ปีที่แล้ว +4

      In practice AWS will likely forgive that

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว +1

      @@adambickford8720 just like with cryptominers it is on account owners to pay attention to cost. it is a legit pay as you go storage usage so there is not wiggle room like with let's say ddos refund via shield advanced.

    • @BusinessWolf1
      @BusinessWolf1 ปีที่แล้ว

      @@yuriib5483 You're vastly underestimating how willing amazon is to wiggle, but that's because you're stuck thinking officiality is real. I'm 100% certain that they would refund the company if they asked. But nobody asks, because they think like you.

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว +2

      @@BusinessWolf1 15 mil a month bill, shaved off another 400k by pointing out bug in RDS pricing model, we did ask and it is leging cloudwatch storage usage. THey might be lenient at legit hyper charge mistake by some tiny startup so that they don't go under. with big orgs? not so fast

  • @martg0
    @martg0 ปีที่แล้ว +59

    Serverless is ok depending on the use case, not for everything. I’ve done migrations and switched from a 3500 USD/mo bill using ec2, and RDS to less than 100USD/mo using nextjs running on lambdas + DynamoDB + Cloudfront

    • @mattmurphy7030
      @mattmurphy7030 ปีที่แล้ว +9

      I’m using lambda and dynamo to run the backend of my game, for player profiles and stats and stuff, and I couldn’t be luckier that this stuff is available. So far I haven’t paid a dollar or spent more than an hour setting anything up. Huge improvement over 15 years ago.

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว +9

      so you went from relational to nosql? I would not call this a migration. this is a full replatforming. lambda + dynamodb + cloudfrom +route53 stack also assumes you have a modest usage. I is very easy to run away from your cost projections if you have bad actors hammering your app. hope you got that shield advanced

    • @dandogamer
      @dandogamer ปีที่แล้ว +1

      @@mattmurphy7030 lol the latency is going to be insane, lamba for a game?

    • @mattmurphy7030
      @mattmurphy7030 ปีที่แล้ว +7

      @@dandogamer read it again

    • @martg0
      @martg0 ปีที่แล้ว +2

      you are right, we rewrote all the app, and avoided a DevOps team too. You are right regarding bad actors too, we implemented WAF and api rate limits. And now identified silent errors on the client side using Sentry.

  • @ninjaasmoke
    @ninjaasmoke ปีที่แล้ว +16

    ugh aws lambdas are just ugh.
    i recently joined a company that has a micro service’s architecture built with around 1000+ lambdas. each doing different things.
    for each, we have asked aws to allow upto 20k concurrent requests. now we are supposed to handle over 40k as our company’s growing. and the time AWS takes to scale the lambda is over 30minutes!?? we are switching to kubernetes jobs as an alternative.
    and now i’ve to rewrite code for 1k lambdas 🙂

    • @HobokerDev
      @HobokerDev ปีที่แล้ว +14

      Job security 👍?

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว +3

      not much to rewrite even if you're running something exotic like .net3.1, or nodejs12. most likely will just run out of the box. if lambda runs it then there is most likely container image for that too. we got 140k lambdas and some developers have died during 'Rona and no one got time to read the code, and some were edited 5 years ago, now that's some danger zone

  • @daryl4225
    @daryl4225 3 หลายเดือนก่อน +1

    Amazon also gets an AWS solutions architect to help them figure stuff out. It was sad to read this article because it's strange that they ended up here.

  • @dipereira0123
    @dipereira0123 9 หลายเดือนก่อน +2

    11:59 Goddamn years following Primeagem and never ever imagined that he could be a man of culture

  • @IvanRandomDude
    @IvanRandomDude ปีที่แล้ว +92

    Tom can fix serverless

    • @pietersmit621
      @pietersmit621 ปีที่แล้ว +2

      Tom will JDSL the shit out of it.

  • @gliderspace
    @gliderspace ปีที่แล้ว +3

    I used to write algorithms to do something kind of similar. We would turn videos into frames and check them for big sections of similar colors and turn them into matrixes to check how close they were to solid color squares (common video encoding error artifacts) in order to validate if the movie could be sent do Netflix, Google Play, Apple TV, etc. It ATE our resources like HELL!
    We had dedicated HP workstations with two quadro boards each just to do that work (and a few other validations). It was HEAVY!

  • @leaxical
    @leaxical ปีที่แล้ว +19

    The world is not ready for serverless JDSL.

  • @Hyrum.
    @Hyrum. ปีที่แล้ว +23

    JDSL definitely could’ve handled it. Tom is a genius! Could’ve deployed the whole thing in comments.

  • @jefffriedman6942
    @jefffriedman6942 ปีที่แล้ว +4

    "You'll compute nothing and you'll be happy" - LOL

  • @thebodachshow
    @thebodachshow 11 หลายเดือนก่อน +1

    My work uses one single dedicated server (well 2, we have a mirror fall back) costing £120pm each, and it's running a collection of dockerised microservices. it's cheap, cheerful, low maintenance and scalable vertically and horizontally. Currently handling around 350k requests per hour, with file uploads, file processing including video etc. With Cloudflare caching for static files, which they do for free, it's so easy and cheap and "future proof" to go with an SOA approach. Our system on AWS or edge would cost £thousands per month... embrace the dedicated server

  • @reveil85
    @reveil85 7 หลายเดือนก่อน +1

    Serverless only makes sense in case when your usage pattern is extremely uneven. One example is when you have a computation heavy report to do once per month. If just you rent servers to do it they sit unused for 29/30 days. Unless you are using them for something else in the meantime (development/CI etc) then serverless is a valid solution for this. On the other hand If you just have web service in 90% of cases avoiding serverless would actually save you money.

  • @stevenhe3462
    @stevenhe3462 ปีที่แล้ว +32

    This stream duplication business is no surprise when you see "ML" in their workflow. Probably, some data scientists planed out this mess.

  • @dmitriylevy7865
    @dmitriylevy7865 ปีที่แล้ว +12

    3:35 that laughter is legendary

  • @Nathan00at78Uuiu
    @Nathan00at78Uuiu ปีที่แล้ว +7

    How dare you question the genius of Tom. He literally built jay diesel by himself with executable comments at runtime.

  • @filiformis
    @filiformis ปีที่แล้ว +5

    "for some reason it's like it's 10x cheaper to not have 10 streams."
    lol
    lmao, even

  • @wlockuz4467
    @wlockuz4467 ปีที่แล้ว +29

    The main point is that Amazon Prime was doing something thats inherently impossible with Serverless and thats how they save 90% by moving away from it.

    • @Zzznmop
      @Zzznmop ปีที่แล้ว +4

      I thought the main point was that they coupled two microservices to share a data store

    • @bravethomasyt
      @bravethomasyt ปีที่แล้ว

      They could have saved the 90% without even moving away from serverless.

  • @sunilmadan2006
    @sunilmadan2006 ปีที่แล้ว +5

    Prime issue was S3 bucket read / write cost and not serverless cost.

  • @thegrumpydeveloper
    @thegrumpydeveloper ปีที่แล้ว +7

    They spent so much time asking if they could do it instead of if they should do it.

  • @leetaeryeo5269
    @leetaeryeo5269 ปีที่แล้ว +2

    “It went from crazy-ass to… less crazy-ass”
    It went from crazy-ass to crazy-elbow

  • @Griffith-Did-Nothing-Wrong
    @Griffith-Did-Nothing-Wrong ปีที่แล้ว +6

    amazing that AWS didn't even follow their own recommendations for serverless applications. A 1) long-running process with 2) Consistently high workloads? Nothing can go wrong here!

    • @disguysn
      @disguysn ปีที่แล้ว +1

      AWS doesn't coordinate efforts across the company incredibly well from what I can tell. They do it much better than virtually every other company out there, but it's still not that great.

  • @clarkm
    @clarkm ปีที่แล้ว +6

    I don’t get why everyone is up in arms about this. The promise was never that you could fragment your application into infinitely small pieces and it would magically be better. There are certain parts of an application that cannot efficiently be divided up into micro services, and there are others that are perfect for it. I don’t understand what the revelation is here.

  • @JacobHo161
    @JacobHo161 ปีที่แล้ว +1

    3:02 "And still be unable to make a wesite that doesn't look like a high school project"
    I also wonder if they even have a UI designer.

  • @riptorforever2
    @riptorforever2 ปีที่แล้ว +2

    04:02 mr vim, when you hood drop off, was like a person loosing the ears, hair, humanity... this hood is just part of you. now I understand why superman could disguise to clark kent by putting a glass

  • @TizzyD
    @TizzyD ปีที่แล้ว +12

    NEVER SAY NEVER. Serverless CAN BE good. It depends on the data interdependence and flows, storage, etc. Additionally, there are many business inputs to consider: resource availability, on-premise resource utilization, etc. Yes, you can save money by self-hosting...but...the money is paid elsewhere. Reminds me of a search challenge I had 20 years ago. The query had 7 functions to transform the returned data. How to speed it up? Pre-compute the transformations, e.g. denormalize and prep asynchronously. The result: 2 min queries became 4 sec. (But hey, that was 20 years ago!)

    • @Waitwhat469
      @Waitwhat469 ปีที่แล้ว

      At a certain point in scale self-hosting cloud serverices, like serverless hosting in order to reduce cloud cost, but scale out to the cloud as needed.

  • @Alex-hr2df
    @Alex-hr2df ปีที่แล้ว +2

    The best solution is to adopt a hybrid approach that combines serverless and monolithic architectures. Critical components benefit from serverless scalability, while less dynamic parts are consolidated into a monolith. This maximizes resource utilization, cost efficiency, and flexibility in scaling. Continuous monitoring and optimization ensure a cost-effective and scalable solution.

  • @jogurtnaturalny
    @jogurtnaturalny ปีที่แล้ว +10

    Tom is a Genius

  • @Nick_fb
    @Nick_fb ปีที่แล้ว +4

    Serverless is a gamble, but Anakin memes are forever

  • @PetterAmland
    @PetterAmland ปีที่แล้ว +6

    Oh, so that's what serverless means. I thought it meant there were no server, like a normal client side only program

  • @Tomplaysguitar182
    @Tomplaysguitar182 ปีที่แล้ว +1

    Unless you're deploying your jdsl on the edge, you're an imposter.

  • @leakyabstraction
    @leakyabstraction ปีที่แล้ว +2

    The funnies thing about Amazon is that it feels like a clueless booksalesman is trying to sell me a bunch of stuff when I use their site. "Oh, you bought a bed last week, would you fancy buying this another bed as well?" "I can see that you're searching for RX 7900 XT... How about these RTX 3050's instead?" It's a mystery to me how did they get so big.

    • @badpussycat
      @badpussycat ปีที่แล้ว

      LOL Never understood why people are so excited about those recommendation engine. It really sucks!

  • @FreddyDaleginds
    @FreddyDaleginds 10 หลายเดือนก่อน

    it's a far above my hat show, but I made notes and am going to think about it in my head. I send you a message a while back about how you inspired me to change careers but something is holding me back it feels, so I resuscribed to your channel :)

  • @dmitryplatonov
    @dmitryplatonov ปีที่แล้ว +3

    I think you are wrong about what they are doing at amazon: they re-stream streams from _clients_ to qa service (or do snapshots at clients and upload, not sure). And they do it not for every client, just for some small subset. So no additional load on streaming servers.

  • @cookiesInChocolate
    @cookiesInChocolate ปีที่แล้ว +2

    I think Cloudflare Workers is a great example of lightweight and cheap “functions”.

  • @LegitBanananas
    @LegitBanananas ปีที่แล้ว +1

    i love how tom keeps coming back into these videos. I bet its the same Tom from myspace :P

  • @boomerau
    @boomerau ปีที่แล้ว +1

    Most people in tech just do it and don't worry about the cost. The business also know better and tell you to do it if you do ask. It is always interesting to watch the business buck pass their solution around.

    • @nnnik3595
      @nnnik3595 ปีที่แล้ว +1

      One of my senior dev colleagues kept telling me that "costs are unpredictable" and "decisions shouldn't be made with costs in mind"
      The next project we build now cost the company 17 cents per month in serverless stuff.

  • @asdqwe4427
    @asdqwe4427 ปีที่แล้ว +2

    Amazon’s websites look like shit for the same reason that the Dollar store looks like shit. I Tricks people to think that everything is cheap

  • @adambickford8720
    @adambickford8720 ปีที่แล้ว +1

    Serverless is a gamble: will you make for up the rip-off $/GFLOP of compute with your actual duty cycle? 10x the cost but 1/20th the usage is a win. Of course aws knows that by the time you hit that breakpoint you're probably locked-in :evil-pinky:
    Remember, aws is renting you the same hardware in Virginia either way.

  • @szeredaiakos
    @szeredaiakos ปีที่แล้ว +1

    Modular monolith is by far the cheapest, simplest and handles partitioning very well. There is no style which can replicate that to any degree. Service based architecture does come close with more upsides like agility and fault tolerance, but at a sacrifice of cost and simplicity.
    Microservice still a unicorn architecture with many upsides but there is event driven, space based, including service based. None of them share the atrocious cost effectiveness of microservices.

  • @SteveBriley
    @SteveBriley ปีที่แล้ว

    That "Ruby on Rails" programming without types is vastly superior bit. ROFL. I'd offer to give them my footgun, but it's clear they have more than I do.

  • @hotrodhunk7389
    @hotrodhunk7389 ปีที่แล้ว +2

    3:30 Amazon prime is what makes them successful. Next day shipping for no added costs. Billions of products at good prices.

    • @yuriib5483
      @yuriib5483 ปีที่แล้ว

      not really, cheap chinese garbage and being one of the very first on market. now practically every store has some options of free shipping

  • @ryanquinn1257
    @ryanquinn1257 ปีที่แล้ว

    I diiiiiiiiiiiiied at that Amazon rant about being like oh cool I want to watch Conan. Wait I have to buy it? Screams externally and internally*

  • @n0madtv
    @n0madtv ปีที่แล้ว +3

    It only costs less at the beginning, there are diminishing returns to any cloud service. It's just the nature of 'middle man' economics. Cloud services (all of them) are great if you're a startup and can't afford 100k worth of servers just to put in 2 locations that will cost another $1k a month to operate. But once you have scaled cloud services up to $1k a month, or beyond, it's time to start putting that money towards financing the ownership of those servers. Or, better yet, by the time you've scaled to $1k a month cloud services, maybe you've already made 100k???
    I know of a single game server that hosts around 1k users at any given time being hosted on AWS (bare metal), and it's something like $10-20k per month. And they don't see a problem with that because they're all devs and don't want to deal with servers. Hire me for $4k a month and finance some servers! We'll both pay for ourselves!
    Also, anyone familiar with the game Star Citizen will know about all the problems they've had the last few months. They are basically refusing to scale their services and just deal with poor performance. But, here's the kicker, they are 100% locked into AWS because of early sponsorships and committed discounts. They are probably spending over $100k a month (my personal estimate). They could be putting redundant servers in a new region every month for that price and then pay the $10k a month to keep 10+ locations running (plus pay 2 people $100k a year to manage them). And this is a fully funded operation with 10's of millions in cash...

  • @Yupppi
    @Yupppi 11 หลายเดือนก่อน

    "This is an unironic real picture of Netflix" made me feel so sorry for him.

  • @SpiraSpiraSpira
    @SpiraSpiraSpira ปีที่แล้ว +1

    Our company saved something like $10,000 a year just by buying an old 2U Supermicro Xeon server and spending a couple hundred bucks a month to co-locate at an ISP. We still use some AWS stuff, but only as overflow scaling.

    • @KrisMeister
      @KrisMeister ปีที่แล้ว +1

      It depends on if you get large spikes in traffic. You'd need to buy, load balance and maintain more servers even though they're mostly not in use. That is the use case for cloud and lambda. - like you said.

  • @morgengabe1
    @morgengabe1 ปีที่แล้ว +2

    Netflix might have a prettier website than Amazon but come on man, Netflix's ui is so minimally useful you should know better than to throw them kinds of stones

  • @RaevGames
    @RaevGames ปีที่แล้ว +2

    Tom is a genius, he would've listened to Moonlight Shadow

  • @ChrisWrightGuitar
    @ChrisWrightGuitar ปีที่แล้ว

    It's like the clean-codification of deployment. They wrote a load of over-encapsulated functions and tied them all together.... over a network 🙃

    • @nnnik3595
      @nnnik3595 ปีที่แล้ว

      It wasn't even a network. It was a network drive.

  • @HRZN-xj9um
    @HRZN-xj9um ปีที่แล้ว +1

    3:09 What 1 programmer can do in 1 week, 2 programmers can do in 2 weeks. Pay a person twice the money, they'll probably take twice as long to do something.

  • @diegolikescode
    @diegolikescode ปีที่แล้ว +2

    Broh, they didn't use AWS Calculator

  • @multivariateperspective5137
    @multivariateperspective5137 2 หลายเดือนก่อน

    OFFER SHIRTS “Tom’s a genius.” -Primatroll

  • @airman122469
    @airman122469 ปีที่แล้ว +1

    I almost always prefer self-hosted monoliths. They’re almost always simpler to maintain and given enough traffic are cheaper to run.
    Though, it’s possible I’m biased because the micro service’s architectures I’ve seen have always been inefficient piles of garbage.

  • @8koi245
    @8koi245 ปีที่แล้ว +1

    Chat sharing a single braincell
    AYAYAYA

  • @SurfsUpSeth
    @SurfsUpSeth ปีที่แล้ว +1

    I’m convinced Amazon makes their AWS website and documentation look terrible so that people have to pay for their support service

  • @vitormelo22
    @vitormelo22 ปีที่แล้ว +1

    I very much agree with what you said, Amazon's website has never been attractive, as well as eBay's. They seem to be websites from the 90's.

  • @thisbridgehascables
    @thisbridgehascables ปีที่แล้ว +1

    Prime, agree trying to use the AWS website is like geocities level sadness.
    I swear it said my ES2 instance didn’t exist until connected through SSH. Kept getting these emails from AWS about my services but every time I logged in, they weren’t available to even evaluate..
    AWS interface is almost as bad as Pro Tools.. that’s right Avid.. design something that looks like it was made in reality and design trends of now not the 90s.

  • @JeremyChone
    @JeremyChone ปีที่แล้ว +1

    Serverless is a service implementation detail.
    Not a system architecture design.

  • @TizzyD
    @TizzyD ปีที่แล้ว +2

    😂 Amazon streamers think that AWS costs don't exist for them. Thus, they can outprice other businesses. That's how they dominate.

  • @johnlehew8192
    @johnlehew8192 2 วันที่ผ่านมา

    Netflix’s architecture with 1000+ microservices reminds me of my son’s room with clothes on the floor and trash that missed the can. Craaap everywhere. A giant mess. I predict shardservices will become the next big thing. No really, need to move to macroservices. Micro is too small

  • @MacMiggity
    @MacMiggity ปีที่แล้ว +1

    Who is Tom? We talking about Tom from MySpace?

  • @osarogie
    @osarogie ปีที่แล้ว

    6:05 The Lord's answer to all of our problems 😂

  • @iulianbojinca7309
    @iulianbojinca7309 ปีที่แล้ว

    "Beyond stupid" - Linus Torvalds about AWS engineers...

  • @willhleucka821
    @willhleucka821 ปีที่แล้ว +1

    The runtime executes comments like normal code!

  • @doctorstal
    @doctorstal ปีที่แล้ว +1

    Amazon builds sites like that so customers think they are buying cheaper stuff from those sites. It IS their success strategy.

  • @Guergeiro
    @Guergeiro ปีที่แล้ว

    Title should've been: "How I solved Amazon Prime Video problems in 45s".

  • @Jabberwockybird
    @Jabberwockybird 6 หลายเดือนก่อน

    At the end there. That sounds like a national anthem from The Critc. Eee pii tii pii pee pee pou pii

  • @John-3692
    @John-3692 8 หลายเดือนก่อน

    I'm blown away by this content. I had the privilege of reading something similar, and it was truly incredible. "Mastering AWS: A Software Engineers Guide" by Nathan Vale

  • @Chris-jm2gx
    @Chris-jm2gx ปีที่แล้ว

    Hearing J.Diesel gives me Vietnam War flashbacks, and I'm not even involved.

  • @bobbybaker8868
    @bobbybaker8868 ปีที่แล้ว +1

    The big takeaway is this, great tools with poor design will result in bad products. Serverless isn't a magic bullet.
    I designed and implemented a serverless microservice that eliminated a 24-core EC2 instance. It saved us 96% of costs due to its extremely spiky workload.
    But I still run ECS instead of Lambda for my highest volume APIs because Lambda isn't the right tool for it. We did the math and it costs more on Lambda.
    We need to pick the right tool for the job. No blind loyalty.

  • @its_finn96
    @its_finn96 ปีที่แล้ว +8

    True that on Amazon’s websites being total ass

    • @sabrinapyles563
      @sabrinapyles563 ปีที่แล้ว +2

      since so many other companies pay to throw a front end on aws, and then even pay aws while offering a free tier to users of the service, amazon is almost...incentivied to have dogwater front ends?

  • @jonforhan9196
    @jonforhan9196 ปีที่แล้ว

    I’m going to re-write all of libavcodec in typescript, Tom’s a genius

  • @KadenCartwright
    @KadenCartwright ปีที่แล้ว +2

    Tom would’ve piped all the video streams into SVN instead of using S3

  • @ignaciosuarez9732
    @ignaciosuarez9732 ปีที่แล้ว

    the design of amazon is actually pretty genius in that it keeps their userbase happy and manages to completely disregard being obnoxious to the webdev and web design pros
    most other companies cannot keep the galaxy-brained opinions of industry insiders on user interfaces at bay, they all eventually surrender to their siren songs

  • @themikead99
    @themikead99 ปีที่แล้ว

    So the solution is... dont do what you're doing because it's bad.
    I feel like a lot of companies fall into that because you cant normally predict how your service will scale and it will end up needing to be scaled in different ways. Though with Amazon literally owning the architecture I expect slightly better. Slightly.

  • @DigitalNomadOnFIRE
    @DigitalNomadOnFIRE ปีที่แล้ว

    Cloud is insanely expensive, costs so much more than standard VM servers.
    You're just painting yourself into a proprietary corner for some sudden unpredictable scaling scenario that'll never happen.

  • @Novascrub
    @Novascrub ปีที่แล้ว +3

    I watched Conan the Barbarian earlier this month. The dialog is awful, the editing makes it impossible to follow, but it is really hard not to love that movie. Sweaty Arnold telling Krom he can go to hell 10/10

  • @thewhitefalcon8539
    @thewhitefalcon8539 ปีที่แล้ว +3

    I think AWS and serverless technologies are pretty cool even if Amazon wants you to build ridiculous expensive things

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x ปีที่แล้ว +1

    edge based computing is only good when you don't hit the database or was tailored to that edge otherwise you are making it worse because you might have moved your servers closer to the user but now you have traffic issue to the database.

    • @badpussycat
      @badpussycat ปีที่แล้ว

      in that case, you have a distributed database with a cluster close to the edge

  • @maximilian19931
    @maximilian19931 15 วันที่ผ่านมา

    on the edge compute, CDN will happily handle this workload, and you don't even need the scripting system to serve static Content or dynamic content with unknown refresh time!

  • @complexity5545
    @complexity5545 ปีที่แล้ว

    Serverless does not mean you have to go cloud. You can rent a $20/month VPS that already sits on a cloud. Its cheap as h311.
    The cloud was meant for companies that needed a short-term fix for fast NIC, CPU, GPU, or APU or you need encryption based VMs. The cloud was meant for companies that did not want to park pizza boxes at colocations. Sometimes you have to rent a fast network for burst traffic. Netflix is a great example: they change so much and add so much content, that they need short burst of traffic and scheduling changes like every week. They need cloud for the short term stuff. But the heavy lifting is done by beefy racks in colocations. I'm over simplifying, but everything else can run on a VPS. Most VPS are already on the cloud which gives them redundancy and the ability to take snapshots.
    You need VMs when you need full os encryption+isolation and to create and tear-down instances because you have a army of employees or users that need their own computer that moves to different locations. Like a hospital or government or military. It amazes me that we got here.
    What the cloud did do, was jack up prices and the fools followed (which is basically middle class). A down side to the cloud is that your company and efforts never build up equity like real-estate and hard wire; instead of going cloud you could build up your own network across the land.

  • @azotic1
    @azotic1 9 หลายเดือนก่อน

    Is it possible that AWS had a mole in Prime Video who was attempting to run up the AWS bill?

  • @micycle8778
    @micycle8778 ปีที่แล้ว

    12:00 reject nightcore-chan and embrace drum and bass waifu

  • @BlurryBit
    @BlurryBit ปีที่แล้ว +1

    2:46, ok I laughed so hard at this. :D
    Their UI SUCKS. Be it Amazon shopping, or AWS. Really lol.

  • @DigitalNomadOnFIRE
    @DigitalNomadOnFIRE ปีที่แล้ว

    Google is also incapable of making a nice looking website.

  • @To1ne
    @To1ne ปีที่แล้ว

    Pretty sure @Fireship planted that DHH just for The Prime to respond.

  • @wherebear
    @wherebear 28 วันที่ผ่านมา

    “How did you not just run basic numbers here?”
    Because AWS does their best to hide a lot of their costs. Their pricing calculator is a joke and AWS Sales reps don’t help you with any of that shit.

  • @kdaniels98
    @kdaniels98 ปีที่แล้ว

    I love the callback :)

  • @rafawillians7712
    @rafawillians7712 2 หลายเดือนก่อน

    11:32 Remember spaghetti code? I call this spaghetti architecture.

  • @excelfan85
    @excelfan85 ปีที่แล้ว

    After seeing the video about jdsl, i now understand why comments are disabled on some TH-cam videos. Here for the laughs leave with the learns