SlideShare a Scribd company logo
1 of 22
Microservices
A brief introduction to services and microservices
What is a service?
“a mechanism to enable access to one or more capabilities, where the
access is provided using a prescribed interface and is exercised
consistent with constraints and policies as specified by the service
description. “
OASIS Reference Model for Service Oriented Architecture
What is a service?
“enable access to one or more capabilities”
• Delegated functionality to specialists (no general specialist)
“access is provided using a prescribed interface ”
• Enforces a distributed architecture, communicating by:
• REST, SOAP, AMQP, MSQM, JMS, etc..
” is exercised consistent with constraints and policies as specified by
the service description. ”
• Abides by the Service Contract
Service contract
Agreement between a service and its consumer that
specifies inbound and outbound data as well as the
format.
Service contract
We have to consider:
• Service availability
• Service responsiveness
• Circuit breaker pattern (if service is not in-memory/remote)
• Versioning (heterogeneous or homogeneous)
• Security (e.g. authentication)
• Transactions (ACID compliance)
Example
• Sys AV Scanner
• Enables access to a virus scanning service
• Access is provided using REST
• Responds using JSON
• Sys understands the communication protocol “inbound data”
• Sys understands the response “outbound data”
Advantages
• Scalable
• Decoupled
• Better control over development, testing and deployment
• Easier maintenance
• and theoretically is costs less for the business [once it’s up and running]
Heterogeneous & Homogeneous Versioning
Homogeneous versioning uses version numbers across the same
contract.
Heterogeneous versioning uses different types of the same contract.
Disadvantages
• Increased complexity
• Increased cost
• Service contracts can be difficult
• What happens if a service I need to connect to is no longer available?
Microservices
Characteristics
&
Capabilities
Characteristics: Taxonomy
Two types of classification:
• Service Type
Type of role the service plays in the overall architecture
• Business Area
Type of role the service plays in the business application
Characteristics: Taxonomy
Many functional services and private-shared infrastructure services
Characteristics: Granularity
Microservices are small, fine-grained services. They do one thing, and
they do it well.
• Granularity affects performance!
• Service Contract overhead can add 100ms to the total response time
• Can impede ACID compliance if services are too granular
Characteristics: Choreography / Orchestration
Orchestration: coordination with a central mediator
Choreography: coordination without a central mediator
Microservices favour orchestration over choreography
Too much choreography can lead to higher efferent coupling
• The degree to which one component is dependent on other components to
complete a single business request
Characteristics: Choreography / Orchestration
Don’t be afraid to redefine services in a more coarsely-grained manner!
Characteristics: Topology
Microservices have an API layer
• Mediator in service orchestration
• Server-access façade
• Introduces abstraction
• Context awareness
• Each service can share or have its
own access to the infrastructure
layer.
Capabilities: Application scope
• Microservices are suited to well-partitioned systems
Capabilities: Heterogeneous Interoperability
The ability to integrate different programming languages and platforms
• Microservices support protocol-aware-heteronegeous-interopability
• Protocol between API layer and service MUST be the same
• SOA also supports protocol-agnostic-heterogeneous-interopability
• Hallelujah for that protocol-transforming middleware
What else can’t Microservices do?
Contract decoupling
Mediation / Routing
Protocol Transformation
Contract decoupling
• Allow services to consume a message that does not abide to the
service contract
• Message Transformation
• Convert XML to JSON
• Message Enhancement
• Normalise date/time format
Mediation / Routing
• Provides the ability to mediate (discover services) and route a request
• A service registry typically acts as the central service configuration
repository
Protocol Transformation
• Enables protocol agnostic heterogenous interopability
• Potentially allows service optimisation
• Service A can only communicate in SOAP, Service B is much faster at accepting
requests in REST

More Related Content

What's hot

SOA - Unit 2 - Service Oriented Architecture
SOA - Unit   2 - Service Oriented ArchitectureSOA - Unit   2 - Service Oriented Architecture
SOA - Unit 2 - Service Oriented Architecturehamsa nandhini
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)WSO2
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureLuqman Shareef
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOASubin Sugunan
 
Cloud computing explained
Cloud computing explained Cloud computing explained
Cloud computing explained Juan Pablo
 
Service Oriented Architecture & Beyond
Service Oriented Architecture & BeyondService Oriented Architecture & Beyond
Service Oriented Architecture & BeyondImesh Gunaratne
 
Service oriented architecture
Service oriented architectureService oriented architecture
Service oriented architectureAmit Ranjan
 
Building REST Web Services With Spring Boot | Microservices Architecture Trai...
Building REST Web Services With Spring Boot | Microservices Architecture Trai...Building REST Web Services With Spring Boot | Microservices Architecture Trai...
Building REST Web Services With Spring Boot | Microservices Architecture Trai...Edureka!
 
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JSFestUA
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onapHuabing Zhao
 
