SlideShare a Scribd company logo
1 of 8
MICROSERVICES
MONOLITHIC APPLICATION
 Typical applications using a framework, or all the applications we have been
developing are divided into different parts, such frontend, backend and
database, an also use Model-View-Controller (MVC) pattern or Client/Server
Applications or even Host/Terminal applications.
WHAT ARE MICROSERVICES?
 We can define a microservice as an extended Service Oriented Architecture. In
other words, it is a way to develop an application by following the required
steps to turn it into various little services.
 Each service will execute itself and communicate with others through
requests, usually using APIs on HTTP.
 A microservice is simple, isolated entity with a concrete proposal.
 It is independent and works with the rest of the microservices by
communicating through an agreed channel.
SOA VERSUS MICROSERVICES
 SOA focuses on integrating monolithic applications between themselves and it uses as Enterprise Service
BU to achieve this.
 SOA includes:
 Business process Management (BPM)
 Service repositories
 Register
 BPEL
 Microservices tried to connect different components between themselves using APIs.
SOA VERSUS MICROSERVICES
 Microservice architecture:
 Ready to fail: Microservices are designed to fail. In a web application, microservices
communicate with each other and if one of them fails, the rest should work to avoid a cascading
failure. Attempt to avoid communicating synchronously using async calls, queues, system based
on actors, and streams instead.
 Unix philosophy: Each microservice must be designed to do one thing only, and should only be
small and independent.
 Communication layer: Each microservice communicates with the others with the others through
HTTP requests and messages, executing the business logic, querying the database, exchanging
messages with the required systems and, an the end returing a JSON (or HTML/XML) response.
 Scalability: The main reason to choose a microservice architecture is that it is possible to scale
the application easily.
DISADVANTAGES OF MICROSERVICES
 Debugging
 Maintain every single microservice as an entire server, in other words, every single microservice can have
one or more database, logs, different services, or library versions, and even the code can be in different
language
 Communication gaps
 Learn tools for Full automatization (Continuous Integration – Continuous Delivery) (CI/CD)
 Jenkins, Docker, Terraform, Packer, Ansible, Chef, Puppet, Kubernetes.
 Network latency
DEVELOPMENT ON MICROSERVICES
 The most important idea behind microservice is the need to decompose your application into smaller
logical pieces.
 Always create small logical black boxes. Each microservice is likea a black box with a public interface,
which is the only way to interact with your software.
 Each service can be scaled up or down.
 Use a lightweight communication protocol. Like HTTP or REST.
 Use queues to reduce a service load or make async executions.
 Be ready for the worst case scenario, like cascade failure.
 Each service is different, so keep different repositories and build environments.
BASIC PLATFORM FOR MICROSERVICES
REVERSE PROXY to balance the load
NGINX as a gateway for the API build
CACHE to reduce the load and increase
performance
QUEUE system to execute big resource
consuming tasks or tasks need to be
executed deferred
DATA STORE for saving data for authorized
users
Telemetry for stats system from the container
Autodiscovery helps to see which container
is working properly

More Related Content

Similar to Microservices.pptx

Similar to Microservices.pptx (20)

AppDev with Microservices
AppDev with MicroservicesAppDev with Microservices
AppDev with Microservices
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
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...
 
Architecting for speed - how agile innovators accelerate growth through micro...
Architecting for speed - how agile innovators accelerate growth through micro...Architecting for speed - how agile innovators accelerate growth through micro...
Architecting for speed - how agile innovators accelerate growth through micro...
 
اساليب البرمجيات الحديثة Modern Software Development
اساليب البرمجيات الحديثة Modern Software Developmentاساليب البرمجيات الحديثة Modern Software Development
اساليب البرمجيات الحديثة Modern Software Development
 
Microservices Design Principles.pdf
Microservices Design Principles.pdfMicroservices Design Principles.pdf
Microservices Design Principles.pdf
 
Introduction to Microservices.pdf
Introduction to Microservices.pdfIntroduction to Microservices.pdf
Introduction to Microservices.pdf
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHYSELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
Microservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration PatternsMicroservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration Patterns
 
Micro services vs Monolith Architecture
Micro services vs Monolith ArchitectureMicro services vs Monolith Architecture
Micro services vs Monolith Architecture
 
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...
 
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...
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises
 
Integrating microservices with JBoss Fuse
Integrating microservices with JBoss FuseIntegrating microservices with JBoss Fuse
Integrating microservices with JBoss Fuse
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro Services
 
Microservices approach for Websphere commerce
Microservices approach for Websphere commerceMicroservices approach for Websphere commerce
Microservices approach for Websphere commerce
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
 
Microservices-101
Microservices-101Microservices-101
Microservices-101
 

Recently uploaded

Recently uploaded (20)

Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxCyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 

Microservices.pptx

  • 2. MONOLITHIC APPLICATION  Typical applications using a framework, or all the applications we have been developing are divided into different parts, such frontend, backend and database, an also use Model-View-Controller (MVC) pattern or Client/Server Applications or even Host/Terminal applications.
  • 3. WHAT ARE MICROSERVICES?  We can define a microservice as an extended Service Oriented Architecture. In other words, it is a way to develop an application by following the required steps to turn it into various little services.  Each service will execute itself and communicate with others through requests, usually using APIs on HTTP.  A microservice is simple, isolated entity with a concrete proposal.  It is independent and works with the rest of the microservices by communicating through an agreed channel.
  • 4. SOA VERSUS MICROSERVICES  SOA focuses on integrating monolithic applications between themselves and it uses as Enterprise Service BU to achieve this.  SOA includes:  Business process Management (BPM)  Service repositories  Register  BPEL  Microservices tried to connect different components between themselves using APIs.
  • 5. SOA VERSUS MICROSERVICES  Microservice architecture:  Ready to fail: Microservices are designed to fail. In a web application, microservices communicate with each other and if one of them fails, the rest should work to avoid a cascading failure. Attempt to avoid communicating synchronously using async calls, queues, system based on actors, and streams instead.  Unix philosophy: Each microservice must be designed to do one thing only, and should only be small and independent.  Communication layer: Each microservice communicates with the others with the others through HTTP requests and messages, executing the business logic, querying the database, exchanging messages with the required systems and, an the end returing a JSON (or HTML/XML) response.  Scalability: The main reason to choose a microservice architecture is that it is possible to scale the application easily.
  • 6. DISADVANTAGES OF MICROSERVICES  Debugging  Maintain every single microservice as an entire server, in other words, every single microservice can have one or more database, logs, different services, or library versions, and even the code can be in different language  Communication gaps  Learn tools for Full automatization (Continuous Integration – Continuous Delivery) (CI/CD)  Jenkins, Docker, Terraform, Packer, Ansible, Chef, Puppet, Kubernetes.  Network latency
  • 7. DEVELOPMENT ON MICROSERVICES  The most important idea behind microservice is the need to decompose your application into smaller logical pieces.  Always create small logical black boxes. Each microservice is likea a black box with a public interface, which is the only way to interact with your software.  Each service can be scaled up or down.  Use a lightweight communication protocol. Like HTTP or REST.  Use queues to reduce a service load or make async executions.  Be ready for the worst case scenario, like cascade failure.  Each service is different, so keep different repositories and build environments.
  • 8. BASIC PLATFORM FOR MICROSERVICES REVERSE PROXY to balance the load NGINX as a gateway for the API build CACHE to reduce the load and increase performance QUEUE system to execute big resource consuming tasks or tasks need to be executed deferred DATA STORE for saving data for authorized users Telemetry for stats system from the container Autodiscovery helps to see which container is working properly