SlideShare a Scribd company logo
1 of 12
Micro Service Architecture -
Session 2
Amin Arab
Tosan
Tir 98
https://www.linkedin.com/in/amin-arab-a653b13a/
•‫ارائه‬ ‫براساس‬ ‫ارائه‬ ‫این‬Component‫معماری‬ ‫های‬Netflix‫انجام‬ ‫مستقل‬ ‫صورت‬ ‫به‬
‫شود‬ ‫می‬.‫چون‬
•‫سایر‬ ‫کنار‬ ‫در‬ ‫اجزا‬ ‫این‬Platform‫شود‬ ‫می‬ ‫استفاده‬ ‫هم‬ ‫ها‬.
•‫الیه‬ ‫ایجاد‬ ‫برای‬Wrapper‫معماری‬ ‫روی‬ ‫بر‬Monolithic‫به‬ ‫گام‬ ‫به‬ ‫گام‬ ‫مهاجرت‬ ‫و‬Micro
Service‫است‬ ‫تر‬ ‫مناسب‬.
Netflix OSS
- Eureka (Service Registry and Service Discovery)
- Hystrix (Latency and Fault Tolerance)
- Ribbon (Load Balancing)
- Zuul (Edge Service and Routing)
- Dynamic routing
- Monitoring
- Resiliency
- ,……… there are too many
Spring Cloud Configuration
• Git + Spring => Dynamic Rest Configuration
Anti Patterns
Anti Patterns
• Microservices are a magic pixie dust - believing that a sprinkle of microservices will solve all of
your development problems
• Microservices as the goal - making the adoption of microservices the goal and measuring success
in terms of the number of services written
• Scattershot adoption - multiple application development teams attempt to adopt the
microservice architecture without any coordination
• Trying to fly before you can walk - attempting to adopt the microservice architecture (an
advanced technique) without (or not committing to) practicing basic software development
techniques, such as clean code, good design, and automated testing
• Focusing on Technology - focusing on technology aspects of microservices, most commonly the
deployment infrastructure, and neglecting key issues, such as service decomposition
• More the merrier - intentionally creating a very fine-grained microservice architecture
• Red Flag Law - retaining the same development process and organization structure that were
used when developing monolithic applications.
•‫گیری‬ ‫کار‬ ‫به‬Component‫معماری‬ ‫دانش‬ ‫هم‬ ‫به‬ ‫ها‬Micro Service‫آنها‬ ‫های‬ ‫الگو‬ ‫و‬
‫از‬ ‫مختلفی‬ ‫های‬ ‫ترکیب‬ ‫و‬ ‫روش‬ ‫و‬ ‫مسائل‬ ‫و‬ ‫دارد‬ ‫نیاز‬Component‫می‬ ‫موجب‬ ‫را‬ ‫ها‬
‫شود‬.
•‫باشد‬ ‫داشته‬ ‫شما‬ ‫معماری‬ ‫بر‬ ‫زیادی‬ ‫تاثیر‬ ‫تواند‬ ‫می‬ ‫شما‬ ‫استقرار‬ ‫استراتژی‬ ‫مسئله‬.
•‫مثل‬ ‫ماشین‬ ‫از‬ ‫استفاده‬Kubernetes‫با‬ ‫ان‬ ‫رابطه‬ ‫و‬config server‫اثر‬ ‫شما‬ ‫معماری‬ ‫بر‬ ‫تواند‬ ‫می‬
‫بگذارد‬.
Compare
• https://developers.redhat.com/blog/2016/12/09/spring-cloud-for-
microservices-compared-to-kubernetes/
• https://stackshare.io/stackups/eureka-vs-kubernetes-vs-openshift

More Related Content

What's hot

Building Applications with Carbon Studio on Premise and Cloud
Building Applications with Carbon Studio on Premise and CloudBuilding Applications with Carbon Studio on Premise and Cloud
Building Applications with Carbon Studio on Premise and Cloud
WSO2
 
Designing a Highly Available Management Cluster for the Cloud
Designing a Highly Available Management Cluster for the CloudDesigning a Highly Available Management Cluster for the Cloud
Designing a Highly Available Management Cluster for the Cloud
Arron Stebbing
 
presentation of VDI in a box
presentation of VDI in a boxpresentation of VDI in a box
presentation of VDI in a box
Kashan Nawaz
 
A journey from monolith to micro services
A journey from monolith to micro servicesA journey from monolith to micro services
A journey from monolith to micro services
Pravin Mishra
 
ServiceFabric-Arch
ServiceFabric-ArchServiceFabric-Arch
ServiceFabric-Arch
Saravanan G
 

What's hot (20)