BizTalk on App Services
BizTalk on App ServicesBizTalk on App Services
BizTalk on App ServicesBizTalk360
 
Microservices architecture
Microservices architectureMicroservices architecture
Microservices architectureMohamad Farhani
 
I'm a developer; should I care about a service mesh?
I'm a developer; should I care about a service mesh?I'm a developer; should I care about a service mesh?
I'm a developer; should I care about a service mesh?Aspen Mesh
 
Soa 6 service architecture components
Soa 6 service architecture componentsSoa 6 service architecture components
Soa 6 service architecture componentsVaibhav Khanna
 
The use case of a scalable architecture
The use case of a scalable architectureThe use case of a scalable architecture
The use case of a scalable architectureToru Wonyoung Choi
 

What's hot (20)

SOA - Unit 2 - Service Oriented Architecture
SOA - Unit   2 - Service Oriented ArchitectureSOA - Unit   2 - Service Oriented Architecture
SOA - Unit 2 - Service Oriented Architecture
 
Road to Microservices
Road to MicroservicesRoad to Microservices
Road to Microservices
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
Web services and SOA
Web services and SOAWeb services and SOA
Web services and SOA
 
Cloud computing explained
Cloud computing explained Cloud computing explained
Cloud computing explained
 
Service Oriented Architecture & Beyond
Service Oriented Architecture & BeyondService Oriented Architecture & Beyond
Service Oriented Architecture & Beyond
 
Service oriented architecture
Service oriented architectureService oriented architecture
Service oriented architecture
 
Microservice architecture-api-gateway-considerations
Microservice architecture-api-gateway-considerationsMicroservice architecture-api-gateway-considerations
Microservice architecture-api-gateway-considerations
 
Building REST Web Services With Spring Boot | Microservices Architecture Trai...
Building REST Web Services With Spring Boot | Microservices Architecture Trai...Building REST Web Services With Spring Boot | Microservices Architecture Trai...
Building REST Web Services With Spring Boot | Microservices Architecture Trai...
 
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
JS Fest 2019/Autumn. Anton Cherednikov. Choreographic or orchestral architect...
 
Service mesh in action with onap
Service mesh in action with onapService mesh in action with onap
Service mesh in action with onap
 
Microservices
MicroservicesMicroservices
Microservices
 
Microservices
MicroservicesMicroservices
Microservices
 
BizTalk on App Services
BizTalk on App ServicesBizTalk on App Services
BizTalk on App Services
 
Microservices architecture
Microservices architectureMicroservices architecture
Microservices architecture
 
I'm a developer; should I care about a service mesh?
I'm a developer; should I care about a service mesh?I'm a developer; should I care about a service mesh?
I'm a developer; should I care about a service mesh?
 
Soa 6 service architecture components
Soa 6 service architecture componentsSoa 6 service architecture components
Soa 6 service architecture components
 
The use case of a scalable architecture
The use case of a scalable architectureThe use case of a scalable architecture
The use case of a scalable architecture
 
About Microservices
About MicroservicesAbout Microservices
About Microservices
 

Viewers also liked

Komal Dhawale Resume
Komal Dhawale ResumeKomal Dhawale Resume
Komal Dhawale ResumeKomal Dhawale
 
Propiedad civil y propiedad agraria
Propiedad civil y propiedad agrariaPropiedad civil y propiedad agraria
Propiedad civil y propiedad agrariageorgelys gutierrez
 
Ingredients of a Transition_2017_02_06
Ingredients of a Transition_2017_02_06Ingredients of a Transition_2017_02_06
Ingredients of a Transition_2017_02_06Richard M. Bertrand
 
Inter-service communication
Inter-service communicationInter-service communication
Inter-service communicationSteve Upton
 
2.2 Properties of union, intersection and complement
2.2 Properties of union, intersection and complement2.2 Properties of union, intersection and complement
2.2 Properties of union, intersection and complementJan Plaza
 
CVs Honey Lou Dela Cerna Conag
CVs Honey Lou Dela Cerna ConagCVs Honey Lou Dela Cerna Conag
CVs Honey Lou Dela Cerna ConagHoney Lou Conag
 

Viewers also liked (11)

Untitled-3
Untitled-3Untitled-3
Untitled-3
 
Incentive Systems
Incentive Systems Incentive Systems
Incentive Systems
 
Presentación2
Presentación2Presentación2
Presentación2
 
Komal Dhawale Resume
Komal Dhawale ResumeKomal Dhawale Resume
Komal Dhawale Resume
 
