SlideShare a Scribd company logo
Instruments to play Microservices
Symphony
Chandresh Pancholi
About me
● Senior Software Engineer at Arvind Internet
● Ex-Flipkart Engineer
● Apache committer
● Technical book reviewer
Email: chandreshpancholi007@gmail.com
Linkedin: https://www.linkedin.com/in/chandresh-pancholi-467a8015
What is Monolith ?
Pros
● Simpler build and deployment
● Lower latency for Inter-process communication
● Simpler logging and monitoring
● Easy testing
● Reduce agility over time
● Single tech stack. Easy to understand and build
Cons
● Coordination overheads as team grows
● All or nothing deployment
● Too much merge conflicts
● Large code base
● Tightly-coupled architecture
● Application downtime will bring down everything
Microservice
A Microservice architecture means that your app is made up of lots of smaller,
independent applications capable of running in their own memory space and scaling
independently from each other across potentially many separate machines
Pros
● Independence of development and tech stack
● Easy to onboard new functionality
● Faster development and deployment
● Easy to scale individual service
● Reliability
● Design autonomy
● High cohesion
● Isolation increases speed
Cons
● Costly inter-process communication
● Achieving and maintaining high availability
● Coordination overheads as team grows
● Lack of tooling
● Security
● Testability
● Increase configuration management
Requirements to build microservice
● Security
● Async communication among services
● Monitoring & Alerting
● Centralising logging
● Tracing
● Service discovery
● Configuration management
● Circuit breaker
● Containerization
● Orchestrator
● Bonus
Netflix OSS
Async communication
Requirements
● Microservices can communicate asynchronously with delivery guarantee
● Loose coupling between microservices
● Consistency
Tools
● RabbitMQ
● Kafka
● Kinesis
Monitoring & Alerting
Monitoring Requirement:
● Server metrics CPU, RAM, Disk, I/O, Network
● Application metrics JVM, GC, API performance, DB connections, Query
performance
● Kubernetes metrics Pod CPU, RAM, Node CPU, RAM, Replica sets status
● Framework metrics Kafka, RabbitMQ, Cassandra, MongoDB
● Application health check from multiple region
Alerting Requirement
● Email alert
● Slack alert
● Pagerduty alert
Tools
● Prometheus
● Sensu
● Graphite
● Grafana
● Pingdom
Tracing
Requirement
● Trace inter-process communication among microservices
● Trace Database queries
● Trace exception trace of every error
● Trace JVM and GC for Java application
Tools
● Pinpoint
● Zipkin
● Open Tracing
● Jaeger
Centralised logging
Requirement
● Store Insights about user, order, payment etc
● Store history of an event. Create order event, user signup event
● Run batch processing
● Alert on errors
● Database logs
Collection
● File, syslog, database
Transport
● Kafka, Logstash, Flume, FluentD
Storage
● S3, HDFS
Analysis
● Hadoop, Spark, Elasticsearch/Kibana
Service Discovery
Requirement
● Discover network location of service instance
● Load balancing request
● Discovery of newly added instances
Tools
● Eureka
● Kubernetes services
● Zookeeper
● etcd
Configuration Management
Requirements
● Centrally managed application configuration
● Dynamically reload configuration
● Secure application config
Tools
● Spring cloud config
● Netflix archaius
● Hashicorp vault
● Zookeeper
● Consul
● Etcd
Circuit breaker
Requirement
● Failure Isolation
● Graceful degradation
● Avoid cascade failure
Tools
● Hystrix
● Turbine
Containerization
Requirement
● Standard way to package containers
● Isolation between microservices
● Efficient application development
● Resource Efficiency
Tools
● Docker
● Rkt
Orchestration
Requirements
● Manage containers
● Automating scaling and self scaling
● Automating deployment
Tools
● Kubernetes
● Marathon/Mesos
● Docker swarm
● Nomad
Bonus
Istio
Questions?

More Related Content

