Chapter 6: Platform as a Service Flashcards

1
Q

What are the three PaaS Value Propositions?

A
  1. Maintenance
    - Hardware maintenance
    - OS patches
    - Middleware updates
  2. Availability
    - Application/service will be available despite maintenance/outages
  3. Scalability
    - Application/service will scale to thousands of concurrent users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the COST of Scalability?

A

COST: Configuration that Outperforms a Single Thread
-> When to use scalable systems is an important decision
(Flink quickly outperforms the local implementations)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PaaS vs. IaaS

A

● PaaS offers higher abstraction level compared to IaaS
■ Less development/maintenance effort
■ Less flexibility, high provider dependence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PaaS Abstraction Levels.

A

■ Execution environments (like on Heroku)
■ Databases
■ Distributed processing
■ Domain-specific workbenches (like SageMaker)
■ Complete services (like Rekognition)*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain Serverless Computing.

A

Serverless computing is a cloud execution model. The provider runs the server-side and dynamically manages
the resources. Enabled by high-level PaaS offerings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain BaaS.

A

■ Backend as a Service
♦ Use cloud database, authentication, etc. as backend to a rich client app
♦ Often used for mobile apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain FaaS.

A

■ Function as a Service
● Motivation: Run backend code without managing server resources and/or long-running applications
● Architecture: Stateless, ephemeral, event-triggered
● Automatic horizontal scaling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When does Serverless Computing makes sense?

A

■ Platform services that don’t live long

■ Platform services where you don’t think about scaling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name an implication of Serverless Architecture.

A

Less Ops to worry about at the expense of flexibility.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the pros and cons of Serverless Architecture?

A

● Good:
■ Less application code, reduced development effort
■ Possibly less costs
■ Cloud operator probably better at implementing default
tasks than application developer
● Bad:
■ Monitoring becomes more complex
■ Security needs to be handled at all the services
■ Additional complexity through managing the different cloud services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Summary PaaS/FaaS.

A

● Managed platforms allow developers to focus more on their applications and less on operations
■ PaaS: in addition to the infrastructure, the entire runtime is managed as well, yet users typically still allocate and scale resources
■ FaaS: users only write and upload their functions, provider manages allocation and scaling of resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly