Serverless Was A Mistake | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ค. 2023
  • Recorded live on twitch, GET IN
    / theprimeagen
    Original • Serverless was a big m...
    YOU KNOW WHO THIS MAN IS!! / @fireship
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    "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 ปีที่แล้ว +69

      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 ปีที่แล้ว +6

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

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

      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.

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

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

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

      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 ปีที่แล้ว +20

      @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

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

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

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

      They did, they are working on QoS monitoring.

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

      @@mennovanlavieren3885 lol nice

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

      Word!

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

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

    • @kuhluhOG
      @kuhluhOG 10 หลายเดือนก่อน +13

      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

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

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

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

      Im one and youre right

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

      Data engineer would be the correct role here

  • @dadbod591
    @dadbod591 ปีที่แล้ว +113

    "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 ปีที่แล้ว +12

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

    • @dadbod591
      @dadbod591 ปีที่แล้ว +25

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

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

      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 11 หลายเดือนก่อน +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 10 หลายเดือนก่อน +2

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

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

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

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

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

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

      Already do 🤣

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

      @@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

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

    Tom is a genius

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

      "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_ ปีที่แล้ว +1

      @@fallenIights Tom is a genius!

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

      @@TechBuddy_ tom is a gay

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

    Tom can fix serverless

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

      Tom will JDSL the shit out of it.

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

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

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

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

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

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

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

      ​@@ThePrimeTimeagen watching you without facecam would be funny

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

      Lmao at DHH bit

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

    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 ปีที่แล้ว +3

      In practice AWS will likely forgive that

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

      @@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

  • @rubyh4184
    @rubyh4184 6 หลายเดือนก่อน +4

    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.

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

    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 ปีที่แล้ว +7

      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 ปีที่แล้ว +6

      @@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 ปีที่แล้ว +13

    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

  • @user-jj2tr4pi3z
    @user-jj2tr4pi3z ปีที่แล้ว +18

    The world is not ready for serverless JDSL.

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

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

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

    3:35 that laughter is legendary

  • @gliderspace
    @gliderspace 7 หลายเดือนก่อน +2

    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!

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

    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 7 หลายเดือนก่อน

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

  • @thebodachshow
    @thebodachshow 5 หลายเดือนก่อน +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

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

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

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

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

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

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

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

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

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

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

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

    Tom is a Genius

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

    Serverless is a gamble, but Anakin memes are forever

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

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

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

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

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

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

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

    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 :)

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

    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.

  • @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.

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

    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 9 หลายเดือนก่อน

      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.

  • @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

  • @leakyabstraction
    @leakyabstraction 8 หลายเดือนก่อน +1

    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 7 หลายเดือนก่อน

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

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

    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.

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

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

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

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

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

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

  • @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

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

    Hey prime! im curios, you use vim as editor, do you ever use a debugger? what debugger?

  • @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

  • @MrTiteuf12
    @MrTiteuf12 3 หลายเดือนก่อน

    Wasn't expecting that Thomas Sowell quote, pure gold

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

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

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

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

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

    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.

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

    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 ปีที่แล้ว

      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.

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

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

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

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

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

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

  • @Jabberwockybird
    @Jabberwockybird 7 วันที่ผ่านมา

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

  • @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.

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

    Wait, wasn't edge computing the new on-prem? In a hybrid model?

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

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

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

    The runtime executes comments like normal code!

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

    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

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

    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 8 หลายเดือนก่อน +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.

  • @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.

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

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

  • @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...

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

    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.

  • @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.

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

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

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

    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 8 หลายเดือนก่อน

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

  • @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?

  • @MacMiggity
    @MacMiggity 10 หลายเดือนก่อน +1

    Who is Tom? We talking about Tom from MySpace?

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

    Broh, they didn't use AWS Calculator

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

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

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

    Chat sharing a single braincell
    AYAYAYA

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

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

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

    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.

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

    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*

  • @vitormelo22
    @vitormelo22 11 หลายเดือนก่อน +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.

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

      still from the 90s afaict

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

    Stream and S3 - how does that go together? Using S3 for realtime applications seams to me like taking aeroplane to go to shopping mall.

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

    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

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

    I love the callback :)

  • @pauldraper1736
    @pauldraper1736 26 วันที่ผ่านมา

    2024 is the year of serverlessless

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

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

  • @dingo35
    @dingo35 4 หลายเดือนก่อน

    This guy just “does not know”

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

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

  • @EricLS
    @EricLS 24 วันที่ผ่านมา

    So, when I watched that video, it did not dawn on me that they were fully rendering out long GOP compression into *individual frames* and then moving those frames to other storage. That is.....well, I get that the machine learning needed rendered frames but uh...you're gonna want to buffer that inside the same storage lmao.
    By the way, him giggling about that is instant proof that he KNOWS his shit, the instant comprehension of the difference between intraframe compressed streams and raster images is not something I almost ever expect to be able to have a conversation with anyone about.

  • @ersetzbar.
    @ersetzbar. 4 หลายเดือนก่อน

    what are you doing step-function?

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

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

  • @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.

  • @ignaciosuarez9732
    @ignaciosuarez9732 8 หลายเดือนก่อน

    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

  • @TheDorac1
    @TheDorac1 14 วันที่ผ่านมา

    I come back here to watch 3:40 when i'm having a bad day

  • @DigitalNomadOnFIRE
    @DigitalNomadOnFIRE 8 หลายเดือนก่อน

    Google is also incapable of making a nice looking website.

  • @HRZN-xj9um
    @HRZN-xj9um 11 หลายเดือนก่อน

    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.

  • @SpiraSpiraSpira
    @SpiraSpiraSpira 8 หลายเดือนก่อน

    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 8 หลายเดือนก่อน +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.

  • @DigitalNomadOnFIRE
    @DigitalNomadOnFIRE 8 หลายเดือนก่อน

    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.

  • @user-yo2wt7xw8e
    @user-yo2wt7xw8e 8 หลายเดือนก่อน

    3:41 i need a time selection for this!

  • @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.

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

    Wait, what was the name again?

  • @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 7 หลายเดือนก่อน

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

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

    You're the master of edging...

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

    TomGPT would have suggested a monolith right away

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

    I feel like microservices could just be served from Git with TOML configurations to execute on each request.

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

    curious to know what a "v math" score is, or whatever it was that @theprimetimeagen was referring to at the end there