SlideShare a Scribd company logo
1 of 2
Download to read offline
Monolithic architecture vs Microservices
Before jumping into a tug of war of Monolithic v/s Microservices, let’s imagine that there’s a TV
manufacturing company that manufactures every spare part in their factory & assemble it. When they
wanted to scale their business to produce more TVs, they had no other option but to replicate their
factory set up at 10 different locations. Though they produced more TV units per day, this also
increased a lot of their costing. One of the biggest issue in their factory set up was inter-dependency.
Until & unless the previous spare part wasn’t ready, they couldn’t manufacture the next part.
And there was another TV manufacturing company that had multiple small factories at nearby
locations. Each of the factories manufactured a specific spare part, which was then assembled
together. This made the entire manufacturing process totally independent. Also, when they wanted to
scale their business, they opened only those factories for whom the spare part demand was high.
This is exactly what monolithic architecture v/s microservices is.
A monolithic application is one where the entire application is packaged into a single artifact which
runs as a single process. Though you can always scale monolithic application by running multiple
copies of your application behind a load balancer, scaling your application beyond a point becomes
such a big pain with monolithic architecture.
Monolithic benefits–
• It is easy to develop & test.
• Their deployment just requires your packaged application to be copied to the server.
Monolithic shortcomings–
• It becomes so much difficult for different teams say UI team, Database team, Backend team
etc. to work independently. Any update or change affects all of them.
• Adding any new functionality is always a nightmare to a stable monolithic application.
• More the code grows, slower the entire application becomes.
• Even for new developers in a team, it gets difficult to understand the entire ecosystem. Also,
any small misinterpretation can lead to a major setback to the entire application.
• With a monolithic application, it gets difficult to grow with time. You get stuck with a
particular tech-stack & it’s really hard to migrate your application to a better framework.
• Monolithic application increases memory consumption. Also, there can be so many such
cases where there is just one component who must be eating the entire memory or another
who must be very CPU intensive, but there is no way to make each of the component run
independently.
And that is why Micro services have become such a fad.
Fact#1- Netflix, Uber, Amazon, eBay, Groupon, Walmart, Spotify are just a few
big names who have successfully revitalized their architecture with the power of
microservices.
Microservices architecture is a modular approach to build a large application which is broken into
multiple small services which are independently versionable, deployable & scalable. These services
can be easily managed by different teams & can even be written in different programming languages.
Microservices are totally a bliss when you are planning to develop your application using the agile
methodology and want to develop complex enterprise applications with utmost ease. The individual
modules in microservices have highly distinctive & defined tasks (just like our example). These
modules communicate with each other via universally accessible APIs.
Fact#2 – Failing to handle 6 million page views per minute for 2 consecutive
years on Black Fridays, Walmart realized that it was high time for them to
embrace Microservices.
Microservices Benefits-
• Microservices make continuous integration with tools like Jenkins so much easy.
• Applications based on microservices are scalable as well as reusable.
• It’s super easy for a new developer to understand the functionality of independent services.
• You never have to marry with a single technology for a lifetime.
• Go ahead if you want to try an individual service on a particular technology. You can even
deploy the service independently.
• Microservices are easier to build & maintain & works great with Docker.
Microservices Drawbacks-
• Testing a microservices application is a tricky game.
• At times, microservices architecture adds complexity to the projects since it’s a distributed
system.
To sum up, one should always analyze their project roadmap & finalize whether Monolithic or
microservice architecture suits their needs.
For More Information
Visit:www.visualpath.in

More Related Content

Similar to Microservices training

MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptx
MohammedShahid562503
 
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and MicroservicesRedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
Redis Labs
 

Similar to Microservices training (20)

Microservices
MicroservicesMicroservices
Microservices
 
Microservice architecture : Part 1
Microservice architecture : Part 1Microservice architecture : Part 1
Microservice architecture : Part 1
 
Mobile app-and-microservices-with-ibm-cloud
Mobile app-and-microservices-with-ibm-cloudMobile app-and-microservices-with-ibm-cloud
Mobile app-and-microservices-with-ibm-cloud
 
MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptx
 
Monolithic Architecture: A Closer Look at the Benefits and Drawbacks
Monolithic Architecture:  A Closer Look at the Benefits and DrawbacksMonolithic Architecture:  A Closer Look at the Benefits and Drawbacks
Monolithic Architecture: A Closer Look at the Benefits and Drawbacks
 
Micro services vs Monolith Architecture
Micro services vs Monolith ArchitectureMicro services vs Monolith Architecture
Micro services vs Monolith Architecture
 
Monolithic architecture
Monolithic architectureMonolithic architecture
Monolithic architecture
 
From Monolithic applications to Microservices
From Monolithic applications to MicroservicesFrom Monolithic applications to Microservices
From Monolithic applications to Microservices
 
What are the Advantages and Disadvantages of Microservices?
What are the Advantages and Disadvantages of Microservices? What are the Advantages and Disadvantages of Microservices?
What are the Advantages and Disadvantages of Microservices?
 
