SlideShare a Scribd company logo
Microservices & Self-
Contained Systems to Scale
Agile
Eberhard Wolff
Fellow, innoQ
@ewolff
http://continuous-delivery-buch.de/
http://microservices-buch.de/ http://microservices-book.com/
http://microservices-book.com/primer.html
FREE!!!!
Microservices
Server Server
Microservices:
Definition
> Independent deployment units
> E.g. process, VMs, Docker containers
> Any technology
> Any infrastructure
Micro
Service
Micro
Service
Components Collaborate
Micro
Service
Micro
Service
Link
Data Replication
REST
Messaging
Layered Microservices
iOS Android Web
Order Search Catalog
BillingCustomer
Backend Backend Backend
Layered Microservices
> Reusable Backend Services
> Mobile client / Web App as frontend
> Backend for frontend (BFF): Custom
backend services
> ...to implement frontend specific logic
Layered: Issues
> BFF might contain the same logic – same
processes
> BFF might contain most relevant logic
> Change to a business process means
changing many services
> Lots of communication
Self-contained
System
Deployment
monolith
Graphics by Roman Stranghöhner, innoQ
http://scs-architecture.org
Cut Deployment
monolith along
domains …
… wrap domain in
separate web
application …
Self-contained
System (SCS) –
individually
deployable
SCS =
user interface+
business logic+
data storage
Each SCS contains all
layers.
Self-contained
Systems
should be integrated
in the web interface
Synchronous remote
calls inside the
business logic should
be avoided.
Asynchronous Remote
calls reduce
dependencies and
prevent error
cascades.
Every SCS brings its
own data storage
with its own
(potentially
redundant) data
Domained scoped
SCS enables the
development,
operation and
maintenance of an
domain by a
single team.
Team 1
Team 2 Team 3
1 SCS
= 1 Domain
= 1 Web App
= 1 Team
= 1-n Microservices
Why create such a
complex system?
Legacy Apps
HTTP
New
Stuff
Links
No legacy code
Any technology
J
Small code base
Sustainable
Development
Monoliths
> Architecture rot
> …not maintainable any more
> …and can’t be rewritten / replaced
Microservices
> Distributed system of small units
> Architecture violations harder
> Architecture won’t rot
> Small units
> Easy to replace
> Service rotten? Replace!
Robust
> One failing Microservice doesn’t crash the
system
> However, Microservices must deal with
failing Microservices
Continuous Delivery
Principles behind the
Agile Manifesto
Our highest priority is
to satisfy the customer
through early and
continuous delivery
of valuable software.
Deployment Monolith
ECommerce
System
3rd party
systems
Database
Continuous Delivery:
Build Pipeline
ECommerce
System
Commit
Stage
Automated
Acceptance
Testing
Automated
Capacity
Testing
Manual
Explorative
Testing
Release
Build Pipeline:
Problems
> Complex infrastructure
> Huge database
> 3rd party integration
> Slow feedback
> Test everything for each commit
> Huge deployment unit
> Deployment slow
Microservices
ECommerce
System
3rd party
systems
Database
Microservices
3rd party
systems
Database
Order
Catalog
Billing
Search
Order
Billing
Customer
Commit
Stage
Automated
Acceptance
Testing
Automated
Capacity
Testing
Manual
Explorative
Testing
Release
Commit
Stage
Automated
Acceptance
Testing
Automated
Capacity
Testing
Manual
Explorative
Testing
Release
Commit
Stage
Automated
Acceptance
Testing
Automated
Capacity
Testing
Manual
Explorative
Testing
Release
Build Pipeline for
Microservices
> Independent deployment
> Build pipeline per Microservice
> Smaller
> Easier to set up
> Less features (3rd party systems)
> Faster Feedback: Less tests
Independent Scaling
> Can scale each Microservice
indenpendently
> Much easier than for a Deployment
Monolith
Technology Freedom
> No meetings for introducing a bug fix in a
library!
> No big migration away from outdated
technology
> Easier experiments
> Higher motivation
Scaling Agility
Scaling Agility
> Do more
> Get more stories
implemented
> ...and running in
production
TODO IN PROGRESS DONE
Scaling Agility
> Add more people
> Let the work in parallel
> Build more teams
What is the problem?
Communication
> Agile means communication
> Instead of written requirements
> ...story cards
> + direct communication
# Persons vs.
Potential Links
0
100
200
300
0 10 20 30
Communication is great!
Need more persons
Challenges for
Scaling Agile
> Dependencies cause delays
> Too much communication about
functionalities,...
> ...releasing software,
> ...and technologies
Challenges for
Scaling Agile
> Dependencies cause delays
> Too much communication about
functionalities...
> ...releasing software,
> ...and technologies
Conway‘s Law
Architecture
copies
communication structures
of the organization
Logic
UI
Database
Change
Order
Process!
time
DB
Team Sprint
Logic
Team Sprint
GUI
Team Sprint
3 sprints
Domained scoped
SCS enables the
development of a
domain by a
single team
– no coordination
Order Team =
UI+Logic+Database
Challenges for Scaling
Agile
> Dependencies cause delays
> Too much communication about
functionalities...
> ...releasing software,
> ...and technologies
Deployment Monolith
Stories
Technical Coordination
Coordinating Releases
Self-contained
System (SCS) –
individually
deployable
Technical decisions can
be made independently
from other systems
(programming language,
frameworks, tooling,
platform)
SCS
Stories
Technical
Coordination
Stories
Technical
Coordination
Stories
Technical
Coordination
Order Billing Search
Release Release Release
Why Microservices/SCS?
Sustainable development
speed
Continuous Delivery
Choose best technology
for job!
Handle Legacy more efficient
Independent Scaling
Robustness
Scaling Agile
Conclusion
Conclusion: SCS &
Microservices
> Microservices have many advantages
> SCS are a way to use Microservices
> …for large projects
> …to scale agile
Thank You!
@ewolff
http://microservices-buch.de/
http://microservices-book.com/primer.html
http://scs-architecture.org
EMail slidesjugsaxony@ewolff.com to get:
Slides
+ Microservices Primer
+ Sample Microservices Book
+ Sample of Continuous Delivery Book
Powered by Amazon Lambda & Microservices

