14
Page Title Microservices with Docker

Innovation session microservices

Embed Size (px)

Citation preview

Page 1: Innovation session   microservices

Page Title

Microservices with Docker

Page 2: Innovation session   microservices

Monolithic Applications

Business LogicFrontend DB

Page 3: Innovation session   microservices

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

Page 4: Innovation session   microservices

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.

Page 5: Innovation session   microservices

Google Trends

Google Trends. 2017. microservices - Google Trends. [ONLINE] Available at: https://trends.google.com/trends/explore?q=microservices.

Page 6: Innovation session   microservices

Advantages of Microservices

• Independent deployments• Independently scalable• Different technology stacks• Frequent releases• Fault isolation• Lower impact for other services

Page 7: Innovation session   microservices

Disadvantages of Microservices

• Increased complexity • Network traffic• Diagnostics• Data consistency• Versioning

Page 8: Innovation session   microservices

Container Management

Network

Infrastructure Infrastructure

Container Host Container Host

Operating System Operating System

Container Runtime Container Runtime

A1 A2 A3 A4 A3

Page 9: Innovation session   microservices

Container Management

Network

Infrastructure Infrastructure

Container Host

Operating System

Container Runtime

A1 A2 A3

Operating System

Scheduler DNS

Load Balancer

Service Discovery

Cache

Page 10: Innovation session   microservices

Responsibilities of a Cluster Manager

• Group similar containers• Health checking of containers• Container auto scaling• Service discovery• Load balancing• Centralized log access

Page 11: Innovation session   microservices

Cluster Managers

• Apache Mesos• Azure Service Fabric• Docker Swarm • Kubernetes• Amazon ECS

Page 12: Innovation session   microservices

Page Title

Demo

Page 13: Innovation session   microservices
Page 14: Innovation session   microservices

Page Title

Thank You!