Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

One key aspect of Cloud Computing is economics. That is , the question of whether Cloud Computing is a costeffective endeavor. FaaS is ideal for

One key aspect of Cloud Computing is economics. That is, the question of whether Cloud Computing is a costeffective endeavor. FaaS is ideal for short and asynchronous computations, such as the creation of a thumbnail for each
image file that is uploaded to an object store (e.g., Amazon S3), but not for all applications.
Depending on the application, it would pay off to use a classical virtual machine (VM). To better understand this, it is
enlightening to perform a simple break-even analysis of the cost between a FaaS offering (e.g., AWS Lambda) against a VM
(e.g., an EC2 instance):
As a use case, pretend to be a payment microservice where each payment request takes around 250ms of CPU time and
consumes 64MB of RAM on average. Now assume the following hardware specs:
Function VM nano instance
$0.20 per 1 million invocations
$0.0000166667 for every GB-second
1 vCPU and 0.5GB RAM
$0.0058 per hour
Now compute how many requests per day would be necessary to break even. Under low traffic conditions, which technology is
the cheapest? Why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions