SlideShare a Scribd company logo
Microservices in Practice
Opportunities and challenges
Microservices
 Why adopt the Microservices paradigm?
 Increase enterprise agility
 Minimize catastrophic Failures
 For better resource utilization
 For building faster, smaller and cohesive applications
Microservices
Independent Observable
Business Domain Centric Resilient/Fail Safe
Decentralized
Decentralized • A single application failure will
not impact other applications
Observable • Constantly monitored and
measures taken to recover failed
application
Business Domain Centric • Cohesive
• Single Area of Focus
Resilient/Failsafe • Multiple instances running behind
load balancer
• Data is partitioned and replicated
• Ability to scale
 X scaling
 Load balancer
 Y scaling
 End point per concern
 Z scaling
 Data shards
Microservices
Technology
• Language: Java 8
• Framework: Spring Boot
• Database: PostgreSQL
• Cache: REDIS
• Internal Security: Spring Security
• Perimeter Security: APIGEE
Deployment
Architecture
• Load Balancer
• Variable Deployment
• Multiple Databases
• Accessed from Mobile applications,
servers and web applications
Case Study #1 – Central Data Repository
 Problem:
 Data Consolidation
 Not all data providers needed to scale to the same degree
 Backend Data Model definition
 Data migration
 API Data format definition for multiple consumers
Microservices
Case Study #2: Rules Engine Microservices
 Problem Domain:
 Large data processing
 Avoiding total system failures
 Selective scaling
 Fast scaling
Microservices
Automation
Automation
 Jenkins + Git + Salt for CI/CD
 Salt for configuration
management
 App Dynamics for monitoring
 JIRA + Slack for communication
 Docker for containerization
• Kubernetes at the Enterprise Level
Process
Red  Green
 Refactor
Code Review
Automated
Unit Tests
Salt
Deployment
to
Integration
Environment
Integration
Tests
User
Acceptance
Tests
Security
Audit
Load Tests Production
Git WorkFlow
 Each developer forks create a fork
 Code is reviewed prior to merging
to master
 Jenkins build from master
 Releases are tagged in master
 Feature / Release branches are
maintained
Challenges
DevOps Talent
Y Scaling
 How should a microservice be partitioned?
Z Scaling
 How should data be partitioned?
 No atomic transactions. Have to rely on eventual consistency.
 Achieving resiliency with on premises infrastructure
Conclusion
 Easier to build faster systems
 DevOps work can impact project timelines
 Elastic environments, like Amazon EC2, make it easier to achieve
scaling and resiliency
 Microservices like any other paradigm can be misused

More Related Content

PPTX
Microservices architecture
PDF
Microservices
PPTX
PDF
DEVNET-1184 Microservices Patterns
PDF
Microservice architecture-api-gateway-considerations
PDF
Service mesh in Microservice World to Manage end to end service communications
PPTX
Understanding Microservice Architecture WSO2Con Asia 2016
PDF
Event driven microservices
Microservices architecture
Microservices
DEVNET-1184 Microservices Patterns
Microservice architecture-api-gateway-considerations
Service mesh in Microservice World to Manage end to end service communications
Understanding Microservice Architecture WSO2Con Asia 2016
Event driven microservices

What's hot (20)

PDF
Hybrid integration platform reference architecture
PDF
Service Mesh - kilometer 30 in a microservice marathon
PPTX
Microservices and the Cloud-Based Future of Integration
PPTX
Microservice vs. Monolithic Architecture
PPTX
Microservice architecture
PPTX
Introduction to Microservices
PPTX
Open Service Federation Framework
PDF
Microservices: an introduction
PPTX
High Productivity Platform
PPTX
Introduction To Microservices
PDF
Summer School - Demonstrating Cloud Value
PDF
I Love APIs 2015: Building Predictive Apps with Lamda and MicroServices
PPTX
Eight Miles High: Build Cloud-native and Cloud-aware Systems
PPTX
An introduction to Microservices
PDF
[WSO2Con EU 2017] Cloud-Native API Management
PDF
Dockerized Microservices
PPTX
Microservice-based Architecture on the Salesforce App Cloud
PDF
Introduction to Microservices
PDF
WSO2Con EU 2016: Understanding the WSO2 API Management Platform
PDF
Microservices: Aren't Microservices Just SOA?
Hybrid integration platform reference architecture
Service Mesh - kilometer 30 in a microservice marathon
Microservices and the Cloud-Based Future of Integration
Microservice vs. Monolithic Architecture
Microservice architecture
Introduction to Microservices
Open Service Federation Framework
Microservices: an introduction
High Productivity Platform
Introduction To Microservices
Summer School - Demonstrating Cloud Value
I Love APIs 2015: Building Predictive Apps with Lamda and MicroServices
Eight Miles High: Build Cloud-native and Cloud-aware Systems
An introduction to Microservices
[WSO2Con EU 2017] Cloud-Native API Management
Dockerized Microservices
Microservice-based Architecture on the Salesforce App Cloud
Introduction to Microservices
WSO2Con EU 2016: Understanding the WSO2 API Management Platform
Microservices: Aren't Microservices Just SOA?
Ad

Similar to Microservices (20)

PDF
Microservices for Application Modernisation
PDF
Surviving microservices
PDF
#ATAGTR2020 Presentation - Microservices – Explored
PPTX
Introduction to microservices
PDF
microservices in action.pdf
PPTX
Are you ready for Microservices
PPTX
Microservices
PDF
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
PDF
Building Microservices Software practics
PDF
Microservices Interview Questions and Answers pdf by ScholarHat
PDF
Introduction to Microservices Architecture - SECCOMP 2020
PPTX
Microservices-101
PPTX
Ledingkart Meetup #1: Monolithic to microservices in action
PPTX
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
PDF
The Case Against Microservices
PDF
Microservices for java architects it-symposium-2015-09-15
PDF
Microservices: The Best Practices
PDF
Production-Ready_Microservices_excerpt.pdf
PDF
Micro Services Intro
PPT
Microservices: lessons from the trenches
Microservices for Application Modernisation
Surviving microservices
#ATAGTR2020 Presentation - Microservices – Explored
Introduction to microservices
microservices in action.pdf
Are you ready for Microservices
Microservices
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
Building Microservices Software practics
Microservices Interview Questions and Answers pdf by ScholarHat
Introduction to Microservices Architecture - SECCOMP 2020
Microservices-101
Ledingkart Meetup #1: Monolithic to microservices in action
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
The Case Against Microservices
Microservices for java architects it-symposium-2015-09-15
Microservices: The Best Practices
Production-Ready_Microservices_excerpt.pdf
Micro Services Intro
Microservices: lessons from the trenches
Ad

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Advanced methodologies resolving dimensionality complications for autism neur...
Diabetes mellitus diagnosis method based random forest with bat algorithm
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Unlocking AI with Model Context Protocol (MCP)
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Advanced Soft Computing BINUS July 2025.pdf
NewMind AI Monthly Chronicles - July 2025
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Weekly Chronicles - August'25 Week I
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
The Rise and Fall of 3GPP – Time for a Sabbatical?

Microservices

  • 2. Microservices  Why adopt the Microservices paradigm?  Increase enterprise agility  Minimize catastrophic Failures  For better resource utilization  For building faster, smaller and cohesive applications
  • 3. Microservices Independent Observable Business Domain Centric Resilient/Fail Safe Decentralized Decentralized • A single application failure will not impact other applications Observable • Constantly monitored and measures taken to recover failed application Business Domain Centric • Cohesive • Single Area of Focus Resilient/Failsafe • Multiple instances running behind load balancer • Data is partitioned and replicated • Ability to scale
  • 4.  X scaling  Load balancer  Y scaling  End point per concern  Z scaling  Data shards Microservices
  • 5. Technology • Language: Java 8 • Framework: Spring Boot • Database: PostgreSQL • Cache: REDIS • Internal Security: Spring Security • Perimeter Security: APIGEE
  • 6. Deployment Architecture • Load Balancer • Variable Deployment • Multiple Databases • Accessed from Mobile applications, servers and web applications
  • 7. Case Study #1 – Central Data Repository  Problem:  Data Consolidation  Not all data providers needed to scale to the same degree  Backend Data Model definition  Data migration  API Data format definition for multiple consumers
  • 9. Case Study #2: Rules Engine Microservices  Problem Domain:  Large data processing  Avoiding total system failures  Selective scaling  Fast scaling
  • 12. Automation  Jenkins + Git + Salt for CI/CD  Salt for configuration management  App Dynamics for monitoring  JIRA + Slack for communication  Docker for containerization • Kubernetes at the Enterprise Level
  • 13. Process Red  Green  Refactor Code Review Automated Unit Tests Salt Deployment to Integration Environment Integration Tests User Acceptance Tests Security Audit Load Tests Production
  • 14. Git WorkFlow  Each developer forks create a fork  Code is reviewed prior to merging to master  Jenkins build from master  Releases are tagged in master  Feature / Release branches are maintained
  • 15. Challenges DevOps Talent Y Scaling  How should a microservice be partitioned? Z Scaling  How should data be partitioned?  No atomic transactions. Have to rely on eventual consistency.  Achieving resiliency with on premises infrastructure
  • 16. Conclusion  Easier to build faster systems  DevOps work can impact project timelines  Elastic environments, like Amazon EC2, make it easier to achieve scaling and resiliency  Microservices like any other paradigm can be misused