What's hot (20)

PDF
Event-Driven Microservices With NATS Streaming
Shiju Varghese
 
PDF
Asynchronous Microservices in nodejs
Bruno Pedro
 
PPTX
Monitoring Oracle SOA Suite
C2B2 Consulting
 
PPTX
[WSO2Con Asia 2014] Accelerating Mobile App Development with MBaaS
Afkham Azeez
 
PDF
APIs for API Management: Consume and Develop Apps
WSO2
 
PPTX
Microservice Workshop Hands On
Ram G Suri
 
PDF
Microservices with spring boot
Mesut Can Gurle
 
PPTX
Using an API Gateway for Microservices (APAC Webinar)
NGINX, Inc.
 
PPTX
Knockout
hamman359
 
PPTX
Hands-on Performance Tuning Lab - Devoxx Poland
C2B2 Consulting
 
PDF
NATS: A Cloud Native Messaging System
Shiju Varghese
 
PDF
WSO2Con ASIA 2016: Creating Microservices with WSO2 Microservices Framework f...
WSO2
 
PDF
stackconf 2020 | Scalable testing infrastructure with Kubernetes and Concord ...
NETWAYS
 
PDF
Docebo: history of a journey from legacy to serverless
AWS User Group Italy
 
PDF
Advanced queries on the Infinispan Data Grid
C2B2 Consulting
 
PDF
Microservices in Go with Go kit
Shiju Varghese
 
PDF
Microservices - opportunities, dilemmas and problems
Łukasz Sowa
 
PPTX
Introducing the Microservices Reference Architecture Version 1.2
NGINX, Inc.
 
PPT
Hosting rails apps
Pravin Mishra
 
PPTX
Monitoring Oracle SOA Suite - UKOUG Tech15 2015
C2B2 Consulting
 
Event-Driven Microservices With NATS Streaming
Shiju Varghese
 
Asynchronous Microservices in nodejs
Bruno Pedro
 
Monitoring Oracle SOA Suite
C2B2 Consulting
 
[WSO2Con Asia 2014] Accelerating Mobile App Development with MBaaS
Afkham Azeez
 
APIs for API Management: Consume and Develop Apps
WSO2
 
Microservice Workshop Hands On
Ram G Suri
 
Microservices with spring boot
Mesut Can Gurle
 
Using an API Gateway for Microservices (APAC Webinar)
NGINX, Inc.
 
Knockout
hamman359
 
Hands-on Performance Tuning Lab - Devoxx Poland
C2B2 Consulting
 
NATS: A Cloud Native Messaging System
Shiju Varghese
 
WSO2Con ASIA 2016: Creating Microservices with WSO2 Microservices Framework f...
WSO2
 
stackconf 2020 | Scalable testing infrastructure with Kubernetes and Concord ...
NETWAYS
 
Docebo: history of a journey from legacy to serverless
AWS User Group Italy
 
Advanced queries on the Infinispan Data Grid
C2B2 Consulting
 
Microservices in Go with Go kit
Shiju Varghese
 
Microservices - opportunities, dilemmas and problems
Łukasz Sowa
 
Introducing the Microservices Reference Architecture Version 1.2
NGINX, Inc.
 
Hosting rails apps
Pravin Mishra
 
Monitoring Oracle SOA Suite - UKOUG Tech15 2015
C2B2 Consulting
 

Similar to Instruments to play microservice (20)

PPTX
Monolith to microservices journey
SIVALINGAPANDIAN VELAYUTHAM
 
PPTX
Introduction to microservices
Anil Allewar
 
PDF
Integration in the Cloud, by Rob Davies
Judy Breedlove
 
PDF
Introduction to Microservices.pdf
ShehanNIlanka
 
PPTX
Microservices pros and cons dark
Andrew Siemer
 
PDF
Microservices pros and cons - houston tech fest
Andrew Siemer
 
