SlideShare a Scribd company logo
Modern Microservices
Architecture with Docker
Alon Fliess
Chief Software Architect
Microsoft Regional Director
alonf@codevalue.net
http://alonfliess.me
1
Eran Stiller
Cloud Division Leader
Senior Software Architect
erans@codevalue.net
http://stiller.co.il/blog
Agenda
Software Architecture
Micro Services Architecture
Containers & Docker
Azure Container Services
Demo
2
About Alon
Chief Architect & Co-Founder at CodeValue
More than 25 years of hands-on experience
Microsoft Regional Director & Microsoft MVP
Active member of Microsoft Advisory Councils
Renowned speaker at both international and
domestic events
3
About Eran
Cloud Division Leader & Co-Founder at CodeValue
Software architect, consultant and instructor
Microsoft Azure MVP
More than 10 years of hands-on experience
Expert in large-scale, server-side, highly-concurrent
systems
Co-Founder of Azure Israel Meetup
4
About CodeValue & OzCode
CodeValue – Inspiring Code. Creating Value.
A consultancy and software development firm
High quality software projects and managed services
Valuable training and mentoring
Advanced software technology and methodology consulting
OzCode – an innovative VS debugging extension
Helps identify and fix bugs during C# development
Saves time and effort
Makes the debugging process easy and simple
6
Software Architecture
What a Modern Architect SHOULD Know
7
SRS
UML
Use
Cases
User
Stories
Risk
Mitigations
Design
Redis
SRP
7
Client
Server
Schema
OOP
SQL
SOA
NoSQL
Encapsulation
Data
JSON
ETL
Reporting
AWS
BASE
Queue
XML
Cloud
Big Data
ACID
Micro
Services
Architecture
Distributed
Cache
REST
Idempotency
BI
Map
Reduce
NLB
HTTP
Indexing
CDN
Search
Security
Log
HPC
Authentication
Docker
Containers
HA
DRPub/Sub
UI/UX
CQRS
MEAN
ORM
Push
Notifications
What a Modern Architect MUST Know
Understand the requirements
Understand the constraints
Low coupling
High cohesion
Balance of size & number of components
Volatility
Workplace politics
Software Architecture
The system structure
Built from software components
The relationship between components
The properties of both components and relations
Software architecture is about making fundamental
structural choices
Which are costly to change once implemented
Designing software architecture is a mix of art and science!
Software Architecture Goals
Defining a structured solution that
Meets all the technical and operational requirements
Captures the non-volatile (hard to change) decisions
Focuses on important elements of the system (context)
Provide a solid foundation for a successful software product
Answer the requirements:
Functional
Non-Functional (quality attributes)
Constraints
10
Cohesion
The degree to which a module
performs one and only one function
Strive for high cohesion
A module can be:
Library (assembly, shared module, DLL)
File
Class
Method
COM/CORBA component
(Micro) Service
Any reusable element
11
Coupling
The degree to which each program module
relies on each of the other modules
Low coupling often correlates with
high cohesion, and vice versa
Low coupling is
A sign of a well-structured computer system
Good design
When combined with high cohesion
Supports high readability, maintainability, extendibility, and
reusability
Micro Service Architecture == High Cohesion & Low Coupling
12
Why Should I Care About Coupling
Tightly coupled systems tend to exhibit the following
developmental characteristics
A change in one module usually forces a ripple (cascading) effect
of changes in other modules
Assembly of modules might require more effort and/or time due
to the increased inter-module dependency
A particular module might be harder to reuse and/or test because
dependent modules must be included
The DevOps process becomes a nightmare!!!
13
Fan-In Fan-Out and Stable Module
One way to examine module stability (i.e. low coupling and high
cohesion) is by looking at its fan-in fan-out and other dependencies
Fan-In
The number of users of the module
Fan-Out
The number of modules that the current module is being used by
A stable module is a module that has high fun-in and low fan-out
This module can be easily reused
14
Just The Right Number Of Modules
15
number of modules
Module
integration cost
module development cost
The cost of
the software
Modern Software Project Challenges
16
We need to do more with less
More functional requirements and better quality
attributes
(Many) more end users
(Many) more servers to manage with less operators
More changes with less or even no maintenance
downtime
The 24/7 Challenge
How do you update a system running
24/7/365?
How do you keep the application servers
responsive?
How do you keep all application servers
synced?
How do you update the data/schema?
How do you update all your clients’ software?
Web, Mobile, Desktop…
How do you rollback on error?
How do you rollback data?
How do you know there is an error?
17
The 24/7 Challenge
Plan ahead
DevOps
Architect
Low Coupling, High Cohesion
Schema/API Versioning
Use supporting platforms
Cloud
Containers
18
Microservices Architecture (MSA) - Wikipedia
“Microservices is a specialization of and implementation approach for
service-oriented architectures (SOA) used to build flexible,
independently deployable software systems”
“Services are small in size, messaging enabled, bounded by contexts,
autonomously developed, independently deployable, decentralized
and built and released with automated processes”
“The benefit of distributing different responsibilities of the system into
different smaller services is that it enhances the cohesion and
decreases the coupling”
19
MSA Criticism
The architecture introduces additional complexity
such as:
Network latency
Message formats and versioning nightmare
Load balancing and fault tolerance management
Testing and deployment are more complicated
20
MSA Drawbacks Solution
Plan ahead
DevOps
Architect
Low Coupling, High Cohesion
Schema/API Versioning
Use supporting platforms
Cloud
Containers
21
22
Modern Microservices Architecture
with Docker
Docker, Docker, Docker
Containers have been around for many years
Docker Inc. did not invent them
They created open source software to build and manage containers
Docker makes containers easy
Even I can create and run them
Docker is a container format and a set of tools
Docker CLI, Docker Engine, Docker Swarm, Docker Compose, Docker Machine
and more…
Docker is an eco-system
23
Server
Host OS
Hypervisor
Server
Host OS
Docker Engine
Guest
OS
Guest
OS
Guest
OS
Bins/Libs Bins/Libs Bins/Libs
App A App A’ App B
Bins/Libs Bins/Libs
AppA
AppA’
AppB
AppB’
AppB
AppB’
AppB
AppB’
Containers are isolated,
but share OS and, where
appropriate,
bins/libraries
Bins/Libs
Developer Workstation
Docker Host
Container
Container
Container
Developer Workstation
Docker Engine
Container
Container
Container
Container
Container
Container
Developer Workstation
Container
Container
ContainerContainer
Container
Container
Container
Container
Container
Modern Microservices Architecture with Docker
App1
App2
Demo Architecture
33
Web Portal
RedisTwitter Reader
Queue
Twitter
Twitter Analyzer
Queue
Aggregator
Pub/Sub
Microsoft Cognitive Services
Demo Architecture
34
RedisTwitter Reader
Web Portal
Load Balancer
Queue
Twitter
Queue
Aggregator
Pub/Sub
Microsoft Cognitive Services
Twitter Analyzer
Demo
35
https://github.com/estiller/tweet-analyzer-demo
Summary
Software Architecture
Micro services Architecture
Containers & Docker
Azure Container Services
Demo
39
41

