Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

24
Microservices Architecture (MSA) The Open Group project Somasundram Balakrushnan Enterprise Architect, Cognizant Co-Chair - MSA (The Open Group) Ovace A. Mamnoon Enterprise Architect, HP Co-Chair - MSA (The Open Group)

Transcript of Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Page 1: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Microservices Architecture (MSA)

The Open Group project

Somasundram Balakrushnan

Enterprise Architect,

Cognizant

Co-Chair - MSA (The Open Group)

Ovace A. Mamnoon

Enterprise Architect,

HP

Co-Chair - MSA (The Open Group)

Page 2: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Topics

• Introduction

• MSA Project Charter

• What is Microservices Architecture (MSA)?

• Key Defining Characteristics

• Supporting Characteristics

• Industry Observations

• Next steps

Disclaimer: Opinions expressed are solely our own and do not express the views or opinions of our current or past employers.

Page 3: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Introduction

• Who are we?

• What are we doing?

• And why?

Page 4: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Our Journey to MSA

• Genesis in early 2014…

• What is MSA?

• And why do we need it?

Page 5: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Picture this…

Unix way cat opengroup.txt | sort –d | more

Page 6: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

System/Application-1

System/Application-2

System/Application-3

Server Side component

Server Side component

Server Side component

Without MSA

Page 7: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Reality with MSA

External interfaces

API-1 API-2 .. .. .. API-N

System/Application-1

System/Application-2

System/Application-3

Page 8: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Microservices Architecture (MSA)The Open Group – Project Charter

Page 9: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

MSA Project Charter

• What is Microservices Architecture?• Key Defining Characteristics

• Related / Supporting Characteristics

• SOA and Microservices Architecture • Compare and Contrast SOA & MSA architecture styles

• Governance Impacts

• API & MSA

• Cloud & MSA

• Implementation Considerations for Microservices Architecture • Skills / Competency needed

• Organization maturity

• Infrastructure support

Page 10: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Why Microservices…

It’s all about managing and reducing risk for business!

Page 11: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Considerations…

It’s about common sense and practicality

Page 12: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Teaming Concepts

Conway’s Law:

“Any organization that designs a system (defined more broadly here than just information systems) will inevitably produce a design whose structure is a copy of the organization's communication structure. ”

Page 13: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Outcomes…

Organization

Business

function

Business Function

Business Function

Business Unit

Page 14: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Microservices Architecture (MSA)Characteristics of

Page 15: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

MSA: Characteristics Survey

Survey Members:

• Participants from various member companies

• Researched, Experienced, Practitioners of MSA

• Leaders & Experts of EA and SOA

Page 16: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Key Defining Characteristics

Single Responsibility

Self Containment

Service Independence

Highly Decoupled

Highly Resilient

Page 17: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Supporting Characteristics

Decentralized Data

Management

Implementation Agnostic

Scalability & Stability through

Parallelism

Stable Contract / API

Point-to-Point Integration

Federated / Autonomous Governance

Single Team end to end Ownership

Monitoring and Instrumentation

Enabled

Page 18: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Microservices Architecture (MSA)Industry Trends & Observations

Page 19: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Building Blocks

Microservices

Framework

Platform (IaaS/PaaS)

Page 20: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Enabling Platform Components

• Monitoring & Automation (Service Delivery & Operations)

• Cloud deployment (IaaS/PaaS)

• Container Technology

• Service Discovery

• Light weight messaging

• API Gateways

Microservices

Framework

Platform (IaaS/PaaS)

Page 21: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Enabling Technology & Ecosystem

• Docker, Node.js

• Apache Mesos

• Apache ZooKeeper

• Swagger

• Consul

• HA Proxy

• Spring Boot, Akka ….

Page 22: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

MSA Challenges

• Granularity & Decomposition factors

• Chattiness & Fan Outs• Payload Serialization

• Testing Microservices

• Governance • Dependency Management

• Service Versioning

Page 23: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

Service GranularityM

onol

ith

Nan

o

Line of Granularity

More of an Art than Science

Consider Business flexibility & agility needs

Beware of Monoliths and Nano-Services

Page 24: Microservices Architecture (MSA) - Presentation made at The Open Group conference 2015, San Diego CA

What Next?

Whitepaper – Target: Summer 2015

Enterprises can start piloting MSA

Preparing the platform & framework