PDF
Microservices Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
PPTX
Microservices pros and cons
Andrew Siemer
 
PDF
Microservices on a budget meetup
Matthew Reynolds
 
PPTX
Ledingkart Meetup #1: Monolithic to microservices in action
Mukesh Singh
 
PPTX
Microservices
Shubhani Jain
 
PDF
Service Mesh Talk for CTO Forum
Rick Hightower
 
PPTX
Microservices Corporate Style
Narendranath Reddy
 
PDF
Microservices.pdf
SelmaJelovac1
 
PDF
Dataservices based on mesos and kafka kostiantyn bokhan dataconf 21 04 18
Olga Zinkevych
 
PPTX
Modern architecture
Renato Guimaraes
 
PDF
Microservice Architecture
Engin Yoeyen
 
PPTX
Service Mesh CTO Forum (Draft 3)
Rick Hightower
 
PDF
Microservices Architecture
Srinivasan Nanduri
 
PPTX
Iot cloud service v2.0
Vinod Wilson
 
Monolith to microservices journey
SIVALINGAPANDIAN VELAYUTHAM
 
Introduction to microservices
Anil Allewar
 
Integration in the Cloud, by Rob Davies
Judy Breedlove
 
Introduction to Microservices.pdf
ShehanNIlanka
 
Microservices pros and cons dark
Andrew Siemer
 
Microservices pros and cons - houston tech fest
Andrew Siemer
 
Microservices Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Microservices pros and cons
Andrew Siemer
 
Microservices on a budget meetup
Matthew Reynolds
 
Ledingkart Meetup #1: Monolithic to microservices in action
Mukesh Singh
 
Microservices
Shubhani Jain
 
Service Mesh Talk for CTO Forum
Rick Hightower
 
Microservices Corporate Style
Narendranath Reddy
 
Microservices.pdf
SelmaJelovac1
 
Dataservices based on mesos and kafka kostiantyn bokhan dataconf 21 04 18
Olga Zinkevych
 
Modern architecture
Renato Guimaraes
 
Microservice Architecture
Engin Yoeyen
 
Service Mesh CTO Forum (Draft 3)
Rick Hightower
 
Microservices Architecture
Srinivasan Nanduri
 
Iot cloud service v2.0
Vinod Wilson
 
Ad

More from Chandresh Pancholi (8)

PPTX
Introduction to gRPC
Chandresh Pancholi
 
PDF
Distributed tracing using open tracing & jaeger 2
Chandresh Pancholi
 
PPTX
Observability in the world of microservices
Chandresh Pancholi
 
PPTX
Production ready tooling for microservices on kubernetes
Chandresh Pancholi
 
PPTX
Monitoring on Kubernetes using prometheus
Chandresh Pancholi
 
PPTX
Microservices on kubernetes
Chandresh Pancholi
 
PPTX
Istio a service mesh
Chandresh Pancholi
 
PDF
Prometheus kubernetes tech talk
Chandresh Pancholi
 
Introduction to gRPC
Chandresh Pancholi
 
Distributed tracing using open tracing & jaeger 2
Chandresh Pancholi
 
Observability in the world of microservices
Chandresh Pancholi
 
Production ready tooling for microservices on kubernetes
Chandresh Pancholi
 
Monitoring on Kubernetes using prometheus
Chandresh Pancholi
 
Microservices on kubernetes
Chandresh Pancholi
 
Istio a service mesh
Chandresh Pancholi
 
Prometheus kubernetes tech talk
Chandresh Pancholi
 
Ad

Recently uploaded (20)

PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PPTX
quantum computing transition from classical mechanics.pptx
gvlbcy
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
Ground improvement techniques-DEWATERING
DivakarSai4
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
quantum computing transition from classical mechanics.pptx
gvlbcy
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
Zero Carbon Building Performance standard
BassemOsman1
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
Ground improvement techniques-DEWATERING
DivakarSai4
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 