More Related Content

PPT
ISV Integrations
PPTX
App V
PPTX
Cloud native-microservices
PDF
Introduction to Micro Services
PPTX
Layered Architecture - Software Architecture Pattern
PPT
Forrester Research on Globally Distributed Development Using Subversion
PDF
EAI example
PDF
Informatica administering the environment
ISV Integrations
App V
Cloud native-microservices
Introduction to Micro Services
Layered Architecture - Software Architecture Pattern
Forrester Research on Globally Distributed Development Using Subversion
EAI example
Informatica administering the environment

What's hot (20)

PPT
Enterprise Application Integration
PPTX
Client server s/w Engineering
DOC
Santhosh_Informatica_Administrator(2)
PDF
Lab jam websphere message broker labs
PPSX
Getting started with Enterprise Application Integration (EAI) using Enterpris...
PPTX
Isas _Q3 _Soft_Topic3_enterprise_application_architecture
PPT
From Model to Implementation II
PPT
Ecms altanai bisht , college 3rd year
DOC
DistributedMediaApplicationProject
PPT
ClearCase Version Importer - a migration tool to Rational Team Concert SCM
PDF
J2EE Technology Mapping-21-may-2014
PDF
Using Blueprints to Overcome Multi-speed IT Challenges
DOC
integeration
PPT
The Bluemix Quadruple Threat
PDF
WebSphere Message Broker Training Agenda
PPTX
Microservices-101
PPTX
Php Web Frameworks
PDF
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
PDF
ICTA Technology Meetup 01 - Enterprise Application Integration
PDF
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
Enterprise Application Integration
Client server s/w Engineering
Santhosh_Informatica_Administrator(2)
Lab jam websphere message broker labs
Getting started with Enterprise Application Integration (EAI) using Enterpris...
Isas _Q3 _Soft_Topic3_enterprise_application_architecture
From Model to Implementation II
Ecms altanai bisht , college 3rd year
DistributedMediaApplicationProject
ClearCase Version Importer - a migration tool to Rational Team Concert SCM
J2EE Technology Mapping-21-may-2014
Using Blueprints to Overcome Multi-speed IT Challenges
integeration
The Bluemix Quadruple Threat
WebSphere Message Broker Training Agenda
Microservices-101
Php Web Frameworks
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
ICTA Technology Meetup 01 - Enterprise Application Integration
Continuous Delivery, DevOps, Cloud - New Requirements for New Architectures
Ad

