SlideShare a Scribd company logo
Microservices with mule
 Microservices has been a buzz word for past few years. It talks about a technique of designing
integrations and APIs as an independently deployable service. While there is no exact definition
of this architectural style, there are certain common characteristics around organisations
around business capabilities, automated deployments, intelligent endpoints and distributed
control of data.
 Before we start on microservice style, it would be useful to compare it with the monolithic
style. A monolithic application is built as a single unit. Enterprise Applications are often built in
three main parts: a client-side user interface (consisting of HTML pages and/or JavaScript
running in a browser), a database (consisting of many tables usually a relational database
management system) and a server-side application. The server-side application will handle
HTTP requests, execute some domain specific logic, retrieve and update data from the
database and populate the HTML views to be sent to the browser. This server-side application
is a monolith – a single logical executable. Any changes to the system involves building and
deploying a new version of the server-side application.
 Such a monolithic server is a natural and has a simple approach for building such a system. All
the logic for handling a request runs in a single process, allowing us to use the basic features
of the language to divide up the application into classes, functions, and namespaces. With
some care, we can run and test the application on a developer’s laptop, and use a deployment
pipeline to ensure that changes are properly tested and deployed into production. We can
horizontally scale the monolith by running many instances behind a load-balancer.
 Monolithic applications can be successful, but increasingly people are frustrated with them as
more applications are being deployed to the cloud. Change cycles are tied together; even if a
small change is made to the application, it requires the entire monolith to be rebuilt and
deployed. Over time it is often hard to keep a good modular structure, making it harder to
keep changes that ought to only affect one module within that module. Scaling requires entire
application to be scaled rather than parts of it that may only require more resources.
 These obstructions have led to the Microservices architectural style of building applications as
suites of services. These services would be independently deployable and scalable. Each service
also provides a stable module boundary, even allowing us to write different services in
different programming languages. They can also be managed by different teams as well.
 There is no formal definition for Microservices architectural style,
but we can frame our understanding based on the details that
microservice approach to division is different, splitting up into
services organised around business capability. Such services take
a broad-stack implementation of software for that business area,
including user-interface, persistent storage, and any external
collaborations.
 The common manifestation of SOA has led some microservice
advocates to reject the SOA label entirely, although others
consider microservices to be one form of SOA. We will discuss
here how it fits our purpose in the integrations.
 Here we can see a difference between the monolithic architecture
and a microservices architecture. There may be a few variations
based on the distribution of the back end services of the
databases. In some cases the legacy backend applications may
not be shifted or changed as influence of cost plays an important
role.
Microservices with mule
 Here we see that the services are broken down based on the business
modularity and those can be developed and deployed independently of
each other unless the business required all at the same time.
 We can achieve a clear micro service architecture for any green field
project. There can be various solutions based on the existing enterprise
architecture, availability of requirements and customer’s view resulting
into different type of implementations. But we can ensure that the
services implemented can be made available in a modular approach so
that they are developed and delivered independently.
 The micro service architecture illustrated in the above diagram has a
third service with two instances. We can scale individual services instead
of full set of applications based on the requirement and the volume
expected for individual service.
 Considering the above example in the image, the monolithic database
may be an existing system for which the customer may not be willing to
transform as their current business might have an impact and would also
cost a lot. In these cases, we can create an integration architecture that
would cater to the need of mediating the existing services and provide
APIs that can be independently deployed and exposed for the other
external systems that is expected to be integrated into the system.
 The approach to micro services is not about hitting it directly but rather
about designing the whole set of services, then group them functionally
and split them further into micro services accordingly.
 If we follow micro services architecture principles and
choose to implement granular services, we can easily
deploy these services on the CloudHub independently
and can scale up or down as and when necessary
without impacting any other services within the EAI
landscape. Each service or API is created as a
separate application containing the mediation flow
required for the underlying requirement. Every
individual application can be managed independently.
The same is possible if we plan to go with the Mule
ESB EE deployment strategy as well. The scaling factor
is out of the box supported on CloudHub through the
admin console whereas for EE deployment it would be
dependent on the underlying infrastructure design.
 Parallel development can progress as the
functionalities are not overlapping and these are
designed to operate independently. Placing these
components and APIs as micro services also provides
an opportunity to plan granular releases. This also
implies that the releases can follow agile process and
methodologies.
 Some benefits include exposing of granular services