Microservices Architecture
Microservices ArchitectureMicroservices Architecture
Microservices Architecture
 
Microservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They MatterMicroservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They Matter
 
AWS Community Day: From Monolith to Microservices - What Could Go Wrong?
AWS Community Day: From Monolith to Microservices - What Could Go Wrong?AWS Community Day: From Monolith to Microservices - What Could Go Wrong?
AWS Community Day: From Monolith to Microservices - What Could Go Wrong?
 
Microservices architecture ext
Microservices architecture extMicroservices architecture ext
Microservices architecture ext
 
Microservices + Oracle: A Bright Future
Microservices + Oracle: A Bright FutureMicroservices + Oracle: A Bright Future
Microservices + Oracle: A Bright Future
 
Microservices vs Monolithic Architecture: Which Approach is Suitable for a St...
Microservices vs Monolithic Architecture: Which Approach is Suitable for a St...Microservices vs Monolithic Architecture: Which Approach is Suitable for a St...
Microservices vs Monolithic Architecture: Which Approach is Suitable for a St...
 
Microservice final final
Microservice final finalMicroservice final final
Microservice final final
 
Architecting for speed: how agile innovators accelerate growth through micros...
Architecting for speed: how agile innovators accelerate growth through micros...Architecting for speed: how agile innovators accelerate growth through micros...
Architecting for speed: how agile innovators accelerate growth through micros...
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
 
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and MicroservicesRedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
 
Technology insights: Decision Science Platform
Technology insights: Decision Science PlatformTechnology insights: Decision Science Platform
Technology insights: Decision Science Platform
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Microservices training

  • 1. Monolithic architecture vs Microservices Before jumping into a tug of war of Monolithic v/s Microservices, let’s imagine that there’s a TV manufacturing company that manufactures every spare part in their factory & assemble it. When they wanted to scale their business to produce more TVs, they had no other option but to replicate their factory set up at 10 different locations. Though they produced more TV units per day, this also increased a lot of their costing. One of the biggest issue in their factory set up was inter-dependency. Until & unless the previous spare part wasn’t ready, they couldn’t manufacture the next part. And there was another TV manufacturing company that had multiple small factories at nearby locations. Each of the factories manufactured a specific spare part, which was then assembled together. This made the entire manufacturing process totally independent. Also, when they wanted to scale their business, they opened only those factories for whom the spare part demand was high. This is exactly what monolithic architecture v/s microservices is. A monolithic application is one where the entire application is packaged into a single artifact which runs as a single process. Though you can always scale monolithic application by running multiple copies of your application behind a load balancer, scaling your application beyond a point becomes such a big pain with monolithic architecture. Monolithic benefits– • It is easy to develop & test. • Their deployment just requires your packaged application to be copied to the server. Monolithic shortcomings– • It becomes so much difficult for different teams say UI team, Database team, Backend team etc. to work independently. Any update or change affects all of them. • Adding any new functionality is always a nightmare to a stable monolithic application. • More the code grows, slower the entire application becomes. • Even for new developers in a team, it gets difficult to understand the entire ecosystem. Also, any small misinterpretation can lead to a major setback to the entire application. • With a monolithic application, it gets difficult to grow with time. You get stuck with a particular tech-stack & it’s really hard to migrate your application to a better framework. • Monolithic application increases memory consumption. Also, there can be so many such cases where there is just one component who must be eating the entire memory or another who must be very CPU intensive, but there is no way to make each of the component run independently. And that is why Micro services have become such a fad.
  • 2. Fact#1- Netflix, Uber, Amazon, eBay, Groupon, Walmart, Spotify are just a few big names who have successfully revitalized their architecture with the power of microservices. Microservices architecture is a modular approach to build a large application which is broken into multiple small services which are independently versionable, deployable & scalable. These services can be easily managed by different teams & can even be written in different programming languages. Microservices are totally a bliss when you are planning to develop your application using the agile methodology and want to develop complex enterprise applications with utmost ease. The individual modules in microservices have highly distinctive & defined tasks (just like our example). These modules communicate with each other via universally accessible APIs. Fact#2 – Failing to handle 6 million page views per minute for 2 consecutive years on Black Fridays, Walmart realized that it was high time for them to embrace Microservices. Microservices Benefits- • Microservices make continuous integration with tools like Jenkins so much easy. • Applications based on microservices are scalable as well as reusable. • It’s super easy for a new developer to understand the functionality of independent services. • You never have to marry with a single technology for a lifetime. • Go ahead if you want to try an individual service on a particular technology. You can even deploy the service independently. • Microservices are easier to build & maintain & works great with Docker. Microservices Drawbacks- • Testing a microservices application is a tricky game. • At times, microservices architecture adds complexity to the projects since it’s a distributed system. To sum up, one should always analyze their project roadmap & finalize whether Monolithic or microservice architecture suits their needs. For More Information Visit:www.visualpath.in