Preparing For a Future Microservices Journey Susanne Kaiser - - PowerPoint PPT Presentation

preparing for a future microservices journey
SMART_READER_LITE
LIVE PREVIEW

Preparing For a Future Microservices Journey Susanne Kaiser - - PowerPoint PPT Presentation

Preparing For a Future Microservices Journey Susanne Kaiser Independent Tech Consultant @suksr @suksr @suksr @suksr Source: http://www.thomasthwaites.com @suksr @suksr Source: http://www.thomasthwaites.com @suksr @suksr Data Store


slide-1
SLIDE 1

Preparing For a Future Microservices Journey

Susanne Kaiser Independent Tech Consultant @suksr

slide-2
SLIDE 2

@suksr

slide-3
SLIDE 3

@suksr

slide-4
SLIDE 4

@suksr Source: http://www.thomasthwaites.com

slide-5
SLIDE 5

@suksr

slide-6
SLIDE 6

@suksr Source: http://www.thomasthwaites.com

slide-7
SLIDE 7

@suksr

slide-8
SLIDE 8

@suksr

slide-9
SLIDE 9

Data Store

@suksr

slide-10
SLIDE 10

Hardware O/S Virtualization Container Runtime

@suksr

slide-11
SLIDE 11

API Hardware O/S Virtualization Container Runtime

@suksr

slide-12
SLIDE 12

API API API Service Discovery

  • 1. Register
  • 3. Connect
  • 2. Discover

Hardware O/S Virtualization Container Runtime

@suksr

slide-13
SLIDE 13

API API API Service Discovery Load-Balancer Hardware O/S Virtualization Container Runtime

@suksr

slide-14
SLIDE 14

API API API Service Discovery Load-Balancer API Timeout-Handling Hardware O/S Virtualization Container Runtime

@suksr

slide-15
SLIDE 15

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Hardware O/S Virtualization Container Runtime

@suksr

slide-16
SLIDE 16

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Idempotency Hardware O/S Virtualization Container Runtime

@suksr

slide-17
SLIDE 17

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Idempotency Hardware O/S Virtualization Container Runtime

@suksr

slide-18
SLIDE 18

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- Heads Circuit Breaker Idempotency Hardware O/S Virtualization Container Runtime

@suksr

slide-19
SLIDE 19

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Circuit Breaker Idempotency Message Broker Hardware O/S Virtualization Container Runtime

@suksr

slide-20
SLIDE 20

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Circuit Breaker Idempotency Message Broker API-Gateway Hardware O/S Virtualization Container Runtime

@suksr

slide-21
SLIDE 21

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Idempotency Message Broker API-Gateway Circuit Breaker Config-Mngmt. Hardware O/S Virtualization Container Runtime

@suksr

slide-22
SLIDE 22

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Idempotency Message Broker API-Gateway Circuit Breaker Config-Mngmt. Monitoring Log Aggreation Metrics Distributed Tracing Health Checks Hardware O/S Virtualization Container Runtime

@suksr

slide-23
SLIDE 23

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Idempotency Message Broker API-Gateway Circuit Breaker Config-Mngmt. Monitoring Log Aggreation Metrics Distributed Tracing Health Checks SCM

Checkout Test Build

CI/CD Pipeline

Deploy

Hardware O/S Virtualization Container Runtime

@suksr

slide-24
SLIDE 24

API API API Service Discovery Load-Balancer API Timeout-Handling Retries Bulk- heads Idempotency Message Broker API-Gateway Circuit Breaker Config-Mngmt. Monitoring Log Aggreation Metrics Distributed Tracing Health Checks SCM

Checkout Test Build

CI/CD Pipeline

Deploy

Hardware O/S Virtualization Container Runtime Backup Recovery

@suksr

slide-25
SLIDE 25

µService

@suksr

slide-26
SLIDE 26

Hardware Data Store API API-Gateway Service Discovery Load-Balancer Message Broker Timeout-Handling Retries Idempotency Bulkheads Circuit Breaker Config-Mngmt. Monitoring Log Aggreation Metrics Distributed Tracing Health Checks SCM O/S Virtualization Container Runtime

Checkout Test Build

CI/CD Pipeline

Deploy

µService Backup Recovery

@suksr

slide-27
SLIDE 27

Hardware Data Store API API-Gateway

Service Discovery Load-Balancer

Message Broker Timeout-Handling Retries Idempotency Bulkheads Circuit Breaker Config-Mngmt. Monitoring Log Aggreation Metrics Distributed Tracing Health Checks

SCM

O/S Virtualization Container Runtime Checkout Test Build

CI/CD Pipeline

Deploy Backup Recovery

@suksr

Complexities

slide-28
SLIDE 28

Source: http://www.thomasthwaites.com/folio5/wp-content/uploads/2010/10/Toaster_Project1-PhotoCredit-Daniel_Alexanderx630.jpg

@suksr Source: http://www.thomasthwaites.com

slide-29
SLIDE 29

How can a small team handle infrastructure complexities and deliver user & business value?

@suksr

slide-30
SLIDE 30

Core Domain Focus User Value

@suksr

User Needs Build in-house

slide-31
SLIDE 31

@suksr

Offloading commodities Business Needs Business Value Core Domain Focus User Value User Needs Build in-house Outsource to utility suppliers

slide-32
SLIDE 32

What to build in-house? What to outsource?

@suksr

slide-33
SLIDE 33

Wardley Maps

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Uncha harted ed Ind ndus ustrialised ed Chaotic Uncertain Unpredictable Changing ... Ordered Known Measured Stable ...

By Simon Wardley

P

  • s

i t i

  • n

Movement

Visualisation of a value chain’s evolution

@suksr

