How Much Architecture?

17
How much architecture? Reducing the up-front effort Michael Waterman, James Noble, George Allan Victoria University of Wellington Agile India 19 February 2012

Transcript of How Much Architecture?

Page 1: How Much Architecture?

How much architecture? Reducing the up-front effort

Michael Waterman, James Noble, George Allan

Victoria University of Wellington Agile India

19 February 2012

Page 2: How Much Architecture?

“Architecture represents the

significant design decisions that

shape a system, where significant is

measured by the cost of change”

[Booch 2006]

Page 3: How Much Architecture?

“Refactoring is wonderful,

except when your refactoring

tool is RM.” (P9)

Page 4: How Much Architecture?

“Design up-front: only as

little as you can get

away with” (P3)

Page 5: How Much Architecture?

“How much architecture?”

• Requires qualitative research

• Inductive

• Grounded theory

Page 6: How Much Architecture?

Work done

• Eleven interviews (and

documentation)

• New Zealand

and UK

• Variety of roles and

project types

Page 7: How Much Architecture?

“Simplifying architecture design”

Simplifying architecture design

Having architectural experience simplifies

decision making

Using predefined architecture

Intuitive architecture

Being familiar with architecture

Page 8: How Much Architecture?

Using predefined architecture

“…so that [CQRS] paper plus the

Windows architecture guidelines

plus the off-the-shelf componentry

that comes from Microsoft, it

means we don’t write much!

Which is good! (P2)

Page 9: How Much Architecture?

Using predefined architecture

“What used to be architectural

decisions ten years ago can now

almost be considered design

decisions because the tools allow

you to change these things more

easily” (P4)

Page 10: How Much Architecture?

Having architectural experience simplifies

decision making

“If you have a team of really, really

experienced professionals then you

can get away with a lot less [design

up-front] because a lot of it is going

to be implicit anyway.” (P3)

Page 11: How Much Architecture?

Having architectural experience simplifies

decision making

“Very often, if you’re experienced

[…] you could write down three

options and you’d know if you do it

this way you’ll have these problems;

you can make a value judgement

more efficiently.” (P6)

Page 12: How Much Architecture?

Intuitive architecture

“It was just something that

I had to do!” (P1)

Page 13: How Much Architecture?

Intuitive architecture

“…so because I know it needs to

scale to 2000 users […] means that

it’s got to be three tier, and means

that instead of just writing it to a flat

file I will have a database…” (P4)

Page 14: How Much Architecture?

Being familiar with architecture

“Part of my current productivity

might be because I am working in a

system that is in an architecture that

I’m very, very familiar with.” (P6)

Page 15: How Much Architecture?

Being familiar with architecture

“[We] went out to find people who’d

done similar systems […] so we were able

to go them and [ask], what’s your archi-

tecture, can we have a look at it, why

have you made these decisions?” (P8)

Page 16: How Much Architecture?

Reducing up-front effort • Templates, pre-defined

architectures lead to reduced up-front effort without sacrificing the benefits of a full up-front design

• Experience, intuition, and familiarity lead to tacit knowledge, implicit design, judgement calls, focused effort

Page 17: How Much Architecture?

Michael Waterman Victoria University of Wellington, New Zealand

[email protected]

http://ecs.victoria.ac.nz/Main/GradMichaelWaterman

http://nz.linkedin.com/in/michaelwaterman