SlideShare a Scribd company logo
FromMonolithstoMicroservices
Wikipedia Definition: Microservices are a software development technique—a
variant of the service-oriented architecture (SOA) architectural stylethat structures an
application as a collection ofloosely coupled services.
Overview:
Software world till date hasbeen dominated by monolithic applications. In short
Monolithic =“Bulky applications having their components tightly
coupled/dependent on eachother.” Theseapplications are alsocalled n-tier
applications becausethey have n-tiers ORn-levels ORn- layers. (e.g. – 3-tier, 3-
layer architecture) Companies till date have faced alot of problems with
monolithic applications regarding maintenance, scalability and extensibility. In
this article, we will understand how you canapply your existing knowledge of
monolithic applications to dive into anew world of microservices for
development of your application if you want to move someday into cloud or want
tosurvive in this competitive market.
Askfollowing questions to yourself:
 What you have now?Ans:Monolithicapplications
 What you want forfuture? Ans: Microservice application
 Whyyou want microservices?Ans:Becausewe want to take benefits of
cloud technology in near / distant future.
 Isthere any successfulexample of microservice application?Ans:Netflix
Analogy
Monolithic application Micro services
Characteristics of monolithic application
 Singledeployable unit (E.g.– WARfile in Java,DLL/EXEor web application
in .NET
 Consistsof multiple parts / layers. Usually3-tier applications accordingto
purpose:
o Database layer: Handlesall database/storage relatedoperations
o Businesslogic layer: Handlesproduct specificlogic
o Presentation layer: HandlesUIscreens.
 Deepparent-derived classhierarchy
 Hosted on single PCat atime.
Challenges of monolithic application
 Troubleshooting: If afault occurs it’s difficult to pinpoint where that fault
occurred becauseapplication ishuge.
 Scalability: If your application performance is slow you cannot scale
individual parts asthese parts are heavily interconnected with other parts.
Usual approachesin scalingmonolithic applications are increasing number
of servers, RAM,disk space,load balancers and increasing count of VMson
which these applications arehosted.
 New functionality canimpact whole application inabad way
 Deployment: Time consuming due to repeated QAcycles and integration
testing.
 Same technologystack: If entire application is developed in one technology
stack(E.g.- .NET)then you cant switch parts of this application with
another
technology stack(E.g.– Java)with easeand error-freemanner.
 Unsuitable for cloud: BigNO-NO!!!
 Work of development teams need to be synchronizedwith each other
w.r.t to goals.
Are you fed up due to above characteristics and challenges of monolithic
applications BEFORE moving intocloud?
Remedy:Microservices
Characteristics of microservices application
 Bit sizedcomponents
 Deployment isindependent
 Isolating service iseasier
 Canscaleasmuch asyou want without affecting other parts
 Canadd new functionality
 Chooseany technology stack of your choice
 Made for cloud
 Independent teams canhave sameor differentgoals
Challenges of microservices application
 Number of microservices
 Pinpointing fault to 1 or more microservices is difficult. Oncefault is found,
service canbe isolated.
 EmbraceDevOpsteam culture
 Testingis distributed and dependent on lot of independent factors.
 Designing with failure inmind
 Synchronization of information between differentmicroservices
Architectural difference between Monolithic andMicroservice
application
Monolithic application Micro services
Factors to consider while migrating monolithic applicationto
Microservice application
 Project deadline andbudget
 Technicalskillset of resources or technology stackpreference
 Readinessto embrace DevOpsculture
 Value in the eyesof customer andmanagement
 Readinessto deal withdistributed application architecture
 Ability to handle multipledevelopment teams
 Benefits of migrating tocloud
 Number/Complexity of features tobe migrated
In the next article we would see different architectural patterns for
developing Microservice aplications.
Please let me know your comments/suggestions.

More Related Content

Similar to From Monolithic applications to Microservices (20)

PPTX
Microservice intro
ramesh_sharma
 
PPTX
Comparative Analysis of Software Architectures.pptx
ssuserecd44f
 
PDF
Introduction to Micro Services
Shashi Shekhar
 
PPTX
Micro Services Architecture
Rabbani Mohideen
 
PPTX
MICROSERVICES ARCHITECTURE unit -2.pptx
MohammedShahid562503
 
PPTX
Pragmatic Microservices
Randy Shoup
 
PPTX
Microservices with Mule
Coforge (Erstwhile WHISHWORKS)
 
PDF
Building microservices on azure
Vaibhav Gujral
 
PPTX
Software architectures
Amandeep Singh
 
PDF
Microservices for Application Modernisation
Ajay Kumar Uppal
 
PDF
Microservice final final
gaurav shukla
 
PPTX
Architecting for speed: How agile innovators accelerate growth through micros...
Jesper Nordström
 
PPTX
Architecting for speed - how agile innovators accelerate growth through micro...
3gamma
 
PPTX
Microservices with mule
alfa
 
PDF
Microservices: Detailed Guide
Biztech Consulting & Solutions
 
PDF
Term paper 2073131
mtestman
 
PPTX
Microservices
Rajesh Kumar
 
PDF
What Is Microservices Architecture and How Does It Benefit App Development.pdf
Dina G
 
PPTX
Micro-services architecture
Farwa Ansari
 
PPTX
Introduction to Microservices
MahmoudZidan41
 
Microservice intro
ramesh_sharma
 
Comparative Analysis of Software Architectures.pptx
ssuserecd44f
 
Introduction to Micro Services
Shashi Shekhar
 
Micro Services Architecture
Rabbani Mohideen
 
MICROSERVICES ARCHITECTURE unit -2.pptx
MohammedShahid562503
 
Pragmatic Microservices
Randy Shoup
 
Microservices with Mule
Coforge (Erstwhile WHISHWORKS)
 
Building microservices on azure
Vaibhav Gujral
 
Software architectures
Amandeep Singh
 
Microservices for Application Modernisation
Ajay Kumar Uppal
 
Microservice final final
gaurav shukla
 
Architecting for speed: How agile innovators accelerate growth through micros...
Jesper Nordström
 
Architecting for speed - how agile innovators accelerate growth through micro...
3gamma
 
Microservices with mule
alfa
 
Microservices: Detailed Guide
Biztech Consulting & Solutions
 
Term paper 2073131
mtestman
 
Microservices
Rajesh Kumar
 
What Is Microservices Architecture and How Does It Benefit App Development.pdf
Dina G
 
Micro-services architecture
Farwa Ansari
 
Introduction to Microservices
MahmoudZidan41
 

Recently uploaded (20)

PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
July Patch Tuesday
Ivanti
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Ad

From Monolithic applications to Microservices

  • 1. FromMonolithstoMicroservices Wikipedia Definition: Microservices are a software development technique—a variant of the service-oriented architecture (SOA) architectural stylethat structures an application as a collection ofloosely coupled services. Overview: Software world till date hasbeen dominated by monolithic applications. In short Monolithic =“Bulky applications having their components tightly coupled/dependent on eachother.” Theseapplications are alsocalled n-tier applications becausethey have n-tiers ORn-levels ORn- layers. (e.g. – 3-tier, 3- layer architecture) Companies till date have faced alot of problems with monolithic applications regarding maintenance, scalability and extensibility. In this article, we will understand how you canapply your existing knowledge of monolithic applications to dive into anew world of microservices for development of your application if you want to move someday into cloud or want tosurvive in this competitive market. Askfollowing questions to yourself:  What you have now?Ans:Monolithicapplications  What you want forfuture? Ans: Microservice application  Whyyou want microservices?Ans:Becausewe want to take benefits of cloud technology in near / distant future.  Isthere any successfulexample of microservice application?Ans:Netflix
  • 2. Analogy Monolithic application Micro services Characteristics of monolithic application  Singledeployable unit (E.g.– WARfile in Java,DLL/EXEor web application in .NET  Consistsof multiple parts / layers. Usually3-tier applications accordingto purpose: o Database layer: Handlesall database/storage relatedoperations o Businesslogic layer: Handlesproduct specificlogic o Presentation layer: HandlesUIscreens.  Deepparent-derived classhierarchy  Hosted on single PCat atime. Challenges of monolithic application  Troubleshooting: If afault occurs it’s difficult to pinpoint where that fault occurred becauseapplication ishuge.  Scalability: If your application performance is slow you cannot scale individual parts asthese parts are heavily interconnected with other parts. Usual approachesin scalingmonolithic applications are increasing number of servers, RAM,disk space,load balancers and increasing count of VMson which these applications arehosted.  New functionality canimpact whole application inabad way
  • 3.  Deployment: Time consuming due to repeated QAcycles and integration testing.  Same technologystack: If entire application is developed in one technology stack(E.g.- .NET)then you cant switch parts of this application with another technology stack(E.g.– Java)with easeand error-freemanner.  Unsuitable for cloud: BigNO-NO!!!  Work of development teams need to be synchronizedwith each other w.r.t to goals. Are you fed up due to above characteristics and challenges of monolithic applications BEFORE moving intocloud? Remedy:Microservices Characteristics of microservices application  Bit sizedcomponents  Deployment isindependent  Isolating service iseasier  Canscaleasmuch asyou want without affecting other parts  Canadd new functionality  Chooseany technology stack of your choice  Made for cloud  Independent teams canhave sameor differentgoals Challenges of microservices application  Number of microservices  Pinpointing fault to 1 or more microservices is difficult. Oncefault is found, service canbe isolated.  EmbraceDevOpsteam culture  Testingis distributed and dependent on lot of independent factors.  Designing with failure inmind
  • 4.  Synchronization of information between differentmicroservices Architectural difference between Monolithic andMicroservice application Monolithic application Micro services Factors to consider while migrating monolithic applicationto Microservice application  Project deadline andbudget  Technicalskillset of resources or technology stackpreference  Readinessto embrace DevOpsculture  Value in the eyesof customer andmanagement  Readinessto deal withdistributed application architecture  Ability to handle multipledevelopment teams  Benefits of migrating tocloud  Number/Complexity of features tobe migrated
  • 5. In the next article we would see different architectural patterns for developing Microservice aplications. Please let me know your comments/suggestions.