Download - Green Architectural Tactics for the Cloud @WICSA 2014

Transcript
Page 1: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

Giuseppe Procaccianti

Patricia Lago

Grace A. Lewis

Page 2: Green Architectural Tactics for the Cloud @WICSA 2014

A common statement

Green Architectural Tactics for the Cloud

“Cloud computing is

energy efficient...”

Page 3: Green Architectural Tactics for the Cloud @WICSA 2014

Cloud as a Nation

...but how much, exactly?

Green Architectural Tactics for the Cloud

Page 4: Green Architectural Tactics for the Cloud @WICSA 2014

Our approach

Energy Efficiency as a Software quality attribute

Green Architectural Tactics for the Cloud

● Software determines hardware behavior

● We can design scenarios about energy efficiency

Page 5: Green Architectural Tactics for the Cloud @WICSA 2014

Our approach /2

Cloud Service

We analyze Software Architectures to study their influence on Energy Efficiency.

Energy Efficiency in Cloud Software Architectures

Green Architectural Tactics for the Cloud

Page 6: Green Architectural Tactics for the Cloud @WICSA 2014

What is a Tactic?

“A design decision that influences the achievement of a

quality attribute response.” [1]

[1] L. Bass, P. Clements, and R. Kazman, Software architecture in practice, ed. Addison-Wesley, 2012.

Green Architectural Tactics for the Cloud

Page 7: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

● 3 categories:

1. Energy Monitoring

2. Self-Adaptation

3. Cloud Federation

● Elicited from a SLR on Cloud-based software architectures [2]

Green Architectural Tactics for the Cloud

[2] G. Procaccianti, P. Lago, S. Bevini. “Green Software Architectures in the Cloud”. Submitted to Sustainable Computing (SUSCOM), Special Issue on Software Engineering Aspects of Green Computing (SEAGC), 2014.

● Scenarios for Energy Efficiency [1]

Page 8: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

Green Architectural Tactics for the Cloud

Energy Monitoring

Metering

Modeling

Static Classification

Self-Adaptation

Scaling Down

Consolidation

Workload Scheduling

Cloud FederationEnergy Brokering

Service Adaptation

Page 9: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

2. Self Adaptation

● Stimulus: Excessive energy consumption alert

● Source of Stimulus: Energy Monitor

● Environment: Runtime

● Artifact: Hypervisor

● Response: The Hypervisor consolidates the VMs on the

less-active servers and then shuts down the idle servers.

● Response Measure: Energy consumption values

Green Architectural Tactics for the Cloud

Page 10: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

Green Architectural Tactics for the Cloud

Energy Monitoring

Metering

Modeling

Static Classification

Self-Adaptation

Scaling Down

Consolidation

Workload Scheduling

Cloud FederationEnergy Brokering

Service Adaptation

Page 11: Green Architectural Tactics for the Cloud @WICSA 2014

Green Architectural Tactics for the Cloud

Self Adaptation tactic: Consolidation

(Implementation example)

Green Architectural Tactics for the Cloud

Page 12: Green Architectural Tactics for the Cloud @WICSA 2014

Discussion

● ...pose assumptions and constraints on the software architecture

● ...introduce a trade-off between EE and other system qualities

● …exhibit dependencies between each other and, in general, they cannot be applied in isolation

The Green Architectural Tactics are nice, but….

Green Architectural Tactics for the Cloud

Page 13: Green Architectural Tactics for the Cloud @WICSA 2014

What’s next?

Inclusion of EE in a Software Quality

Model, for design-level decision-making

Evaluation of the environmental impact of Cloud-based software

Green Architectural Tactics for the Cloud

Page 14: Green Architectural Tactics for the Cloud @WICSA 2014

Thank you!

Green Architectural Tactics for the Cloud