More Related Content

PDF
Microservices - not just with Java
PDF
How Small Can Java Microservices Be?
PDF
Self-contained Systems: A Different Approach to Microservices
PDF
Microservices: Architecture to Support Agile
PDF
Nanoservices and Microservices with Java
PDF
Microservices, DevOps, Continuous Delivery – More Than Three Buzzwords
PDF
Microservices: Redundancy=Maintainability
PDF
How to Split Your System into Microservices
Microservices - not just with Java
How Small Can Java Microservices Be?
Self-contained Systems: A Different Approach to Microservices
Microservices: Architecture to Support Agile
Nanoservices and Microservices with Java
Microservices, DevOps, Continuous Delivery – More Than Three Buzzwords
Microservices: Redundancy=Maintainability
How to Split Your System into Microservices

What's hot (20)

PDF
Microservices: Architecture to scale Agile
PDF
Four Times Microservices - REST, Kubernetes, UI Integration, Async
PDF
Microservices Technology Stack
PDF
Data Architecturen Not Just for Microservices
PDF
Data Architecture not Just for Microservices
PDF
WSO2 Enterprise Integrator 101
PPTX
Best ofmms scsm - iaas
PDF
How to Deploy WSO2 Enterprise Integrator in Containers
PPTX
High performance java ee with j cache and cdi
PDF
Developing Micro-Services for Cloud using Java
PPTX
[WSO2Con Asia 2014] Accelerating Mobile App Development with MBaaS
PPTX
Building & managing wa app wely
PPTX
CTU June 2011 - Microsoft System Center Virtual Machine Manager 2012
PPTX
Microservices with MSF4J - WSO2 Meetup
PPTX
BizSpark Startup Night Windows Azure March 29, 2011
PDF
Troubleshooting and Best Practices with WSO2 Enterprise Integrator
PPTX
Introduction to WSO2 Microservices Framework for Java - MSF4J - WSO2Con Asia ...
PPT
Enterprise Software Architecture
PPT
INTRODUCTION TO IIS
PPTX
WSO2Con 2015-us-introduction-to-mss-v2
Microservices: Architecture to scale Agile
Four Times Microservices - REST, Kubernetes, UI Integration, Async
Microservices Technology Stack
Data Architecturen Not Just for Microservices
Data Architecture not Just for Microservices
WSO2 Enterprise Integrator 101
Best ofmms scsm - iaas
How to Deploy WSO2 Enterprise Integrator in Containers
High performance java ee with j cache and cdi
Developing Micro-Services for Cloud using Java
[WSO2Con Asia 2014] Accelerating Mobile App Development with MBaaS
Building & managing wa app wely
CTU June 2011 - Microsoft System Center Virtual Machine Manager 2012
Microservices with MSF4J - WSO2 Meetup
BizSpark Startup Night Windows Azure March 29, 2011
Troubleshooting and Best Practices with WSO2 Enterprise Integrator
Introduction to WSO2 Microservices Framework for Java - MSF4J - WSO2Con Asia ...
Enterprise Software Architecture
INTRODUCTION TO IIS
WSO2Con 2015-us-introduction-to-mss-v2
Ad

Viewers also liked (19)