[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises
 
Building Applications with Carbon Studio on Premise and Cloud
Building Applications with Carbon Studio on Premise and CloudBuilding Applications with Carbon Studio on Premise and Cloud
Building Applications with Carbon Studio on Premise and Cloud
 
Think Big - Build Small
Think Big - Build SmallThink Big - Build Small
Think Big - Build Small
 
Hosting rails apps
Hosting rails appsHosting rails apps
Hosting rails apps
 
Lightweight ESB Alternatives
Lightweight ESB AlternativesLightweight ESB Alternatives
Lightweight ESB Alternatives
 
Microservices & Container Networking - OSN Days, Singapore
Microservices & Container Networking - OSN Days, SingaporeMicroservices & Container Networking - OSN Days, Singapore
Microservices & Container Networking - OSN Days, Singapore
 
Designing a Highly Available Management Cluster for the Cloud
Designing a Highly Available Management Cluster for the CloudDesigning a Highly Available Management Cluster for the Cloud
Designing a Highly Available Management Cluster for the Cloud
 
presentation of VDI in a box
presentation of VDI in a boxpresentation of VDI in a box
presentation of VDI in a box
 
Monitoreo en Azure con Operations Management Suite
Monitoreo en Azure con Operations Management SuiteMonitoreo en Azure con Operations Management Suite
Monitoreo en Azure con Operations Management Suite
 
WSO2Con ASIA 2016: Understanding Microservice Architecture
WSO2Con ASIA 2016: Understanding Microservice ArchitectureWSO2Con ASIA 2016: Understanding Microservice Architecture
WSO2Con ASIA 2016: Understanding Microservice Architecture
 
Cloudtrek Basics Overview
Cloudtrek Basics OverviewCloudtrek Basics Overview
Cloudtrek Basics Overview
 
WSO2 Enterprise Integrator Deployment Patterns
WSO2 Enterprise Integrator Deployment PatternsWSO2 Enterprise Integrator Deployment Patterns
WSO2 Enterprise Integrator Deployment Patterns
 
The Evolution Towards Cloud Computing
The Evolution Towards Cloud ComputingThe Evolution Towards Cloud Computing
The Evolution Towards Cloud Computing
 
Server Monitoring from the Cloud
Server Monitoring from the CloudServer Monitoring from the Cloud
Server Monitoring from the Cloud
 
[Webinar] AWS Monitoring with Site24x7
[Webinar] AWS Monitoring with Site24x7[Webinar] AWS Monitoring with Site24x7
[Webinar] AWS Monitoring with Site24x7
 
A journey from monolith to micro services
A journey from monolith to micro servicesA journey from monolith to micro services
A journey from monolith to micro services
 
Continuous delivery by sergey seletsky
Continuous delivery by sergey seletskyContinuous delivery by sergey seletsky
Continuous delivery by sergey seletsky
 
ServiceFabric-Arch
ServiceFabric-ArchServiceFabric-Arch
ServiceFabric-Arch
 
Automating the Next Generation Datacenter
Automating the Next Generation DatacenterAutomating the Next Generation Datacenter
Automating the Next Generation Datacenter
 
WSO2Con ASIA 2016: Getting More 9s from Your Deployment
WSO2Con ASIA 2016: Getting More 9s from Your DeploymentWSO2Con ASIA 2016: Getting More 9s from Your Deployment
WSO2Con ASIA 2016: Getting More 9s from Your Deployment
 

Similar to Micro service session 2

Similar to Micro service session 2 (20)

Introduction to Microservices_Architecture.pptx
Introduction to Microservices_Architecture.pptxIntroduction to Microservices_Architecture.pptx
Introduction to Microservices_Architecture.pptx
 
Microservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get StartedMicroservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get Started
 
Building Resilient Microservices
Building Resilient Microservices Building Resilient Microservices
Building Resilient Microservices
 
Microservices
MicroservicesMicroservices
Microservices
 
Migrating to Microservices Patterns and Technologies (edition 2023)
 Migrating to Microservices Patterns and Technologies (edition 2023) Migrating to Microservices Patterns and Technologies (edition 2023)
Migrating to Microservices Patterns and Technologies (edition 2023)
 
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SREMicroservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SRE
 
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
 
Software Engineering: Today in The Betlefield
Software Engineering: Today in The BetlefieldSoftware Engineering: Today in The Betlefield
Software Engineering: Today in The Betlefield
 
Introduction to microservices
Introduction to microservicesIntroduction to microservices
Introduction to microservices
 
Do You Need A Service Mesh?
Do You Need A Service Mesh?Do You Need A Service Mesh?
Do You Need A Service Mesh?
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises
 
The elegant way of implementing microservices with istio
The elegant way of implementing microservices with istioThe elegant way of implementing microservices with istio
The elegant way of implementing microservices with istio
 
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
 
Best Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with MicroservicesBest Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with Microservices
 
170215 msa intro
170215 msa intro170215 msa intro
170215 msa intro
 
Microservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration PatternsMicroservices Architecture, Monolith Migration Patterns
Microservices Architecture, Monolith Migration Patterns
 
Introduction to Microservices Architecture - SECCOMP 2020
Introduction to Microservices Architecture - SECCOMP 2020Introduction to Microservices Architecture - SECCOMP 2020
Introduction to Microservices Architecture - SECCOMP 2020
 
Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015
 

More from Amin Arab (9)

Session 4
Session 4Session 4
Session 4
 
JavaEE Session 3
JavaEE Session 3JavaEE Session 3
JavaEE Session 3
 
JavaEE 8 Introduction - Session 3
JavaEE 8 Introduction - Session 3JavaEE 8 Introduction - Session 3
JavaEE 8 Introduction - Session 3
 
JavaEE 8 Introduction - Session 2
JavaEE 8 Introduction - Session 2JavaEE 8 Introduction - Session 2
JavaEE 8 Introduction - Session 2
 
JavaEE 8 Introduction - Session 1
JavaEE 8 Introduction - Session 1JavaEE 8 Introduction - Session 1
JavaEE 8 Introduction - Session 1
 
Unit test programming session 2
Unit test programming   session 2Unit test programming   session 2
Unit test programming session 2
 
Unit test programming session 1
Unit test programming   session 1Unit test programming   session 1
Unit test programming session 1
 
Docker
DockerDocker
Docker
 
Dev ops
Dev opsDev ops
Dev ops
 

Recently uploaded

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Micro service session 2

  • 1. Micro Service Architecture - Session 2 Amin Arab Tosan Tir 98 https://www.linkedin.com/in/amin-arab-a653b13a/
  • 2.
  • 3.
  • 4.
  • 5. •‫ارائه‬ ‫براساس‬ ‫ارائه‬ ‫این‬Component‫معماری‬ ‫های‬Netflix‫انجام‬ ‫مستقل‬ ‫صورت‬ ‫به‬ ‫شود‬ ‫می‬.‫چون‬ •‫سایر‬ ‫کنار‬ ‫در‬ ‫اجزا‬ ‫این‬Platform‫شود‬ ‫می‬ ‫استفاده‬ ‫هم‬ ‫ها‬. •‫الیه‬ ‫ایجاد‬ ‫برای‬Wrapper‫معماری‬ ‫روی‬ ‫بر‬Monolithic‫به‬ ‫گام‬ ‫به‬ ‫گام‬ ‫مهاجرت‬ ‫و‬Micro Service‫است‬ ‫تر‬ ‫مناسب‬.
  • 6. Netflix OSS - Eureka (Service Registry and Service Discovery) - Hystrix (Latency and Fault Tolerance) - Ribbon (Load Balancing) - Zuul (Edge Service and Routing) - Dynamic routing - Monitoring - Resiliency - ,……… there are too many
  • 7. Spring Cloud Configuration • Git + Spring => Dynamic Rest Configuration
  • 8.
  • 10. Anti Patterns • Microservices are a magic pixie dust - believing that a sprinkle of microservices will solve all of your development problems • Microservices as the goal - making the adoption of microservices the goal and measuring success in terms of the number of services written • Scattershot adoption - multiple application development teams attempt to adopt the microservice architecture without any coordination • Trying to fly before you can walk - attempting to adopt the microservice architecture (an advanced technique) without (or not committing to) practicing basic software development techniques, such as clean code, good design, and automated testing • Focusing on Technology - focusing on technology aspects of microservices, most commonly the deployment infrastructure, and neglecting key issues, such as service decomposition • More the merrier - intentionally creating a very fine-grained microservice architecture • Red Flag Law - retaining the same development process and organization structure that were used when developing monolithic applications.
  • 11. •‫گیری‬ ‫کار‬ ‫به‬Component‫معماری‬ ‫دانش‬ ‫هم‬ ‫به‬ ‫ها‬Micro Service‫آنها‬ ‫های‬ ‫الگو‬ ‫و‬ ‫از‬ ‫مختلفی‬ ‫های‬ ‫ترکیب‬ ‫و‬ ‫روش‬ ‫و‬ ‫مسائل‬ ‫و‬ ‫دارد‬ ‫نیاز‬Component‫می‬ ‫موجب‬ ‫را‬ ‫ها‬ ‫شود‬. •‫باشد‬ ‫داشته‬ ‫شما‬ ‫معماری‬ ‫بر‬ ‫زیادی‬ ‫تاثیر‬ ‫تواند‬ ‫می‬ ‫شما‬ ‫استقرار‬ ‫استراتژی‬ ‫مسئله‬. •‫مثل‬ ‫ماشین‬ ‫از‬ ‫استفاده‬Kubernetes‫با‬ ‫ان‬ ‫رابطه‬ ‫و‬config server‫اثر‬ ‫شما‬ ‫معماری‬ ‫بر‬ ‫تواند‬ ‫می‬ ‫بگذارد‬.