Propiedad civil y propiedad agraria
Propiedad civil y propiedad agrariaPropiedad civil y propiedad agraria
Propiedad civil y propiedad agraria
 
Ingredients of a Transition_2017_02_06
Ingredients of a Transition_2017_02_06Ingredients of a Transition_2017_02_06
Ingredients of a Transition_2017_02_06
 
Tandem Carers
Tandem CarersTandem Carers
Tandem Carers
 
Inter-service communication
Inter-service communicationInter-service communication
Inter-service communication
 
2.2 Properties of union, intersection and complement
2.2 Properties of union, intersection and complement2.2 Properties of union, intersection and complement
2.2 Properties of union, intersection and complement
 
İnşaat sektoru üçün təklif etdiyimiz həllər
İnşaat sektoru üçün təklif etdiyimiz həllərİnşaat sektoru üçün təklif etdiyimiz həllər
İnşaat sektoru üçün təklif etdiyimiz həllər
 
CVs Honey Lou Dela Cerna Conag
CVs Honey Lou Dela Cerna ConagCVs Honey Lou Dela Cerna Conag
CVs Honey Lou Dela Cerna Conag
 

Similar to Microservices (eDR PSD)

DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--asmeerana605
 
E-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarE-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarAbdessattar Ettaieb
 
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...DineshKumar746335
 
MuCon 2015 - Microservices in Integration Architecture
MuCon 2015 - Microservices in Integration ArchitectureMuCon 2015 - Microservices in Integration Architecture
MuCon 2015 - Microservices in Integration ArchitectureKim Clark
 
Microservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design PatternMicroservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design Patternjeetendra mandal
 
Micro service session 1
Micro service   session 1Micro service   session 1
Micro service session 1Amin Arab
 
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptx
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptxChapter 1 & 2 - Introduction-to-Cloud-Computing.pptx
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptxhaileysuszelalem
 
Service-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityService-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityYazd University
 
Building Cloud Network.pptx
Building Cloud Network.pptxBuilding Cloud Network.pptx
Building Cloud Network.pptxHasaanali14
 
Introduction to Enterprise Service Bus
Introduction to Enterprise Service BusIntroduction to Enterprise Service Bus
Introduction to Enterprise Service BusMahmoud Ezzat
 
Service oriented architecture characteristics of soa
Service oriented architecture characteristics  of soaService oriented architecture characteristics  of soa
Service oriented architecture characteristics of soasmithaps4
 
introduction-to-cloud-computing
introduction-to-cloud-computingintroduction-to-cloud-computing
introduction-to-cloud-computingssuserc27607
 
Lecture 1 - Introduction to Cloud Computing.pptx
Lecture 1 - Introduction to Cloud Computing.pptxLecture 1 - Introduction to Cloud Computing.pptx
Lecture 1 - Introduction to Cloud Computing.pptxHuyLc16
 
Agile integration: Decomposing the monolith
Agile integration: Decomposing the monolith Agile integration: Decomposing the monolith
Agile integration: Decomposing the monolith Judy Breedlove
 
Service Oriented Architecture.pptx
Service Oriented Architecture.pptxService Oriented Architecture.pptx
Service Oriented Architecture.pptxsiddharth246936
 

Similar to Microservices (eDR PSD) (20)

SOA Princples : 7. service autonomy
SOA Princples : 7. service autonomySOA Princples : 7. service autonomy
SOA Princples : 7. service autonomy
 
DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--
 
E-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarE-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb Abdessattar
 
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
 
MuCon 2015 - Microservices in Integration Architecture
MuCon 2015 - Microservices in Integration ArchitectureMuCon 2015 - Microservices in Integration Architecture
MuCon 2015 - Microservices in Integration Architecture
 
Microservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design PatternMicroservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design Pattern
 
Microservice's in detailed
Microservice's in detailedMicroservice's in detailed
Microservice's in detailed
 
Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014
 
Micro service session 1
Micro service   session 1Micro service   session 1
Micro service session 1
 
SOA and Monolith Architecture - Micro Services.pptx
SOA and Monolith Architecture - Micro Services.pptxSOA and Monolith Architecture - Micro Services.pptx
SOA and Monolith Architecture - Micro Services.pptx
 
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptx
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptxChapter 1 & 2 - Introduction-to-Cloud-Computing.pptx
Chapter 1 & 2 - Introduction-to-Cloud-Computing.pptx
 
Service-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to ReusabilityService-oriented Architecture with Respect to Reusability
Service-oriented Architecture with Respect to Reusability
 
Building Cloud Network.pptx
Building Cloud Network.pptxBuilding Cloud Network.pptx
Building Cloud Network.pptx
 
Introduction to Enterprise Service Bus
Introduction to Enterprise Service BusIntroduction to Enterprise Service Bus
Introduction to Enterprise Service Bus
 