PDF
Deployment - Done Right!
PDF
Five (easy?) Steps Towards Continuous Delivery
PDF
REST vs. Messaging For Microservices
PDF
Microservices - Architekturansatz mit grossen Herausforderungen und gewissen ...
PPTX
AWS Lambda in Practice
PDF
Serverless and the Way Forward
PDF
Software Architecture for Innovation
PPTX
Building occasionally connected applications using event sourcing
PDF
Microservices - Please, don't
PDF
Microservices architecture
PDF
Docker 1.13 - Docker meetup février 2017
PDF
Spring Cloud and Netflix OSS overview v1
PDF
Le Personal Branding pour les Développeurs (mais pas que...)
PDF
Trouver des clients de coaching
PDF
Micro Services - Smaller is Better?
PDF
Why agile customers become monsters?
PPTX
Big Data – Are You Ready?
PDF
Lean Startup for Non-startups
PDF
Emprende con éxito en Internet de José Villalobos
Deployment - Done Right!
Five (easy?) Steps Towards Continuous Delivery
REST vs. Messaging For Microservices
Microservices - Architekturansatz mit grossen Herausforderungen und gewissen ...
AWS Lambda in Practice
Serverless and the Way Forward
Software Architecture for Innovation
Building occasionally connected applications using event sourcing
Microservices - Please, don't
Microservices architecture
Docker 1.13 - Docker meetup février 2017
Spring Cloud and Netflix OSS overview v1
Le Personal Branding pour les Développeurs (mais pas que...)
Trouver des clients de coaching
Micro Services - Smaller is Better?
Why agile customers become monsters?
Big Data – Are You Ready?
Lean Startup for Non-startups
Emprende con éxito en Internet de José Villalobos
Ad

Similar to Microservices and Self-contained System to Scale Agile (20)

PDF
From Monolith to micro-services and back : The Self Contained Systems
PDF
Microservices talk
PDF
Microservices Architecture
PPTX
Microservice intro
PPTX
Microservices pros and cons
PPTX
MicroServices architecture @ Ctrip v1.1
PDF
Building Microservices Software practics
PDF
Changing application demands: What developers need to know
PPTX
Think Small To Go Big - Introduction To Microservices
PDF
Microservices: Architecture for Agile Software Development
PDF
The journey to Native Cloud Architecture & Microservices, tracing the footste...
ODP
Monolithic to Microservices Architecture - STM 6
PDF
Microservices with Spring
PPTX
Microservices-101
PPTX
Application Centric Microservices from Redhat Summit 2015
PDF
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
PPTX
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
PPTX
Microservices approach for Websphere commerce
PPTX
Webinar : Microservices and Containerization
PDF
Nir Doboviski: In Space No One Can Hear Microservices Scream – a Microservice...
From Monolith to micro-services and back : The Self Contained Systems
Microservices talk
Microservices Architecture
Microservice intro
Microservices pros and cons
MicroServices architecture @ Ctrip v1.1
Building Microservices Software practics
Changing application demands: What developers need to know
Think Small To Go Big - Introduction To Microservices
Microservices: Architecture for Agile Software Development
The journey to Native Cloud Architecture & Microservices, tracing the footste...
Monolithic to Microservices Architecture - STM 6
Microservices with Spring
Microservices-101
Application Centric Microservices from Redhat Summit 2015
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
Microservices approach for Websphere commerce
Webinar : Microservices and Containerization
Nir Doboviski: In Space No One Can Hear Microservices Scream – a Microservice...

More from Eberhard Wolff (12)

PDF
Architectures and Alternatives
PDF
Beyond Microservices
PDF
The Frontiers of Continuous Delivery
PDF
Infrastructure for Continuous Delivery & Microservices: PaaS or Docker?
PDF
Top Legacy Sins
PDF
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
Microservice - All is Small, All is Well?
PDF
Legacy Sins
PDF
Microservice With Spring Boot and Spring Cloud
PDF
NoSQL Riak MongoDB Elasticsearch - All The Same?
PDF
Micro Service – The New Architecture Paradigm
Architectures and Alternatives
Beyond Microservices
The Frontiers of Continuous Delivery
Infrastructure for Continuous Delivery & Microservices: PaaS or Docker?
Top Legacy Sins
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
Microservices with Java, Spring Boot and Spring Cloud
Microservice - All is Small, All is Well?
Legacy Sins
Microservice With Spring Boot and Spring Cloud
NoSQL Riak MongoDB Elasticsearch - All The Same?
Micro Service – The New Architecture Paradigm

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
System and Network Administration Chapter 2
PPTX
history of c programming in notes for students .pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Digital Strategies for Manufacturing Companies
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Introduction to Artificial Intelligence
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPT
Introduction Database Management System for Course Database
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
System and Network Administraation Chapter 3
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
CHAPTER 2 - PM Management and IT Context
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Odoo Companies in India – Driving Business Transformation.pdf
System and Network Administration Chapter 2
history of c programming in notes for students .pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Digital Strategies for Manufacturing Companies
Understanding Forklifts - TECH EHS Solution
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Introduction to Artificial Intelligence
Which alternative to Crystal Reports is best for small or large businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Introduction Database Management System for Course Database
ISO 45001 Occupational Health and Safety Management System
System and Network Administraation Chapter 3

Microservices and Self-contained System to Scale Agile