Upload
cake-labs
View
91
Download
0
Embed Size (px)
Citation preview
Page Title
Microservices with Docker
Monolithic Applications
Business LogicFrontend DB
Single Purpose Components
• Authentication Service
• Caching Service • Search Service
• BLOB• NO SQL• MYSQL• MSSQL
• Authentication API• Accounts API• Inventory API• Shopping cart API
Frontend Business Logic Data Layer
What is a Microservice?
"Microservices is a specialisation of an implementation approach for service-oriented architectures (SOA) used to
build flexible, independently deployable software systems. Services in a
microservice architecture (MSA) are processes that communicate with each other over a network in order to fulfill a
goal."Wikipedia. 2017. Microservices - Wikipedia. [ONLINE] Available at: https://en.wikipedia.org/wiki/Microservices.
Google Trends
Google Trends. 2017. microservices - Google Trends. [ONLINE] Available at: https://trends.google.com/trends/explore?q=microservices.
Advantages of Microservices
• Independent deployments• Independently scalable• Different technology stacks• Frequent releases• Fault isolation• Lower impact for other services
Disadvantages of Microservices
• Increased complexity • Network traffic• Diagnostics• Data consistency• Versioning
Container Management
Network
Infrastructure Infrastructure
Container Host Container Host
Operating System Operating System
Container Runtime Container Runtime
A1 A2 A3 A4 A3
Container Management
Network
Infrastructure Infrastructure
Container Host
Operating System
Container Runtime
A1 A2 A3
Operating System
Scheduler DNS
Load Balancer
Service Discovery
Cache
Responsibilities of a Cluster Manager
• Group similar containers• Health checking of containers• Container auto scaling• Service discovery• Load balancing• Centralized log access
Cluster Managers
• Apache Mesos• Azure Service Fabric• Docker Swarm • Kubernetes• Amazon ECS
Page Title
Demo
Page Title
Thank You!