sustainable architecture design

25
Sustainable Architecture Design Kevin Francis Object Consulting

Upload: kevin-francis

Post on 10-May-2015

2.268 views

Category:

Technology


0 download

DESCRIPTION

Presentation from JAOO 09 Australia on how to design software architectures to maxmise sustainable outcomes by limiting power and resource usage. Uses the Virtualisation Maturity Model (see Architecture Journal edition 18).

TRANSCRIPT

Page 1: Sustainable Architecture Design

Sustainable Architecture Design

Kevin Francis

Object Consulting

Page 2: Sustainable Architecture Design

What this is all about ...

Page 3: Sustainable Architecture Design

Agenda

The case for Sustainable Architecture Design Finding improvements through design Finding improvements through development Finding improvements through architecture The virtualisation maturity model Conclusion

Page 4: Sustainable Architecture Design

Where does the carbon come from?

Carbon Emissions

EnergyOther

Page 5: Sustainable Architecture Design

Who’s bad?

% of Carbon Emmissions

Growth0

1

2

3

4

5

6

Airline Industry

IT Industry

Airline IndustryIT Industry

Page 6: Sustainable Architecture Design

Life cycle emissions of a computer

Page 7: Sustainable Architecture Design

Facts

Power costs for each server are now greater than the cost of the server – Google.

Running a computer is worth 4x the CO2 emissions of building it, each year.

Building a computer is 10x less effective on CO2 emissions than white goods.

Page 8: Sustainable Architecture Design

The wake-up call

Page 9: Sustainable Architecture Design

So where are we now?

Architecture is directly related to power consumption

This stuff matters now and will matter more and more

Applications have never been designed efficiently until now

It isn’t that hard – we just haven’t thought about it before

Page 10: Sustainable Architecture Design

Design

Page 11: Sustainable Architecture Design

Finding improvements through design

Inefficient processes Wasted travel:

• Reduce deliveries and flights• Enable telecommuting• An exponential effect...

Wasted paperwork Unnecessary filing Build the total cost of operations into the business

case Design systems to remove inefficiencies

Page 12: Sustainable Architecture Design

Development

Page 13: Sustainable Architecture Design

Don’t stop sleep mode. Restore gracefully from sleep mode. Don’t hog the network, disk or processor – allow for

graceful power-down Even support wake-up on interrupt

Principle: Support power saving mode:

Support the OS and hardware

Page 14: Sustainable Architecture Design

Data matters too

Disks need power Online data needs disks

Principle: Store as little data as possible. Principle: Include data archiving in application

design.

Page 15: Sustainable Architecture Design

Code efficiency matters

CPU cycles = power Use multi-threading! Applications need to play together nicely The Windows 7 example!

Principle: Design, develop, and test to maximize the efficiency of code

Page 16: Sustainable Architecture Design

Architecture

The Virtualisation Maturity Model

Page 17: Sustainable Architecture Design

Let’s be friends

The power realities of CPU usage and hardware

Step 1: Consolidate applications by function Step 2: Consolidate applications by server Step 3: Consolidate shared services

Enterprise Architecture does save money! Component reuse does have a real purpose after

all.

Page 18: Sustainable Architecture Design

Level 1 - Principles

Principle: Develop a plan to rationalize your applications and platform portfolio first.

Principle: Consolidate applications together onto a minimum number of servers.

Page 19: Sustainable Architecture Design

The Case for Virtualisation

Virtualisation can save hardware on paper. In real life it is more complicated...

Perform consolidation first! Carefully design the virtual environment. Move consolidated machines to virtual servers. Group applications by:

• Usage• Availability by time• Availability by business need

Page 20: Sustainable Architecture Design

Level 2: Principles

Principle: Consolidate before virtualisation. Principle: Virtualise for efficiency, not for the sake of

it.

Page 21: Sustainable Architecture Design

The Brighter Shade of Green: The Cloud

Clouds come in many flavours:• Software as a Service (SaaS)• Software + Services (S+S)• Cloud Platforms

Clouds come in shades of green:• Virtualised platforms (Amazon)• Cloud Platforms (Azure and Google)

Page 22: Sustainable Architecture Design

Making sure your Cloud has a Green Lining

Things to look for:• Compute platforms are better than virtualised• Match need to platform: architecture• Select vendor by green credentials: data centre

location, power sources The rest of the model still applies to Cloud What isn’t Green:

• “Private Clouds”• Local Hosting

Page 23: Sustainable Architecture Design

Level 3: Principles

Principle: Use SaaS for commodity services Principle: Re-use S+S Services where possible Principle: Don’t virtualise new applications Principle: Pragmatically move applications to the

Cloud Principle: Choose cloud vendors by green

credentials

Page 24: Sustainable Architecture Design

The Virtualisation Maturity Model

Page 25: Sustainable Architecture Design

Q & (hopefully) A

Object Consulting operates a Sustainability Practices with solutions including Sustainable Architecture Design

www.objectconsulting.com.au

Kevin Francis

[email protected]

http://msmvps.org/blogs/architecture