Service oriented architecture characteristics of soa
Service oriented architecture characteristics  of soaService oriented architecture characteristics  of soa
Service oriented architecture characteristics of soa
 
4582349.ppt
4582349.ppt4582349.ppt
4582349.ppt
 
introduction-to-cloud-computing
introduction-to-cloud-computingintroduction-to-cloud-computing
introduction-to-cloud-computing
 
Lecture 1 - Introduction to Cloud Computing.pptx
Lecture 1 - Introduction to Cloud Computing.pptxLecture 1 - Introduction to Cloud Computing.pptx
Lecture 1 - Introduction to Cloud Computing.pptx
 
Agile integration: Decomposing the monolith
Agile integration: Decomposing the monolith Agile integration: Decomposing the monolith
Agile integration: Decomposing the monolith
 
Service Oriented Architecture.pptx
Service Oriented Architecture.pptxService Oriented Architecture.pptx
Service Oriented Architecture.pptx
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Microservices (eDR PSD)

  • 1. Microservices A brief introduction to services and microservices
  • 2. What is a service? “a mechanism to enable access to one or more capabilities, where the access is provided using a prescribed interface and is exercised consistent with constraints and policies as specified by the service description. “ OASIS Reference Model for Service Oriented Architecture
  • 3. What is a service? “enable access to one or more capabilities” • Delegated functionality to specialists (no general specialist) “access is provided using a prescribed interface ” • Enforces a distributed architecture, communicating by: • REST, SOAP, AMQP, MSQM, JMS, etc.. ” is exercised consistent with constraints and policies as specified by the service description. ” • Abides by the Service Contract
  • 4. Service contract Agreement between a service and its consumer that specifies inbound and outbound data as well as the format.
  • 5. Service contract We have to consider: • Service availability • Service responsiveness • Circuit breaker pattern (if service is not in-memory/remote) • Versioning (heterogeneous or homogeneous) • Security (e.g. authentication) • Transactions (ACID compliance)
  • 6. Example • Sys AV Scanner • Enables access to a virus scanning service • Access is provided using REST • Responds using JSON • Sys understands the communication protocol “inbound data” • Sys understands the response “outbound data”
  • 7. Advantages • Scalable • Decoupled • Better control over development, testing and deployment • Easier maintenance • and theoretically is costs less for the business [once it’s up and running]
  • 8. Heterogeneous & Homogeneous Versioning Homogeneous versioning uses version numbers across the same contract. Heterogeneous versioning uses different types of the same contract.
  • 9. Disadvantages • Increased complexity • Increased cost • Service contracts can be difficult • What happens if a service I need to connect to is no longer available?
  • 11. Characteristics: Taxonomy Two types of classification: • Service Type Type of role the service plays in the overall architecture • Business Area Type of role the service plays in the business application
  • 12. Characteristics: Taxonomy Many functional services and private-shared infrastructure services
  • 13. Characteristics: Granularity Microservices are small, fine-grained services. They do one thing, and they do it well. • Granularity affects performance! • Service Contract overhead can add 100ms to the total response time • Can impede ACID compliance if services are too granular
  • 14. Characteristics: Choreography / Orchestration Orchestration: coordination with a central mediator Choreography: coordination without a central mediator Microservices favour orchestration over choreography Too much choreography can lead to higher efferent coupling • The degree to which one component is dependent on other components to complete a single business request
  • 15. Characteristics: Choreography / Orchestration Don’t be afraid to redefine services in a more coarsely-grained manner!
  • 16. Characteristics: Topology Microservices have an API layer • Mediator in service orchestration • Server-access façade • Introduces abstraction • Context awareness • Each service can share or have its own access to the infrastructure layer.
  • 17. Capabilities: Application scope • Microservices are suited to well-partitioned systems
  • 18. Capabilities: Heterogeneous Interoperability The ability to integrate different programming languages and platforms • Microservices support protocol-aware-heteronegeous-interopability • Protocol between API layer and service MUST be the same • SOA also supports protocol-agnostic-heterogeneous-interopability • Hallelujah for that protocol-transforming middleware
  • 19. What else can’t Microservices do? Contract decoupling Mediation / Routing Protocol Transformation
  • 20. Contract decoupling • Allow services to consume a message that does not abide to the service contract • Message Transformation • Convert XML to JSON • Message Enhancement • Normalise date/time format
  • 21. Mediation / Routing • Provides the ability to mediate (discover services) and route a request • A service registry typically acts as the central service configuration repository
  • 22. Protocol Transformation • Enables protocol agnostic heterogenous interopability • Potentially allows service optimisation • Service A can only communicate in SOAP, Service B is much faster at accepting requests in REST