Serverless was a big mistake... says Amazon | Summary and Q&A

1.4M views
β€’
May 6, 2023
by
Fireship
YouTube video player
Serverless was a big mistake... says Amazon

TL;DR

Amazon Prime Video saved 90% on their AWS bill by switching from serverless microservices to a monolithic architecture. However, the decision to go serverless or monolithic depends on the specific needs and scale of the product.

Install to Summarize YouTube Videos and Get Transcripts

Key Insights

  • 🫀 Going serverless doesn't mean eliminating the use of servers; it refers to using managed server resources provided by cloud providers.
  • πŸ•β€πŸ¦Ί Serverless architectures like AWS Lambda have become popular, with startups and platforms reselling AWS services.
  • πŸ˜Άβ€πŸŒ«οΈ Some successful startups, like Dropbox, have moved away from the cloud once they reached a certain size.
  • πŸ˜Άβ€πŸŒ«οΈ Basecamp's creator advocates for monolithic architectures, and his company switched off the cloud after high costs.
  • πŸ˜€ Amazon Prime Video leveraged microservices (Step Functions) but faced communication overhead and cost issues, prompting a switch to a monolithic architecture.
  • πŸ‡¨πŸ‡· Monolithic architectures simplify communication and reduce costs by eliminating unnecessary network usage.
  • ⬛ Monolithic architectures lack the fault tolerance and scalability of microservices, making them less suitable for large-scale applications like Netflix.

Transcript

it is May 6 2023 and you're watching the code report serverless is the biggest lie in the history of computers why you always lying when you go serverless you're still using a server it's just not yours you'll compute nothing and be happy Amazon Prime video just dropped a shocking article explaining how they saved 90 on their Amazon web services bi... Read More

Questions & Answers

Q: Can you explain the difference between serverless and monolithic architecture?

Serverless architecture involves using server resources managed by cloud providers. In contrast, monolithic architecture runs on a single server, combining all components within a single container.

Q: Why did Amazon Prime Video switch from serverless to monolithic architecture?

Amazon Prime Video faced bottlenecks and increased costs when orchestrating their serverless functions. By re-architecting to a monolith, they reduced communication overhead and saved millions of dollars.

Q: Are there any drawbacks to using a monolithic architecture?

Monolithic architectures lack the fault tolerance and scalability of microservices. Scaling in a monolithic architecture requires increasing server size, while microservices can scale horizontally by adding more instances of individual components.

Q: When should one choose serverless over monolithic architecture?

The choice depends on specific needs and scale. Microservices offer more scalability and fault tolerance, making them suitable for large-scale applications. Serverless may be more cost-effective for small businesses with simpler infrastructure requirements.

Q: Can you explain the difference between serverless and monolithic architecture?

Serverless architecture involves using server resources managed by cloud providers. In contrast, monolithic architecture runs on a single server, combining all components within a single container.

More Insights

  • Going serverless doesn't mean eliminating the use of servers; it refers to using managed server resources provided by cloud providers.

  • Serverless architectures like AWS Lambda have become popular, with startups and platforms reselling AWS services.

  • Some successful startups, like Dropbox, have moved away from the cloud once they reached a certain size.

  • Basecamp's creator advocates for monolithic architectures, and his company switched off the cloud after high costs.

  • Amazon Prime Video leveraged microservices (Step Functions) but faced communication overhead and cost issues, prompting a switch to a monolithic architecture.

  • Monolithic architectures simplify communication and reduce costs by eliminating unnecessary network usage.

  • Monolithic architectures lack the fault tolerance and scalability of microservices, making them less suitable for large-scale applications like Netflix.

  • The choice between serverless and monolithic architectures depends on trade-offs and specific needs, with no one-size-fits-all solution.

Summary & Key Takeaways

  • Amazon Prime Video switched from serverless microservices to a monolithic architecture, resulting in a 90% cost reduction.

  • Serverless architecture offers efficient infrastructure scaling but can lead to communication overhead and higher costs for certain use cases.

  • Monolithic architecture simplifies communication and reduces costs but doesn't offer the same fault tolerance and independence as microservices.

Share This Summary πŸ“š

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Explore More Summaries from Fireship πŸ“š

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on: