YouTube Link: https://youtu.be/xuH81XGWeGQ
** Microservices Architecture Training: https://www.edureka.co/microservices-architecture-training**
This Edureka's PPT on Microservices Design Patterns talks about the top design patterns you can use to build applications.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
4. WHY DO WE NEED DESIGN PATTERNS?
www.edureka.co
Process 1 Process 2 Process 3
Works Successfully Shows few errors Shows few errors
5. WHY DO WE NEED DESIGN PATTERNS?
www.edureka.co
So, the development team cannot build the application using the
process 2and 3
6. WHY DO WE NEED DESIGN PATTERNS?
www.edureka.co
By using Design Patterns, the team working on various
projects use the same pattern to build similar applications.
8. WHAT ARE DESIGN PATTERNS?
Software Design Pattern can be defined as a software
template or a description to solve a problem that occurs in
multiple instances while designing a Software Application
or a Software Framework.
DESIGNPATTERN
www.edureka.co
10. WHAT ARE MICROSERVICES?
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 a Microservice Architecture,
each service is self-contained and implements a
single business capability.
MICROSERVICES
www.edureka.co
17. API GATEWAY
www.edureka.co
Can Convert The Protocol Request From One Type To Other
API Gateway Acts As An Entry Point To Forward The Clients
Requests To Appropriate Microservices
API GatewayClient Load Balancer
Service A
Service B
19. CHAINED OR CHAIN OF RESPONSIBILITY
www.edureka.co
Produces A Single Output Which Is A Combination Of Multiple
Chained Outputs.
Use Synchronous HTTP Request Or Response For Messaging
Service A Service B Service C
21. ASYNCHRONUS MESSAGING
www.edureka.co
All The Services Can Communicate With Each Other, But They Do
Not Have To Communicate With Each Other Sequentially
Service A Service B Service C
Queue
25. EVENT SOURCING
www.edureka.co
Creates Events Regarding The Changes In The Application State
EventsPresentation Layer Event Store
Materialized View Query for Current State External Systems
29. CQRS
www.edureka.co
Application Is Divided Into Two Parts: Command And Query
Command
write
Query
read
Command Part Handles All The Requests
Related To CREATE, UPDATE, DELETE.
Query Part Takes Care Of The
Materialized Views
31. CIRCUIT BREAKER
www.edureka.co
Used To Stop The Process Of Request And Response If A Service
Is Not Working.
Remote ServiceClient Load Balancer
Service A
Service C
Circuit Breaker
Service B
Down Service