Similar to Modern Microservices Architecture with Docker (20)

PPTX
Microservices: Why and When? - Alon Fliess, CodeValue - Cloud Native Day Tel ...
PPTX
Microservices, Docker deploy and Microservices source code in C#
PPTX
To Microservice or Not to Microservice?
PPTX
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
PDF
20141210 - Microservice Container
PPTX
Net core microservice development made easy with azure dev spaces
PPTX
Modern Architecture in the Cloud of 2018
PPTX
Architecting for speed: How agile innovators accelerate growth through micros...
PPTX
Architecting for speed - how agile innovators accelerate growth through micro...
PPTX
Accelerate DevOps/Microservices and Kubernetes
PPTX
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
PDF
microservices-is-it-the-holy-grail-a-perspective.pdf
PDF
Introduction to Microservices Architecture - SECCOMP 2020
PDF
The Need of Cloud-Native Application
PPTX
Microservices and docker
PDF
6 Lessons I Learned on my Journey from Monolith to Microservices
PDF
Microservices for Application Modernisation
PDF
Practical Microservice Architecture (edition 2022).pdf
PPTX
Introduction to the Microsoft Azure Cloud.pptx
PDF
170215 msa intro
Microservices: Why and When? - Alon Fliess, CodeValue - Cloud Native Day Tel ...
Microservices, Docker deploy and Microservices source code in C#
To Microservice or Not to Microservice?
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
20141210 - Microservice Container
Net core microservice development made easy with azure dev spaces
Modern Architecture in the Cloud of 2018
Architecting for speed: How agile innovators accelerate growth through micros...
Architecting for speed - how agile innovators accelerate growth through micro...
Accelerate DevOps/Microservices and Kubernetes
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
microservices-is-it-the-holy-grail-a-perspective.pdf
Introduction to Microservices Architecture - SECCOMP 2020
The Need of Cloud-Native Application
Microservices and docker
6 Lessons I Learned on my Journey from Monolith to Microservices
Microservices for Application Modernisation
Practical Microservice Architecture (edition 2022).pdf
Introduction to the Microsoft Azure Cloud.pptx
170215 msa intro
Ad

More from Eran Stiller (20)