slide-34
SLIDE 34

Who are your users?

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Value Chain

@suksr

slide-35
SLIDE 35

Who are your users? What are your users’ needs?

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Value Chain

@suksr

slide-36
SLIDE 36

Who are your users? What are your users’ needs? What are the components/activities to fulfil your users’ needs incl. dependencies?

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Value Chain

P

  • s

i t i

  • n

@suksr

slide-37
SLIDE 37

Value Chain

I n v i s i b l e V i s i b l e

Evolution

Wardley Maps

Landscape

Components along evolution axes

Genesis Custom-Built Product (+rental) Commodity (+utility) P

  • s

i t i

  • n

Movement

@suksr

slide-38
SLIDE 38

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Everything evolves

Past Current Future

Supply Competition Demand Competition

Wardley Maps

Patterns

Uncharted Industrialised @suksr

slide-39
SLIDE 39

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Everything evolves

Past Current Future

Continuous adaption

Wardley Maps

Patterns

@suksr

slide-40
SLIDE 40

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Efficiency enables innovation

Uncharted Industrialised

Wardley Maps

Patterns

@suksr

slide-41
SLIDE 41

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Efficiency enables innovation

Uncharted Industrialised

Wardley Maps

Patterns

@suksr

slide-42
SLIDE 42

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Efficiency enables innovation

Uncharted Industrialised

Wardley Maps

Patterns

@suksr

slide-43
SLIDE 43

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Efficiency enables innovation

Uncharted Industrialised

Wardley Maps

Patterns

@suksr

slide-44
SLIDE 44

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Past Current

Success breeds inertia

Wardley Maps

Patterns

@suksr

slide-45
SLIDE 45

Value Chain

I n v i s i b l e V i s i b l e Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Success breeds inertia

Past Current

Inertia can kill an organisation

Wardley Maps

Patterns

@suksr

slide-46
SLIDE 46

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Speakers Feedback

Focus on user needs

@suksr

slide-47
SLIDE 47

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform

P

  • s

i t i

  • n

Understand the involved components and their dependencies (position)

@suksr

slide-48
SLIDE 48

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform

P

  • s

i t i

  • n

Data Storage

Understand the involved components and their dependencies (position)

@suksr

slide-49
SLIDE 49

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform Search Engine

P

  • s

i t i

  • n

Data Storage

Understand the involved components and their dependencies (position)

@suksr

slide-50
SLIDE 50

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform Search Engine Message Broker

P

  • s

i t i

  • n

Data Storage

Understand the involved components and their dependencies (position)

@suksr

slide-51
SLIDE 51

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform Search Engine Compute Platform Message Broker

P

  • s

i t i

  • n

Data Storage

Understand the involved components and their dependencies (position)

@suksr

slide-52
SLIDE 52

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule Schedule Management Speaker Management Survey Platform Speakers Feedback Session Rating Ticketing Platform Search Engine Compute Platform Message Broker VM

P

  • s

i t i

  • n

Data Storage

Understand the involved components and their dependencies (position)

@suksr

slide-53
SLIDE 53

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule Mgmnt. Speaker Mgmnt. Survey Platform

Speakers Feedback

Session Rating Ticketing Platform Search Engine Compute Platform Data Storage VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Movement Message Broker

Plot components along evolution axes (movement)

@suksr

slide-54
SLIDE 54

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule Mgmnt. Speaker Mgmnt. Survey Platform

Speakers Feedback

Session Rating Ticketing Platform Search Engine Compute Platform Data Storage VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Movement Message Broker

Discuss & plan

@suksr

slide-55
SLIDE 55

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Search Engine Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Movement Message Broker

@suksr

slide-56
SLIDE 56

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Search Engine Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution

Movement Message Broker

Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Use appropriate methods per evolution stage

@suksr

slide-57
SLIDE 57

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker

Infrastructure complexities

@suksr

slide-58
SLIDE 58

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker

Plan offloading infrastructure complexities

@suksr

slide-59
SLIDE 59

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker Worker Nodes Master Node

Container Orchestration

@suksr

slide-60
SLIDE 60

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker Worker Nodes Master Node Pod Deploym. Service Volume

New Primitives

@suksr

slide-61
SLIDE 61

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker Worker Nodes Master Node

Container Orchestration w/ Kubernetes

Pod Deploym. Service Volume

New Primitives

Stateful Set Job Daemon Set Cron Job Ingress Egress Secret Config Map Persistent Volume Claim Replication Controller Replica Set Horizontal Pod Autoscaler … and more

@suksr

slide-62
SLIDE 62

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker Worker Nodes Master Node Container Orchestration

Plan offloading application networking concerns

@suksr

slide-63
SLIDE 63

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker Worker Nodes Master Node Container Orchestration Sidecar Proxy Pilot Mixer Citadel

Service Mesh

e.g. Istio

New Primitives

@suksr

slide-64
SLIDE 64

Value Chain

I n v i s i b l e V i s i b l e

Wardley Maps

Example Conference Solution Attendee

Ticket Schedule

Schedule M. Speaker M. Survey aaS

Speakers Feedback

Session Rating Ticketing aaS Compute Platform DB aaS VM Genesis Custom-Built Product (+rental) Commodity (+utility)

Evolution Build in-house Use/buy off-the-shelf product Outsource to utility suppliers

Search Engine Message Broker

Serverless

Function Orchestration Compute Platform

@suksr

slide-65
SLIDE 65

Build your core domain in-house

@suksr

Outsource commodities to utility suppliers Focus on user needs

slide-66
SLIDE 66

@suksr

slide-67
SLIDE 67

Susanne Kaiser Independent Tech Consultant @suksr susanne@kaiser-consulting.net