from the legacy applications or complex solutions
that can be consumed by new ecommerce solutions
and / or mobile applications.
 It is not necessary to have a full
detailed requirements for all the planned services. We
can create, enhance and expose the services to the
consumers with an agile/iterative delivery model

More Related Content

PDF
Microservices with mule whishworks blog
PPTX
Mule introduction
PPT
PPTX
Service Oriented Computing
PPTX
Mule esb
PDF
Reservoir sla@soi-interop-tech report
PDF
Introduction to Micro Services
PPT
Anypoint data gateway
Microservices with mule whishworks blog
Mule introduction
Service Oriented Computing
Mule esb
Reservoir sla@soi-interop-tech report
Introduction to Micro Services
Anypoint data gateway

What's hot (18)

PDF
Web Based Application for Rent or Sale
PPT
Mule Esb Fundamentals
PDF
Cloud based integration_and_soa_architecture
PPT
Mule microsoft environment
PDF
Cloud MicroService Architecture
PDF
Future of Integration | MuleSoft
PPT
Enterprise Service Bus
ODP
Mule esb integration patterns
PPT
Understanding The Concept of SOA in Computer Programming
PPTX
PPT
2. muleesb
PPT
Mulethenewtechnology 12549172699166-phpapp03-160421133841
PPT
Mule saas
PPTX
Micro services overview
ODP
Mule esb architectural styles
PPTX
Mule introduction
PPT
Mule cloud hub
PPTX
Uunit 5-xml&web security
Web Based Application for Rent or Sale
Mule Esb Fundamentals
Cloud based integration_and_soa_architecture
Mule microsoft environment
Cloud MicroService Architecture
Future of Integration | MuleSoft
Enterprise Service Bus
Mule esb integration patterns
Understanding The Concept of SOA in Computer Programming
2. muleesb
Mulethenewtechnology 12549172699166-phpapp03-160421133841
Mule saas
Micro services overview
Mule esb architectural styles
Mule introduction
Mule cloud hub
Uunit 5-xml&web security
Ad

Similar to Microservices with mule (20)

PPTX
Microservices with mule
PDF
Term paper 2073131
PDF
Meetup6 microservices for the IoT
PDF
Microservice final final
PDF
What are the Advantages and Disadvantages of Microservices?
PDF
Architecting for speed: how agile innovators accelerate growth through micros...
PDF
Architecting for speed: how agile innovators accelerate growth through micros...
PPTX
05 microservices microdeck
PDF
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
PDF
International Journal of Software Engineering & Applications(IJSEA)
PPTX
Microservices with Mule
PPTX
Service Oriented Architecture.pptx
PDF
Microservices: Detailed Guide
PDF
BUSINESS SILOS INTEGRATION USING SERVICE ORIENTED ARCHITECTURE
PPT
SOA@MODULE-III.pptSOA@MODULE-III.pptSOA@MODULE-III.ppt
PPTX
Introduction to Microservices
PDF
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
PDF
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
DOCX
service orentation documentation
PDF
Microservices in cloud-based infrastructure
Microservices with mule
Term paper 2073131
Meetup6 microservices for the IoT
Microservice final final
What are the Advantages and Disadvantages of Microservices?
Architecting for speed: how agile innovators accelerate growth through micros...
Architecting for speed: how agile innovators accelerate growth through micros...
05 microservices microdeck
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
International Journal of Software Engineering & Applications(IJSEA)
Microservices with Mule
Service Oriented Architecture.pptx
Microservices: Detailed Guide
BUSINESS SILOS INTEGRATION USING SERVICE ORIENTED ARCHITECTURE
SOA@MODULE-III.pptSOA@MODULE-III.pptSOA@MODULE-III.ppt
Introduction to Microservices
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
service orentation documentation
Microservices in cloud-based infrastructure
Ad

Recently uploaded (20)

PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
cuic standard and advanced reporting.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
Big Data Technologies - Introduction.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
cuic standard and advanced reporting.pdf
1. Introduction to Computer Programming.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
Mobile App Security Testing_ A Comprehensive Guide.pdf
Tartificialntelligence_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A comparative analysis of optical character recognition models for extracting...
Group 1 Presentation -Planning and Decision Making .pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Big Data Technologies - Introduction.pptx