PDF
Architecting at Scale with the Advice Process
PDF
Application Evolution Strategy
PDF
Developing and Deploying Microservices with Project Tye
PDF
API Design in the Modern Era - Architecture Next 2020
PDF
Bot-Tender: A Chat Bot Walks into a Bar (2020)
PDF
Why Don’t You Understand Me? Build Intelligence into Your Apps
PDF
Windows Containers - Microsoft Ignite The Tour
PDF
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
PDF
Bot Framework - Microsoft Ignite The Tour
PDF
It's a Serverless World
PDF
Keynote - From Monolith to Microservices - Lessons Learned in the Real World
PPTX
Architecting a Serverless IoT System in the Cloud
PPTX
IoT in Action Keynote - CodeValue
PDF
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
PPTX
Create Your Own Serverless PKI with .NET & Azure Key Vault
PPTX
Cloud Native Development on Azure
PPTX
Today, the Cloud Is Your Advantage
PPTX
Build 2019 Recap
PDF
Bot-Tender: A Chat Bot Walks into a Bar (Microsoft Tech Days Sweden 2018)
PPTX
Disruptive Technologies
Architecting at Scale with the Advice Process
Application Evolution Strategy
Developing and Deploying Microservices with Project Tye
API Design in the Modern Era - Architecture Next 2020
Bot-Tender: A Chat Bot Walks into a Bar (2020)
Why Don’t You Understand Me? Build Intelligence into Your Apps
Windows Containers - Microsoft Ignite The Tour
Architecting Multitenant SaaS Applications with Azure - Microsoft Ignite The ...
Bot Framework - Microsoft Ignite The Tour
It's a Serverless World
Keynote - From Monolith to Microservices - Lessons Learned in the Real World
Architecting a Serverless IoT System in the Cloud
IoT in Action Keynote - CodeValue
Net Conf Israel - Intro & Building Cloud Native Apps with .NET Core 3.0 and K...
Create Your Own Serverless PKI with .NET & Azure Key Vault
Cloud Native Development on Azure
Today, the Cloud Is Your Advantage
Build 2019 Recap
Bot-Tender: A Chat Bot Walks into a Bar (Microsoft Tech Days Sweden 2018)
Disruptive Technologies

Recently uploaded (20)

PDF
top salesforce developer skills in 2025.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Introduction to Artificial Intelligence
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
ai tools demonstartion for schools and inter college
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
top salesforce developer skills in 2025.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Introduction to Artificial Intelligence
wealthsignaloriginal-com-DS-text-... (1).pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Navsoft: AI-Powered Business Solutions & Custom Software Development
ai tools demonstartion for schools and inter college
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Reimagine Home Health with the Power of Agentic AI​
Odoo POS Development Services by CandidRoot Solutions
2025 Textile ERP Trends: SAP, Odoo & Oracle
CHAPTER 2 - PM Management and IT Context
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms I-SECS-1021-03
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf

Modern Microservices Architecture with Docker

  • 1. Modern Microservices Architecture with Docker Alon Fliess Chief Software Architect Microsoft Regional Director alonf@codevalue.net http://alonfliess.me 1 Eran Stiller Cloud Division Leader Senior Software Architect erans@codevalue.net http://stiller.co.il/blog
  • 2. Agenda Software Architecture Micro Services Architecture Containers & Docker Azure Container Services Demo 2
  • 3. About Alon Chief Architect & Co-Founder at CodeValue More than 25 years of hands-on experience Microsoft Regional Director & Microsoft MVP Active member of Microsoft Advisory Councils Renowned speaker at both international and domestic events 3
  • 4. About Eran Cloud Division Leader & Co-Founder at CodeValue Software architect, consultant and instructor Microsoft Azure MVP More than 10 years of hands-on experience Expert in large-scale, server-side, highly-concurrent systems Co-Founder of Azure Israel Meetup 4
  • 5. About CodeValue & OzCode CodeValue – Inspiring Code. Creating Value. A consultancy and software development firm High quality software projects and managed services Valuable training and mentoring Advanced software technology and methodology consulting OzCode – an innovative VS debugging extension Helps identify and fix bugs during C# development Saves time and effort Makes the debugging process easy and simple
  • 7. What a Modern Architect SHOULD Know 7 SRS UML Use Cases User Stories Risk Mitigations Design Redis SRP 7 Client Server Schema OOP SQL SOA NoSQL Encapsulation Data JSON ETL Reporting AWS BASE Queue XML Cloud Big Data ACID Micro Services Architecture Distributed Cache REST Idempotency BI Map Reduce NLB HTTP Indexing CDN Search Security Log HPC Authentication Docker Containers HA DRPub/Sub UI/UX CQRS MEAN ORM Push Notifications
  • 8. What a Modern Architect MUST Know Understand the requirements Understand the constraints Low coupling High cohesion Balance of size & number of components Volatility Workplace politics
  • 9. Software Architecture The system structure Built from software components The relationship between components The properties of both components and relations Software architecture is about making fundamental structural choices Which are costly to change once implemented Designing software architecture is a mix of art and science!
  • 10. Software Architecture Goals Defining a structured solution that Meets all the technical and operational requirements Captures the non-volatile (hard to change) decisions Focuses on important elements of the system (context) Provide a solid foundation for a successful software product Answer the requirements: Functional Non-Functional (quality attributes) Constraints 10
  • 11. Cohesion The degree to which a module performs one and only one function Strive for high cohesion A module can be: Library (assembly, shared module, DLL) File Class Method COM/CORBA component (Micro) Service Any reusable element 11
  • 12. Coupling The degree to which each program module relies on each of the other modules Low coupling often correlates with high cohesion, and vice versa Low coupling is A sign of a well-structured computer system Good design When combined with high cohesion Supports high readability, maintainability, extendibility, and reusability Micro Service Architecture == High Cohesion & Low Coupling 12
  • 13. Why Should I Care About Coupling Tightly coupled systems tend to exhibit the following developmental characteristics A change in one module usually forces a ripple (cascading) effect of changes in other modules Assembly of modules might require more effort and/or time due to the increased inter-module dependency A particular module might be harder to reuse and/or test because dependent modules must be included The DevOps process becomes a nightmare!!! 13
  • 14. Fan-In Fan-Out and Stable Module One way to examine module stability (i.e. low coupling and high cohesion) is by looking at its fan-in fan-out and other dependencies Fan-In The number of users of the module Fan-Out The number of modules that the current module is being used by A stable module is a module that has high fun-in and low fan-out This module can be easily reused 14
  • 15. Just The Right Number Of Modules 15 number of modules Module integration cost module development cost The cost of the software
  • 16. Modern Software Project Challenges 16 We need to do more with less More functional requirements and better quality attributes (Many) more end users (Many) more servers to manage with less operators More changes with less or even no maintenance downtime
  • 17. The 24/7 Challenge How do you update a system running 24/7/365? How do you keep the application servers responsive? How do you keep all application servers synced? How do you update the data/schema? How do you update all your clients’ software? Web, Mobile, Desktop… How do you rollback on error? How do you rollback data? How do you know there is an error? 17
  • 18. The 24/7 Challenge Plan ahead DevOps Architect Low Coupling, High Cohesion Schema/API Versioning Use supporting platforms Cloud Containers 18
  • 19. Microservices Architecture (MSA) - Wikipedia “Microservices is a specialization of and implementation approach for service-oriented architectures (SOA) used to build flexible, independently deployable software systems” “Services are small in size, messaging enabled, bounded by contexts, autonomously developed, independently deployable, decentralized and built and released with automated processes” “The benefit of distributing different responsibilities of the system into different smaller services is that it enhances the cohesion and decreases the coupling” 19
  • 20. MSA Criticism The architecture introduces additional complexity such as: Network latency Message formats and versioning nightmare Load balancing and fault tolerance management Testing and deployment are more complicated 20
  • 21. MSA Drawbacks Solution Plan ahead DevOps Architect Low Coupling, High Cohesion Schema/API Versioning Use supporting platforms Cloud Containers 21
  • 23. Docker, Docker, Docker Containers have been around for many years Docker Inc. did not invent them They created open source software to build and manage containers Docker makes containers easy Even I can create and run them Docker is a container format and a set of tools Docker CLI, Docker Engine, Docker Swarm, Docker Compose, Docker Machine and more… Docker is an eco-system 23
  • 24. Server Host OS Hypervisor Server Host OS Docker Engine Guest OS Guest OS Guest OS Bins/Libs Bins/Libs Bins/Libs App A App A’ App B Bins/Libs Bins/Libs AppA AppA’ AppB AppB’ AppB AppB’ AppB AppB’ Containers are isolated, but share OS and, where appropriate, bins/libraries Bins/Libs
  • 30. Demo Architecture 33 Web Portal RedisTwitter Reader Queue Twitter Twitter Analyzer Queue Aggregator Pub/Sub Microsoft Cognitive Services
  • 31. Demo Architecture 34 RedisTwitter Reader Web Portal Load Balancer Queue Twitter Queue Aggregator Pub/Sub Microsoft Cognitive Services Twitter Analyzer
  • 33. Summary Software Architecture Micro services Architecture Containers & Docker Azure Container Services Demo 39
  • 34. 41

Editor's Notes

  • #17: Free image source: https://pixabay.com/en/neon-neon-sign-the-text-of-the-open-1191281/
  • #19: Free image source: https://pixabay.com/en/approval-female-gesture-hand-happy-15914/
  • #22: Free image source: https://pixabay.com/en/approval-female-gesture-hand-happy-15914/