SlideShare a Scribd company logo
September 10, 2015 by Govind Mulinti API , ESB , Mule ESB , SOA No Comment
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.
Microservices
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.
 
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.
How MuleSoft ESB comes into play
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.
Supplementary Benefits
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

PPTX
Microservices with mule
PPT
Enterprise Service Bus
PPTX
Mba ii u v enterprise application integration
PPTX
Microservices
PPT
Middleware 2002
PDF
Introduction to Micro Services
PPT
SOA for SSME 2009
PPT
Enterprise application integration
Microservices with mule
Enterprise Service Bus
Mba ii u v enterprise application integration
Microservices
Middleware 2002
Introduction to Micro Services
SOA for SSME 2009
Enterprise application integration

What's hot (20)

PPT
Can IBM i play with SOA?
PPTX
Solution-Architectures-MADP-20180125
PPTX
Service Oriented Architecture
PDF
AEA Microservices Presentation Oct2015
PDF
Meeting Mobile and BYOD Security Challenges
PPTX
Mdd Lcds
ODP
Mule esb integration patterns
PPTX
Introduction to Mule ESB
PPTX
Connector Framework
PDF
LiveCycle Architecture
PDF
Reservoir sla@soi-interop-tech report
PPT
Implementing SOA with Portal, an IBM Impact 2010 Presentation
PPT
Enterprise Portals 2.0 in Oracle
PPTX
Fy10 Software + Services Cloud Overview 2 of 4
PPT
Eight Pillars of an Enterprise Application Architecture
ODP
Mule esb architectural styles
PDF
Web CMS Based News & Media Portal For Russian Citizens
PDF
Keynote - The Benefits of an Open Service Oriented Architecture in the Enterpr...
PPTX
Short Sales Overview of EmpowerID
Can IBM i play with SOA?
Solution-Architectures-MADP-20180125
Service Oriented Architecture
AEA Microservices Presentation Oct2015
Meeting Mobile and BYOD Security Challenges
Mdd Lcds
Mule esb integration patterns
Introduction to Mule ESB
Connector Framework
LiveCycle Architecture
Reservoir sla@soi-interop-tech report
Implementing SOA with Portal, an IBM Impact 2010 Presentation
Enterprise Portals 2.0 in Oracle
Fy10 Software + Services Cloud Overview 2 of 4
Eight Pillars of an Enterprise Application Architecture
Mule esb architectural styles
Web CMS Based News & Media Portal For Russian Citizens
Keynote - The Benefits of an Open Service Oriented Architecture in the Enterpr...
Short Sales Overview of EmpowerID
Ad

Similar to Microservices with mule whishworks blog (20)

PPTX
Microservices with mule
PDF
Meetup6 microservices for the IoT
PDF
APIs and Microservices - What Are They?
PDF
Term paper 2073131
PDF
Mule : Building Blocks for Microservices
PDF
Web Application Architecture: A Comprehensive Guide for Success in 2023
PPTX
Microservice architecture
PDF
A Comprehensive Guide to Web Application Architecture
PDF
[WSO2Con EU 2017] Microservices for Enterprises
PPTX
Legacy modernization, cloud orchestration, api publishing
PDF
Why Microservice
PPTX
Introduction to Microservices
PDF
CWIN17 Utrecht / cg u services - frank van der wal
PPTX
Twelve factor-app
PPT
SOA Fundamentals
PDF
Cloud MicroService Architecture
PPTX
The App Evolution
PDF
Microservices (en)
PPTX
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
PDF
Microservices: Where do they fit within a rapidly evolving integration archit...
Microservices with mule
Meetup6 microservices for the IoT
APIs and Microservices - What Are They?
Term paper 2073131
Mule : Building Blocks for Microservices
Web Application Architecture: A Comprehensive Guide for Success in 2023
Microservice architecture
A Comprehensive Guide to Web Application Architecture
[WSO2Con EU 2017] Microservices for Enterprises
Legacy modernization, cloud orchestration, api publishing
Why Microservice
Introduction to Microservices
CWIN17 Utrecht / cg u services - frank van der wal
Twelve factor-app
SOA Fundamentals
Cloud MicroService Architecture
The App Evolution
Microservices (en)
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
Microservices: Where do they fit within a rapidly evolving integration archit...
Ad

More from saikuppannagari (20)

PDF
5 white coloured foods to avoid during pregnancy
PDF
How to remove acrylic nails
PDF
Health benefits of pistachios
PPT
How to get rid of a pimple on your lip
PPT
Pesarattu recipe or moong dal dosa recipe
PDF
Muslim style chicken biryani recipe
PDF
Side effects of dandruff
PDF
Healthy ragi koozh recipe
PDF
Dental care and oral hygiene solutions
PPT
How to develop a killer hr strategy
PDF
Emergency services item categories doorstephub
PDF
Godhuma rava sweet recipe
PDF
How to get rid of hiccups in 60 seconds
PDF
17 health benefits of standing yabibo
PDF
Top 10 foods that cause body odour
PPT
Sellersq ppt
PDF
Health benefits of papaya seeds
PDF
Uses of rose water
PPT
Tenantprime specifications
PPT
Tenant prime features
5 white coloured foods to avoid during pregnancy
How to remove acrylic nails
Health benefits of pistachios
How to get rid of a pimple on your lip
Pesarattu recipe or moong dal dosa recipe
Muslim style chicken biryani recipe
Side effects of dandruff
Healthy ragi koozh recipe
Dental care and oral hygiene solutions
How to develop a killer hr strategy
Emergency services item categories doorstephub
Godhuma rava sweet recipe
How to get rid of hiccups in 60 seconds
17 health benefits of standing yabibo
Top 10 foods that cause body odour
Sellersq ppt
Health benefits of papaya seeds
Uses of rose water
Tenantprime specifications
Tenant prime features

Recently uploaded (20)

PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PDF
Types of control:Qualitative vs Quantitative
DOCX
Business Management - unit 1 and 2
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PDF
How to Get Business Funding for Small Business Fast
PPTX
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
PPT
Data mining for business intelligence ch04 sharda
PDF
Chapter 5_Foreign Exchange Market in .pdf
PDF
Roadmap Map-digital Banking feature MB,IB,AB
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PDF
WRN_Investor_Presentation_August 2025.pdf
PPTX
5 Stages of group development guide.pptx
PDF
Laughter Yoga Basic Learning Workshop Manual
PPTX
Lecture (1)-Introduction.pptx business communication
PDF
IFRS Notes in your pocket for study all the time
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
PPTX
Amazon (Business Studies) management studies
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
Types of control:Qualitative vs Quantitative
Business Management - unit 1 and 2
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
COST SHEET- Tender and Quotation unit 2.pdf
How to Get Business Funding for Small Business Fast
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
Data mining for business intelligence ch04 sharda
Chapter 5_Foreign Exchange Market in .pdf
Roadmap Map-digital Banking feature MB,IB,AB
ICG2025_ICG 6th steering committee 30-8-24.pptx
WRN_Investor_Presentation_August 2025.pdf
5 Stages of group development guide.pptx
Laughter Yoga Basic Learning Workshop Manual
Lecture (1)-Introduction.pptx business communication
IFRS Notes in your pocket for study all the time
340036916-American-Literature-Literary-Period-Overview.ppt
DOC-20250806-WA0002._20250806_112011_0000.pdf
Amazon (Business Studies) management studies
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry

Microservices with mule whishworks blog