How build-and-deploy-affects-architecture
-
Upload
iasa-uk -
Category
Technology
-
view
67 -
download
0
description
Transcript of How build-and-deploy-affects-architecture
How build and deployment should shape software
architectures
Matthew Skelton CEng | thetrainline.comIASA UK Ignite 2, London | #iasaignite
10 September 2012
Systems engineering(robotics, control theory, sensors, neuroscience)
Software development
(finance, insurance, travel, pharma, media, medical imaging)
now
Build & Deployment at thetrainline.com
@matthewpskelton
architecture = f (build & deploy)
(for some systems)
“HERESY!”
RELIABLEREPEATABLE
RAPIDRECURRING
Web-based
Frequently- changing
Public-facing
High-volume
‘R-R-R-R’ BUILD AND DEPLOYMENT
Helps to avoid the Ball of Mud
Ball of Mud
Brian Foote: http://www.laputan.org/mud/
BUILDABLE
Small pipelined builds on generic build machines Seconds, not minutes or hours
Short feedback cycles(Dan Worthington-Bodart, @danielbodart - http://bit.ly/M85wsX)
“CRAZY FAST BUILDS”
TESTABLETest (separation, harnesses, points)
IDENTIFIABLEMeaningful versions, packages, defined dependencies, artefact
management
(think component boundaries)
DEPLOYABLERapid, scriptable, simple failure modes
MONITORABLELogging, metrics, transaction tracing
CONFIGURABLEInject settings – no ‘black boxes’
LIGHTWEIGHTKeep things small and easily comprehendible
INSTANTIABLENo snowflakes or singletons
RECOVERABLENo nasty zombies after failures
MTTR more important than MTBF** for most kinds of F
Be brutal with things which prevent ‘R-R-R-R’ build and deployment;knock them out of your architectures
RELIABLEREPEATABLE
RAPIDRECURRING
Lightweight, Testable, Monitorable, Configurable,
Recoverable, Identifiablecomponent architecture
LOAD BALANCINGHIGH AVAILABILITY
SCALINGELASTIC ARCHITECTURES
RAPID RECOVERY
architecture = f (build & deploy)
(for some systems)
thank you
IASA: www.iasaglobal.orgmatthewskelton.net | @matthewpskelton
Thanks to: Attila S, Jack R and Owain P for feedback.
Picture credits: Petra: Wikimedia/Berthold Werner; army engineers: US DoD; ball of mud: pwern.blogspot.co.uk; sports car: xarj.net; zombie: bjj.org; feather:
Wikipedia; punch: thelegalblitz.com; passport: coverpalace.com; dogs: reluctantmemsahib.wordpress.com; Meccano: dalefield.com