Instruments to play microservice

  • 1. Instruments to play Microservices Symphony Chandresh Pancholi
  • 2. About me ● Senior Software Engineer at Arvind Internet ● Ex-Flipkart Engineer ● Apache committer ● Technical book reviewer Email: [email protected] Linkedin: https://www.linkedin.com/in/chandresh-pancholi-467a8015
  • 4. Pros ● Simpler build and deployment ● Lower latency for Inter-process communication ● Simpler logging and monitoring ● Easy testing ● Reduce agility over time ● Single tech stack. Easy to understand and build
  • 5. Cons ● Coordination overheads as team grows ● All or nothing deployment ● Too much merge conflicts ● Large code base ● Tightly-coupled architecture ● Application downtime will bring down everything
  • 6. Microservice A Microservice architecture means that your app is made up of lots of smaller, independent applications capable of running in their own memory space and scaling independently from each other across potentially many separate machines
  • 7. Pros ● Independence of development and tech stack ● Easy to onboard new functionality ● Faster development and deployment ● Easy to scale individual service ● Reliability ● Design autonomy ● High cohesion ● Isolation increases speed
  • 8. Cons ● Costly inter-process communication ● Achieving and maintaining high availability ● Coordination overheads as team grows ● Lack of tooling ● Security ● Testability ● Increase configuration management
  • 9. Requirements to build microservice ● Security ● Async communication among services ● Monitoring & Alerting ● Centralising logging ● Tracing ● Service discovery ● Configuration management ● Circuit breaker ● Containerization ● Orchestrator ● Bonus
  • 11. Async communication Requirements ● Microservices can communicate asynchronously with delivery guarantee ● Loose coupling between microservices ● Consistency Tools ● RabbitMQ ● Kafka ● Kinesis
  • 12. Monitoring & Alerting Monitoring Requirement: ● Server metrics CPU, RAM, Disk, I/O, Network ● Application metrics JVM, GC, API performance, DB connections, Query performance ● Kubernetes metrics Pod CPU, RAM, Node CPU, RAM, Replica sets status ● Framework metrics Kafka, RabbitMQ, Cassandra, MongoDB ● Application health check from multiple region
  • 13. Alerting Requirement ● Email alert ● Slack alert ● Pagerduty alert Tools ● Prometheus ● Sensu ● Graphite ● Grafana ● Pingdom
  • 14. Tracing Requirement ● Trace inter-process communication among microservices ● Trace Database queries ● Trace exception trace of every error ● Trace JVM and GC for Java application Tools ● Pinpoint ● Zipkin ● Open Tracing ● Jaeger
  • 15. Centralised logging Requirement ● Store Insights about user, order, payment etc ● Store history of an event. Create order event, user signup event ● Run batch processing ● Alert on errors ● Database logs
  • 16. Collection ● File, syslog, database Transport ● Kafka, Logstash, Flume, FluentD Storage ● S3, HDFS Analysis ● Hadoop, Spark, Elasticsearch/Kibana
  • 17. Service Discovery Requirement ● Discover network location of service instance ● Load balancing request ● Discovery of newly added instances Tools ● Eureka ● Kubernetes services ● Zookeeper ● etcd
  • 18. Configuration Management Requirements ● Centrally managed application configuration ● Dynamically reload configuration ● Secure application config Tools ● Spring cloud config ● Netflix archaius ● Hashicorp vault ● Zookeeper ● Consul ● Etcd
  • 19. Circuit breaker Requirement ● Failure Isolation ● Graceful degradation ● Avoid cascade failure Tools ● Hystrix ● Turbine
  • 20. Containerization Requirement ● Standard way to package containers ● Isolation between microservices ● Efficient application development ● Resource Efficiency Tools ● Docker ● Rkt
  • 21. Orchestration Requirements ● Manage containers ● Automating scaling and self scaling ● Automating deployment Tools ● Kubernetes ● Marathon/Mesos ● Docker swarm ● Nomad