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.

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

  • @onee1594
    @onee1594 Рік тому +83

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

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

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

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

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

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

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

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

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

  • @chrisE815
    @chrisE815 Рік тому +11

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

  • @IvanRandomDude
    @IvanRandomDude Рік тому +92

    Tom can fix serverless

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

  • @dipereira0123
    @dipereira0123 9 місяців тому +2

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

  • @leaxical
    @leaxical Рік тому +19

    The world is not ready for serverless JDSL.

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

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

  • @dmitriylevy7865
    @dmitriylevy7865 Рік тому +12

    3:35 that laughter is legendary

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

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

  • @Nathan00at78Uuiu
    @Nathan00at78Uuiu Рік тому +7

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

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

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

  • @thegrumpydeveloper
    @thegrumpydeveloper Рік тому +7

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

  • @sunilmadan2006
    @sunilmadan2006 Рік тому +5

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

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

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

  • @jogurtnaturalny
    @jogurtnaturalny Рік тому +10

    Tom is a Genius

  • @filiformis
    @filiformis Рік тому +5

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

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

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

  • @leetaeryeo5269
    @leetaeryeo5269 Рік тому +2

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

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

  • @Nick_fb
    @Nick_fb Рік тому +4

    Serverless is a gamble, but Anakin memes are forever

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

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

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

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

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

  • @cookiesInChocolate
    @cookiesInChocolate Рік тому +2

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

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

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

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

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

  • @Tomplaysguitar182
    @Tomplaysguitar182 Рік тому +1

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

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

  • @LegitBanananas
    @LegitBanananas Рік тому +1

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

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

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

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

  • @doctorstal
    @doctorstal Рік тому +1

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

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

  • @johnlehew8192
    @johnlehew8192 3 дні тому

    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

  • @RaevGames
    @RaevGames Рік тому +2

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

  • @multivariateperspective5137
    @multivariateperspective5137 2 місяці тому

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

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

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

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

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

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

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

  • @Yupppi
    @Yupppi 11 місяців тому

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

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

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

  • @willhleucka821
    @willhleucka821 Рік тому +1

    The runtime executes comments like normal code!

  • @diegolikescode
    @diegolikescode Рік тому +2

    Broh, they didn't use AWS Calculator

  • @JeremyChone
    @JeremyChone Рік тому +1

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

  • @osarogie
    @osarogie Рік тому

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

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

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

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

  • @Guergeiro
    @Guergeiro Рік тому

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

  • @MacMiggity
    @MacMiggity Рік тому +1

    Who is Tom? We talking about Tom from MySpace?

  • @iulianbojinca7309
    @iulianbojinca7309 Рік тому

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

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

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

  • @Chris-jm2gx
    @Chris-jm2gx Рік тому

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

  • @KadenCartwright
    @KadenCartwright Рік тому +2

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

  • @Jabberwockybird
    @Jabberwockybird 6 місяців тому

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

  • @jonforhan9196
    @jonforhan9196 Рік тому

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

  • @azotic1
    @azotic1 9 місяців тому

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

  • @thewhitefalcon8539
    @thewhitefalcon8539 Рік тому +3

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

  • @maximilian19931
    @maximilian19931 16 днів тому

    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!

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

  • @CaimAstraea
    @CaimAstraea Рік тому

    I think they were expecting not to pay for S3 :D Since they are sister companies or something but then S3 was like naaah pay up fam.

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

  • @ivanmaglica264
    @ivanmaglica264 8 місяців тому

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

  • @idiomaxiom
    @idiomaxiom Рік тому

    I once had a Boss ask me to move all our infrastructure to the cloud. 2012 ish? We had a 7mb/s internet link. Not to bad. But we were a video production shop with half a dozen editors. But why can't we store all our data on Amazon storage? MOTHER F##KER LISTEN

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

  • @wherebear
    @wherebear 29 днів тому

    “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.

  • @micycle8778
    @micycle8778 Рік тому

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

  • @To1ne
    @To1ne Рік тому

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

  • @haloboy777
    @haloboy777 Рік тому

    I agree Tom. Is. A. Genius. 👏👏👏👏

  • @whig01
    @whig01 Рік тому

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

  • @jandorniak6473
    @jandorniak6473 Рік тому

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