Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Agenda
Microservice Architecture
Why Microservices?
Features of Microservice Architecture
What Is Microservice Architecture?
Advantages of Microservice
Architecture
Companies Using Microservices
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Why Microservices?
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Before Microservices – Monolithic Architecture
Monolithic Architecture is like a big container wherein all the software components of an application
are assembled together and tightly packaged
Database
Client Side UI
Server Side Application
HTTP Request
Execute a domain
specific logic
Retrieve and
update data
from the
database
Populate the HTML views
to be sent to the browser
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Monolithic Architecture - Example
Let’s take a classic use case of an E-Commerce Application
Single Instance
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Monolithic Architecture - Challenges
Large & Complex Applications
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Large & Complex Applications
Monolithic Architecture - Challenges
Slow Development
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Large & Complex Applications
#1 #2 #3
Monolithic Architecture - Challenges
Slow Development
Blocks Continuous Development
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Large & Complex Applications
Monolithic Architecture - Challenges
Slow Development
Blocks Continuous Development
Unscalable
Instance - 1
Instance - 2
Instance - 3
Instance - 4
…..
Instance - N
…..
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Large & Complex Applications
Monolithic Architecture - Challenges
Slow Development
Blocks Continuous Development
Unscalable
Unreliable
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Large & Complex Applications
Slow Development
Blocks Continuous Development
Unscalable
Unreliable
Inflexible
Monolithic
Application
New
Framework
Monolithic Architecture - Challenges
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
What Is Microservice Architecture?
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
What Is Microservice Architecture?
Microservices, aka Microservice Architecture, is an architectural style that structures an application as a collection
of small autonomous services, modelled around a Business Domain
In Microservice Architecture, each service is self-contained and implements a single Business capability
Business
Domain
Microservice
1
Microservice
2
Microservice
3
Microservice
4
Microservice
…
Microservice
N
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Microservice Architecture - Example
UI Microservice
Customer Microservice Product Microservice Cart Microservice
Let’s take the same use case of an E-Commerce Application
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Microservice Architecture
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Microservice Architecture
C
L
I
E
N
T
Identity
Provider
CDN
Static
Content
Remote
Service
Service
Service
Service
Service
Management
Service
Discovery
Microservices
API
Gateway
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Features Of Microservice Architecture
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Features Of Microservice Architecture
01Small Focused
02Loosely Coupled
03Language Neutral
04Bounded Context
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Advantages Of Microservice
Architecture
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Advantages Of Microservice Architecture
Independent
Deployment
Independent
Development
Fault
Isolation
Granular
Scaling
Mixed
Technology
Stack
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Companies Using Microservices
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Companies Using Microservices
What are Microservices | Microservices Architecture Training | Microservices Tutorial | Edureka

What are Microservices | Microservices Architecture Training | Microservices Tutorial | Edureka

  • 1.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved.
  • 2.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Agenda Microservice Architecture Why Microservices? Features of Microservice Architecture What Is Microservice Architecture? Advantages of Microservice Architecture Companies Using Microservices
  • 3.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Why Microservices?
  • 4.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Before Microservices – Monolithic Architecture Monolithic Architecture is like a big container wherein all the software components of an application are assembled together and tightly packaged Database Client Side UI Server Side Application HTTP Request Execute a domain specific logic Retrieve and update data from the database Populate the HTML views to be sent to the browser
  • 5.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Monolithic Architecture - Example Let’s take a classic use case of an E-Commerce Application Single Instance
  • 6.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Monolithic Architecture - Challenges Large & Complex Applications
  • 7.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Large & Complex Applications Monolithic Architecture - Challenges Slow Development
  • 8.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Large & Complex Applications #1 #2 #3 Monolithic Architecture - Challenges Slow Development Blocks Continuous Development
  • 9.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Large & Complex Applications Monolithic Architecture - Challenges Slow Development Blocks Continuous Development Unscalable Instance - 1 Instance - 2 Instance - 3 Instance - 4 ….. Instance - N …..
  • 10.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Large & Complex Applications Monolithic Architecture - Challenges Slow Development Blocks Continuous Development Unscalable Unreliable
  • 11.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Large & Complex Applications Slow Development Blocks Continuous Development Unscalable Unreliable Inflexible Monolithic Application New Framework Monolithic Architecture - Challenges
  • 12.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. What Is Microservice Architecture?
  • 13.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. What Is Microservice Architecture? Microservices, aka Microservice Architecture, is an architectural style that structures an application as a collection of small autonomous services, modelled around a Business Domain In Microservice Architecture, each service is self-contained and implements a single Business capability Business Domain Microservice 1 Microservice 2 Microservice 3 Microservice 4 Microservice … Microservice N
  • 14.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Microservice Architecture - Example UI Microservice Customer Microservice Product Microservice Cart Microservice Let’s take the same use case of an E-Commerce Application
  • 15.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Microservice Architecture
  • 16.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Microservice Architecture C L I E N T Identity Provider CDN Static Content Remote Service Service Service Service Service Management Service Discovery Microservices API Gateway
  • 17.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Features Of Microservice Architecture
  • 18.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Features Of Microservice Architecture 01Small Focused 02Loosely Coupled 03Language Neutral 04Bounded Context
  • 19.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Advantages Of Microservice Architecture
  • 20.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Advantages Of Microservice Architecture Independent Deployment Independent Development Fault Isolation Granular Scaling Mixed Technology Stack
  • 21.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Companies Using Microservices
  • 22.
    Copyright © 2018,edureka and/or its affiliates. All rights reserved. Companies Using Microservices