Linux serverlinux web serverNETWORK ADMINISTRATIONS

Serverless was a big mistake… says Amazon

Amazon Prime Video released an article explaining how they saved 90% on cloud computing costs by switching from microservices to a monolith. Let’s examine the details of their software architecture and find out why serverless was a bad choice.

#programming #aws #thecodereport

💬 Chat with Me on Discord

https://discord.gg/fireship

🔗 Resources

Prime Video Serverless Article https://www.primevideotech.com/video-streaming/scaling-up-the-prime-video-audio-video-monitoring-service-and-reducing-costs-by-90
Majestic Monolith https://m.signalvnoise.com/the-majestic-monolith
AWS for the Haters https://youtu.be/ZzI9JE0i6Lc

🔥 Get More Content – Upgrade to PRO

Upgrade at https://fireship.io/pro
Use code YT25 for 25% off PRO access

🎨 My Editor Settings

– Atom One Dark
– vscode-icons
– Fira Code Font

🔖 Topics Covered

– Monolith vs Microservice
– Pros and Cons of serverless
– Serverless pitfalls
– AWS lambda vs EC2
– What is a microservice
– How to save money on AWS
– Startups that have left the cloud

source by Fireship

linux web server

20 thoughts on “Serverless was a big mistake… says Amazon

  • This video provides a compelling overview. For an in-depth exploration, turn to this book. "AWS Unleashed: Mastering Amazon Web Services for Software Engineers" by Harrison Quill

  • Intrigued by this? The book offers a richer narrative on the topic. "AWS Unleashed: Mastering Amazon Web Services for Software Engineers" by Harrison Quill

  • Serverless doesn’t need scaling at all. Otherwise it’s not serverless

  • Laughed so hard with the Peoples Temples reference

  • That's not what they said though. They evaluated the trade offs and found that they favor lower cost

  • Thinking of your infrastructure in terms of micro-services makes it easier to de-couple and manage the software. But like you said, there are trade-offs and it's a bit of a juggling act at times.

  • It always cost less to have your own infra than relying on someone else. Bcz the job you are gonna do, they will do and you think they will save you money? Stupid af

  • "You'll own nothing and you'll be happy" – wef, watch out for these psychos!

  • 🎯 Key Takeaways for quick navigation:

    00:00 🤔 Serverless doesn't mean "no server"; it means using someone else's server.
    00:27 💰 Amazon Prime Video saved 90% on AWS costs by switching from serverless microservices to a monolith architecture.
    01:25 🔄 Microservices involve communication overhead, serialization, and network usage, which can lead to cost inefficiencies.
    02:07 🔌 Monolith architectures, while less scalable horizontally, can reduce unnecessary communication and network usage, cutting costs.
    03:19 ⚖️ The choice between microservices and monoliths involves trade-offs and depends on factors like scale, complexity, and cost considerations.

    Made with HARPA AI

  • AWS doesn't have licenses business for any product. Microsoft does. Watch when cloud explodes who will survive with revenue

  • They created a new microservice called ISYQR223 to demonstrate it

  • serverless approach is good even if you just program your app as monolith. The problem is sick idea of creating microservices.

  • love the Simon Cowell ref.

  • Even Amazon engineers don't understand the convoluted pricing model of AWS.

    Costs problems of the first implementation:
    1) AWS Step Functions charges users per state transition.

    2) The high number of Tier-1 calls to the S3 bucket was expensive.

  • Some serverless architecutres should be better / cheaper for this. Like the Cloudflare serverless functions.

  • i made an infinite loop once too, it cost us 100$ in a few minutes. could have been much worse. on the bright side, i've heard if you have an accident like that, amazon will cancel the charges if you ask.
    ive found lambda to be nice for cron jobs. its easy to set up and its cheap since each only runs for a few minutes per day.

  • its always going to be:

    1) its always going to be centralize
    2) de-centralize
    3) go to step 1

    forever.

  • I told this to my company folks 3 years back and no one understood my point back then 🤦🏻

Comments are closed.