Slide 1

Slide 1 text

Architecture, Organization, Processes 
 – and Humans Stefan Tilkov, [email protected] @stilkov Software Architecture Summit Munich, 12 March 2018

Slide 2

Slide 2 text

Observations Antipatterns Patterns Recommendations

Slide 3

Slide 3 text

Conway’s Law: Organization → Architecture “Organizations which design systems are constrained to produce systems which are copies of the communication structures of these organizations.”
 – M.E. Conway

Slide 4

Slide 4 text

Conway’s Law Illustrated

Slide 5

Slide 5 text

Conway Reversal 1: Organization ← Architecture Any particular architecture approach constraints organizational options – i.e. makes some organizational models simple and others hard to implement.

Slide 6

Slide 6 text

Choosing a particular architecture can be a means of optimizing for a desired organizational structure. Conway Reversal 2: Organization ← Architecture

Slide 7

Slide 7 text

The “Tilkov wants a law, too” slide The quality of a system’s architecture
 is inversely proportional to the number of bottlenecks limiting its evolution, development, and operations

Slide 8

Slide 8 text

The “Tilkov wants a law, too” slide* In a digital company, architecture, organization & processes can only evolve together *Attempt #2 in case the 1st one doesn’t catch on

Slide 9

Slide 9 text

Antipatterns

Slide 10

Slide 10 text

Antipattern: Conference-driven Architecture

Slide 11

Slide 11 text

Antipattern: Conference-driven Architecture Description Reasons Consequences Hypes are accepted as gospel, and applied to problems regardless of whether they match requirements or not • Hot and shiny toys! • Community respect • Search for guidance • Occasional successes • Motivated developers • Half-time of solutions matches conference cycle time • Acceptance of architecture directly related to # of conference visits

Slide 12

Slide 12 text

Antipattern: Decoupling Illusion Stakeholder Stakeholder Stakeholder Platform Person

Slide 13

Slide 13 text

Antipattern: Decoupling Illusion Description Reasons Consequences Technical separation into subsystems/services does not match business domain separation • Technical drivers prioritized over business drivers • Lack of awareness for stakeholder needs • Reuse driver furthers single platform approach • Microservices hype • Technical complexity • Conflicting stakeholder needs require coordination • Organizational bottlenecks due to centralized components with highly concurrent requests

Slide 14

Slide 14 text

Antipattern: Domain-last Approach Biz Unit 1 Ops Stakeholder Stakeholder Stakeholder Biz Unit 2 Biz Unit 3 DB Tech 1 Tech 2 Dev

Slide 15

Slide 15 text

Antipattern: Domain-last Approach Description Reasons Consequences Major driver for organizational structure is roles and technical capabilities, not business domain • Matches classical company structure • Division of labor in divisions, department, teams • Projects as exceptions to change something that works • Inter-departmental politics over business needs • Conflicting project and disciplinary hierarchies and stakeholders • Blameshifting

Slide 16

Slide 16 text

Antipattern: Solution Centrism Stakeholder Stakeholder Stakeholder Solution

Slide 17

Slide 17 text

Antipattern: Solution Centrism Description Reasons Consequences Implementation solution as unifying factor • Vendor influence • Experience drives selection of technology • Sunk cost fallacy • Inefficiency due to hammer/nail problem • Bottleneck by definition • Technology, not domain as unifying factor • Developer frustration • Skills shortage in market • Hard to motivate people to train in proprietary tech

Slide 18

Slide 18 text

Antipattern: Uncreative Chaos

Slide 19

Slide 19 text

Antipattern: Uncreative Chaos Description Reasons Consequences Lack of architectural structure & repeatable process for architectural decisions • No (effective) centralized governance • Non-technical senior management • Focus on unnecessary standardization • Strong business leaders, weak tech leaders • Redundancy in all aspects • Frequent technology discussions between teams • High integration costs and technical debt • Slow delivery capability due to complexity • Complex and expensive

Slide 20

Slide 20 text

Antipattern: Authoritarian Regime

Slide 21

Slide 21 text

Antipattern: Authoritarian Regime Description Reasons Consequences Centralized decision making, strong standardization, homogeneous environment • Unpopular decisions (cost savings, product standardization, …) • (Perceived or real) lack of skills in “lower levels” • Possibly due to company culture • Frustration and developer exodus • Lack of innovation & speed because of bottlenecks • Technology paralysis

Slide 22

Slide 22 text

Patterns

Slide 23

Slide 23 text

Pattern: Autonomous Cells Stakeholder Stakeholder Stakeholder Biz Dev Ops Biz Dev Ops Biz Dev Ops

Slide 24

Slide 24 text

Pattern: Autonomous Cells Stakeholder Stakeholder Stakeholder Biz Dev Ops Biz Dev Ops Biz Dev Ops

Slide 25

Slide 25 text