Microservices with mule

  • 2.  Microservices has been a buzz word for past few years. It talks about a technique of designing integrations and APIs as an independently deployable service. While there is no exact definition of this architectural style, there are certain common characteristics around organisations around business capabilities, automated deployments, intelligent endpoints and distributed control of data.  Before we start on microservice style, it would be useful to compare it with the monolithic style. A monolithic application is built as a single unit. Enterprise Applications are often built in three main parts: a client-side user interface (consisting of HTML pages and/or JavaScript running in a browser), a database (consisting of many tables usually a relational database management system) and a server-side application. The server-side application will handle HTTP requests, execute some domain specific logic, retrieve and update data from the database and populate the HTML views to be sent to the browser. This server-side application is a monolith – a single logical executable. Any changes to the system involves building and deploying a new version of the server-side application.  Such a monolithic server is a natural and has a simple approach for building such a system. All the logic for handling a request runs in a single process, allowing us to use the basic features of the language to divide up the application into classes, functions, and namespaces. With some care, we can run and test the application on a developer’s laptop, and use a deployment pipeline to ensure that changes are properly tested and deployed into production. We can horizontally scale the monolith by running many instances behind a load-balancer.  Monolithic applications can be successful, but increasingly people are frustrated with them as more applications are being deployed to the cloud. Change cycles are tied together; even if a small change is made to the application, it requires the entire monolith to be rebuilt and deployed. Over time it is often hard to keep a good modular structure, making it harder to keep changes that ought to only affect one module within that module. Scaling requires entire application to be scaled rather than parts of it that may only require more resources.  These obstructions have led to the Microservices architectural style of building applications as suites of services. These services would be independently deployable and scalable. Each service also provides a stable module boundary, even allowing us to write different services in different programming languages. They can also be managed by different teams as well.
  • 3.  There is no formal definition for Microservices architectural style, but we can frame our understanding based on the details that microservice approach to division is different, splitting up into services organised around business capability. Such services take a broad-stack implementation of software for that business area, including user-interface, persistent storage, and any external collaborations.  The common manifestation of SOA has led some microservice advocates to reject the SOA label entirely, although others consider microservices to be one form of SOA. We will discuss here how it fits our purpose in the integrations.  Here we can see a difference between the monolithic architecture and a microservices architecture. There may be a few variations based on the distribution of the back end services of the databases. In some cases the legacy backend applications may not be shifted or changed as influence of cost plays an important role.
  • 5.  Here we see that the services are broken down based on the business modularity and those can be developed and deployed independently of each other unless the business required all at the same time.  We can achieve a clear micro service architecture for any green field project. There can be various solutions based on the existing enterprise architecture, availability of requirements and customer’s view resulting into different type of implementations. But we can ensure that the services implemented can be made available in a modular approach so that they are developed and delivered independently.  The micro service architecture illustrated in the above diagram has a third service with two instances. We can scale individual services instead of full set of applications based on the requirement and the volume expected for individual service.  Considering the above example in the image, the monolithic database may be an existing system for which the customer may not be willing to transform as their current business might have an impact and would also cost a lot. In these cases, we can create an integration architecture that would cater to the need of mediating the existing services and provide APIs that can be independently deployed and exposed for the other external systems that is expected to be integrated into the system.  The approach to micro services is not about hitting it directly but rather about designing the whole set of services, then group them functionally and split them further into micro services accordingly.
  • 6.  If we follow micro services architecture principles and choose to implement granular services, we can easily deploy these services on the CloudHub independently and can scale up or down as and when necessary without impacting any other services within the EAI landscape. Each service or API is created as a separate application containing the mediation flow required for the underlying requirement. Every individual application can be managed independently. The same is possible if we plan to go with the Mule ESB EE deployment strategy as well. The scaling factor is out of the box supported on CloudHub through the admin console whereas for EE deployment it would be dependent on the underlying infrastructure design.
  • 7.  Parallel development can progress as the functionalities are not overlapping and these are designed to operate independently. Placing these components and APIs as micro services also provides an opportunity to plan granular releases. This also implies that the releases can follow agile process and methodologies.  Some benefits include exposing of granular services from the legacy applications or complex solutions that can be consumed by new ecommerce solutions and / or mobile applications.  It is not necessary to have a full detailed requirements for all the planned services. We can create, enhance and expose the services to the consumers with an agile/iterative delivery model