A Cell-Based Architecture for Microservices Dr. Paul Fremantle CTO - - PowerPoint PPT Presentation

a cell based architecture for microservices
SMART_READER_LITE
LIVE PREVIEW

A Cell-Based Architecture for Microservices Dr. Paul Fremantle CTO - - PowerPoint PPT Presentation

A Cell-Based Architecture for Microservices Dr. Paul Fremantle CTO and Co-Founder, WSO2 paul@wso2.com @pzfreo http://2011.igem.org/Team:UNIPV-Pavia/Project/Modelling Biology is fundamentally the study of complex systems Agile is here - just


slide-1
SLIDE 1

A Cell-Based Architecture for Microservices

  • Dr. Paul Fremantle

CTO and Co-Founder, WSO2 paul@wso2.com @pzfreo

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

http://2011.igem.org/Team:UNIPV-Pavia/Project/Modelling

slide-5
SLIDE 5

Biology is fundamentally the study

  • f complex systems
slide-6
SLIDE 6

Agile is here

  • just not very

evenly distributed

slide-7
SLIDE 7

CONSUMER DEMAND SUPPLIERS DISAGGREGATE ARCHITECTURE TO MEET DEMAND

1 10 102 103 105 109

MONOLITHIC BUSINESS APP ENTERPRISE APPS DEPARTMENTAL APPS SAAS APPS PUBLIC / PRIVATE APIS SERVERLESS & MICROSERVICES

1970s |

MAINFRAME

1980s |

IT AWAKENING

1990s |

INTERNET

2000s |

MOBILE

2010s |

IoT/AI

2020+ |

DIGITAL NATIVE

slide-8
SLIDE 8

Physical Functional

Linux/OS Virtualization Cloud Containers K8s, Cloud Orchestration ABIs Web Services SOA APIs Endpoints

Cloud Native

slide-9
SLIDE 9

Agile - Developer Flow

slide-10
SLIDE 10

Agile Flow for Development Teams

slide-11
SLIDE 11

The wrong organization interrupts flow

slide-12
SLIDE 12
slide-13
SLIDE 13

Complex processes interrupt flow

Step 1 Step 1 Step 1 Step 2 Step 2 Step 2 … … … Step n Step p Step q SGMM SOA Governance Planning Assessment SOA Governance Capabilities Heat Map SOA Governance Transition Plan SOA Governance Assets

Techniques, Checklist, Guidance, Examples Governance Process Models

slide-14
SLIDE 14

The wrong technology stack interrupts flow

slide-15
SLIDE 15

Physical Functional

Linux/OS Virtualization Cloud Containers K8s, Cloud Orchestration ABIs Web Services SOA APIs Endpoints

Organizational Composable Enterprise

slide-16
SLIDE 16

The best architectures, requirements, and designs emerge from self-organizing teams.

The Agile Manifesto

Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely. Deliver working software frequently with a preference to the shorter timescale.

“ “ “

slide-17
SLIDE 17

The best architectures, requirements, and designs emerge from self-organizing teams.

The Agile Manifesto

Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely. Deliver working software frequently with a preference to the shorter timescale.

“ “ “

slide-18
SLIDE 18

https://www.instagram.com/insects_and_flowers_uk/

slide-19
SLIDE 19
slide-20
SLIDE 20

A team which:

  • Manages its own work
  • Pulls work
  • Doesn’t require “command and control”
  • Communicates effectively with each other
  • Is not afraid to ask questions
  • Continuously evolves skills and capabilities

What is a “self-organizing” team?

https://www.scrumalliance.org/community/articles/2013/january/self-organizing-teams-what-and-how

slide-21
SLIDE 21

Self Organizing Teams

https://www.testingexcellence.com/10-traits-agile-self-organizing-team/

slide-22
SLIDE 22

Two Pizza Rule

https://flic.kr/p/X9B7CH

slide-23
SLIDE 23

n(n-1) 2

Simple maths

slide-24
SLIDE 24
slide-25
SLIDE 25

APIs are designed for boundaries

  • Authentication required and expected
  • Authorization
  • Rate limiting / Throttling
  • Analytics and Observability
  • No assumption that others will use it:

Developer-friendly portals

SDKs, samples, forums

Developer-friendly governance

Versioning, Deprecation notification, etc

slide-26
SLIDE 26

Boundaries require identity and access control

slide-27
SLIDE 27

Control Plane

slide-28
SLIDE 28

Data Plane

slide-29
SLIDE 29

Brownfield Greenfield

slide-30
SLIDE 30

Core Systems Core Systems Core Systems Disaggregated systems

slide-31
SLIDE 31

Core Systems Core Systems Core Systems Disaggregated systems

slide-32
SLIDE 32

Core Systems Core Systems Core Systems API Management Platform

Governance Self-Service Identity Dependency Management Notification Versioning

slide-33
SLIDE 33

Microservices deliver agility

slide-34
SLIDE 34

Core Systems Core Systems Core Systems API Management Platform

slide-35
SLIDE 35

Microservices at scale require some governance….

slide-36
SLIDE 36
slide-37
SLIDE 37

The cell is the basic structural, functional, and biological unit of all known living

  • rganisms
slide-38
SLIDE 38

Cell boundaries Transmembrane receptors and signalling

slide-39
SLIDE 39

Core Systems Core Systems Core Systems ESB / Data Plane API Management Platform / Control Plane

Cell Cell Cell Cell Cell Cell Cell

slide-40
SLIDE 40

Timelapse of Sponge Reaggregation - https://www.youtube.com/watch?v=SvtDMo7fjAc

slide-41
SLIDE 41

Cell boundary = Team boundary

slide-42
SLIDE 42

Core Systems Core Systems Core Systems ESB / Data Plane API Management Platform / Control Plane

Cell Cell Cell Cell Cell Cell Cell

APIs enable boundaries. Boundaries enable self organising teams.

slide-43
SLIDE 43
slide-44
SLIDE 44
slide-45
SLIDE 45

Boundaries for Microservices

  • Have a clear global data and control plane

An API management platform provides an effective global control plane

  • Ensure teams offer clear boundaries

Versioned APIs managed through the global control plane

  • Give teams freedom to evolve within those

boundaries

Within a cell they are free to use any approach

slide-46
SLIDE 46
slide-47
SLIDE 47
slide-48
SLIDE 48

The recoupling of decoupled components into new agile teams Based on teams, with devops, cloud infrastructure and intra-cell comms Agile inside the cell, versioned and gatewayed at the boundary

https://blog.cirm.ca.gov/

slide-49
SLIDE 49

“Remember that every science is based upon an abstraction... All sciences are differentiated by their abstraction.”

Fulton J. Sheen

slide-50
SLIDE 50

Everyone is on a journey towards agility Integration agility needs to catch up with project agility This means a shift towards enabling integration agile teams Reaggregating with a cellular architecture and self-organising teams creates a composable enterprise Flow metrics allow you to understand cell health

slide-51
SLIDE 51

Thank you!

More information: Cell based architecture https://github.com/wso2/reference-architecture Reference Methodology https://github.com/wso2/reference-methodology