Pattern: Autonomous Cells Description Approach Consequences Decentralized, domain- focused cells with maximum authority over all aspects of a set of capabilities • Decisions are made locally on all aspects of a solution • Success is measured via customer-oriented KPIs • Cross-functional team with biz, dev, ops skills • Customer/end user focus • Decentralized delivery capability • Speed as #1 priority • “Full-stack” requirement for developers and other roles • Redundancy instead of centralization

Slide 26

Slide 26 text

Pattern: Developer Self-Service

Slide 27

Slide 27 text

Pattern: Developer Self-service Description Approach Consequences Project developers can access allocate resources without asking for permission • API-based access to resources (computation, storage, network, services) • Fine-grained security controls • Rate-limiting • Public, private or hybrid cloud-based • Shorter delivery/ deployment cycles • Support for experimentation • Easier test setup

Slide 28

Slide 28 text

Pattern: Evolutionary Architecture

Slide 29

Slide 29 text

Pattern: Evolutionary Architecture Description Approach Consequences Architecture is constructed so it can evolve as much as possible over the course of (ideally indefinite) time • Separation of large domain into “islands of change” • Design for replacement, not for re-use • Minimization of shared dependencies • Cell metaphor: Renewal over time • Experimentation with different micro architecture approaches possible

Slide 30

Slide 30 text

Pattern: Regulated Market

Slide 31

Slide 31 text

Pattern: Regulated Market Description Approach Consequences Let “the free market of ideas” decide what works best, but provide a framework of rules for interoperability • Separate micro & macro architecture • Strictly enforced rules for macro architecture • Loose, minimal governance for micro architecture • Motivated developers • Experimentation with different micro architecture approaches possible • Best-of-breed approach • Local optima

Slide 32

Slide 32 text

Order Management Production Planning Billing Production Fulfillment Domain architecture

Slide 33

Slide 33 text

Macro (technical) architecture

Slide 34

Slide 34 text

JRuby C# Scala Groovy
 Java Clojure

Slide 35

Slide 35 text

RDBMS NoSQL K/V RDBMS RDBMS/DWH NoSQL
 DocDB

Slide 36

Slide 36 text

RDBMS NoSQL K/V RDBMS RDBMS/DWH NoSQL
 DocDB Micro architecture

Slide 37

Slide 37 text

Pattern: Marketing-based Governance

Slide 38

Slide 38 text

Pattern: Marketing-based Governance Description Approach Consequences Architectural approaches are evangelized instead of mandated • Disseminate information via blogs, brown-bag sessions, public talks • Architects as communicators • Integration with public/community work • More heterogeneity • Similarity to industry • Decisions made based on a solution’s merit • Bottom-up modernization

Slide 39

Slide 39 text

What Architects Do

Slide 40

Slide 40 text

What architects want to do Shape strategy 30 % Make important decisions 30 % Mentor developers 20 % Explore technologies 20 %

Slide 41

Slide 41 text

What others think architects do Slow down development 20 % Pick the wrong tools 20 % Refuse to learn from devs 20 % Define annoying rules 40 %

Slide 42

Slide 42 text

What architects actually do Do technical stuff 5 % Act as salespeople 30 % Try to be involved 35 % Defend architecture 30 %

Slide 43

Slide 43 text

Recommendations

Slide 44

Slide 44 text

1. Acquire domain knowledge

Slide 45

Slide 45 text

2. Partner with business stakeholders

Slide 46

Slide 46 text

3. Create evolvable structures

Slide 47

Slide 47 text

4. Get out of the way as quickly as possible

Slide 48

Slide 48 text

Stefan Tilkov
 [email protected]
 Phone: +49 170 471 2625 innoQ Deutschland GmbH Krischerstr. 100 40789 Monheim am Rhein Germany Phone: +49 2173 3366-0 innoQ Schweiz GmbH Gewerbestr. 11 CH-6330 Cham Switzerland Phone: +41 41 743 0116 www.innoq.com Ohlauer Straße 43 10999 Berlin Germany Phone: +49 2173 3366-0 Ludwigstr. 180E 63067 Offenbach Germany Phone: +49 2173 3366-0 Kreuzstraße 16
 80331 München Germany Phone: +49 2173 3366-0 @stilkov That’s all I have.
 Thanks for listening! Questions?

Slide 49

Slide 49 text

www.innoq.com About INNOQ • Offices in Monheim (near Cologne), Berlin, Offenbach, Munich, Zurich • ~125 employees • Core competencies: software architecture consulting and software development • Privately owned, vendor-independent • Clients in finance, telecommunications, logistics, e-commerce; Fortune 500, SMBs, startups

Slide 50

Slide 50 text

Image Credit https://pixabay.com/en/marketing-customer-center-2483856/ https://pixabay.com/en/chaos-room-untidy-dirty-messy-627218/ https://commons.wikimedia.org/wiki/File:Wroclaw_Daily_Market.jpg https://pixabay.com/en/smartphone-face-man-old-baby-1790833/ http://maxpixel.freegreatpicture.com/Board-Arrow-Note-Garden-Shield-Wc-Self-Service-863157 https://commons.wikimedia.org/wiki/File:Chicago_Campus_Conference.JPG