610 likes | 3.16k Vues
Discover the secrets behind the architectural traits that enable a successful Continuous Delivery capability. We will explore some architectural choices architects and lead developers must make and the outcome of those decisions. We will use some real world examples of architectures created specifically to make Continuous Delivery a reality.
E N D
ARCHITECTING FOR CONTINUOUS DELIVERY Patrick Kua (@patkua) 1
About Me @patkua
wrote About Me @patkua http://tiny.cc/retros http://tiny.cc/twtl
works for About Me @patkua
People who work with About Me
People who work with wrote the book on About Me
OUR AGENDA What is CD (briefly) Architectural Principles Case Study Challenges 7
WHAT IS CONTINUOUS DELIVERY? “Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.” 13
WHAT IS CONTINUOUS DELIVERY? The capability to reliably release software to production on demand (with confidence) 14
WHAT IS CONTINUOUS DELIVERY? Continuous Integration Continuous Deployment Continuous Delivery Releasable Artefact Automatic releases Releases on demand 15
BUT HOW? 16
PRINCIPLES 17
The one law to rule them all… PRINCIPLES 18
CONWAY’S LAW The one law to rule them all… 19
CONWAY’S LAW “organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations" The one law to rule them all… 20
“If you have 4 groups working on a compiler, you’ll get a 4-pass compiler” Eric Raymond - Hacker’s Bible, 1996 21
CONWAY’S LAW REAL LIFE EXAMPLES 23
Development Production 24
A divide in: Development Production Tooling Culture Incentives 25
“You build it, you run it” - Werner Voegls (Amazon) 26
The one law to rule them all… -ilities that matter PRINCIPLES 27
*ilities that matter Automatability Testability Deployability Monitorability Configurability Evolvability
AUTOMATE ALL THE THINGS 30
“Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering.” - Yoda 32
Evolutionary Architecture Jan 2010 Assess Aug 2010 Trial Jan 2011 Trial Technology Radar Jul 2011 Adopt Mar 2012 Adopt 37
The one law to rule them all… -ilities that matter Iterate PRINCIPLES 38
Reality 40
16+ programme streams
1 or 2 builds per year Porting code Manual Testing Production Support Detailed Planning 2008 50