SlideShare a Scribd company logo
INTRODUCTION TO
MICROSERVICE
@DevOps Pune
13th March 2016
AGENDA
 Service Oriented Architectures
 Micro-services Architecture
 Why it is helpful
 Insights about Docker and MEAN Stack
 Role of Docker
 Demo (Micro-services based MEAN stack application on DOCKER)
WHO AM I?
 Cloud and DevOps Engineer
 DevOps by Profession and developer by
Heart
 Blogger (oss-world.blogspot.in)
 Linkedin:
https://in.linkedin.com/in/rahulkhengare
TARGET AUDIENCE
 Knowledge about web based applications
 Basics of Docker
SERVICE ORIENTED
ARCHITECTURES
MONOLITHIC APPLICATION
UI Components
Business Logic
Database
User
Shopping Application
OS
MONOLITHIC
 All functionality is in single process
 Macro or single tier application
 Resides on single machine
 Front end, business logic and data access merged in single code
BENEFITS OF MONOLITHIC
 Easy to Develop
 Easy to Test
 Easy to Scale: Just run multiple instances of application on different
servers
 Easy Deployment Process (just one war file in case of JAVA)
DRAWBACKS OF MONOLITHIC
 Manageability of code
 Difficult to deploy or rebuild
 Stuck with same technology stacks
 Scaling of Application
 Rigorous testing after change deployment
 Application Downtime
MICRO-SERVICES
 Composed of small, independent, narrowly-focused processes
communicating with each other using language independent APIs
 Like UNIX commands, which are designed to do one single thing but can
be piped together to perform some complex operations
 Loosely coupled, fine-grained, follows the Single Responsibility Principle
 Resource Independent
 Netflix, Amazon, LinkedIn, Groupon, PayPal, Airbnb, The Guardian are
using already
MICRO-SERVICE APPLICATION
UI
Components
Business
Logic
Inventory
User
Shopping Application
OS
UI
Components
Business
Logic
OS
UI
Components
Business
Logic
Cart/checkout
OS
UI
Components
Business
Logic
Users
OS
LOAD BALANCER
Orders/shipping
WHY TO USE MICRO-SERVICES
 Technology agnostic
 Independent Rapid Deployment
 Helps replacing individual services using API
 Failure Isolation
 Scalability
 Flexibility
LETS BUILD MICRO-SERVICES
L
O
A
D
B
A
L
A
N
C
E
R
1 MONOLITHIC APP ~ 100 MICRO-
QUESTIONS??
 How to architect my application?
 How to manage micro-services locally?
 How to ensure latest version of application?
 How to deploy them to production?
 What technology should I use?
TECHNOLOGY INSIGHTS
WHAT IS DOCKER
 Open Source Container Framework
 Helps developer or sysadmin to develop, ship, and run distributed
applications
 Operating system level virtualization
 Container uses kernel features such as CGROUPS, NAMESPACES,
SELINUX, AUFS
 Docker images are IMMUTABLE
VIRTUAL MACHINE VS DOCKER
CONTAINER
DOCKER FLOW
HOW DOCKER HELP
 Docker Mission: Build, ship, run any application anywhere
 Use as platform for management of application containers
 Create a Docker container of your micro-services
 Run each micro-service in separate container
 Scaling is fun with Docker
 Use of Docker compose will stack your micro-service application as
single application
MEAN STACK
DEMO
ONLINE TEST APP
Docker Host
SERVER
NGINX
Docker
Test functionality
container
MongoDB
container
Security
functionality
container
CLIENT APP
Container
PORT 5000
PORT 80
PORT 5002
PORT 5001
PORT 27017
TARGET APPLICATIONS
 Not suitable for simple applications
 Highly scalable applications
 Distributed functionality
CHALLENGES
 How to break application in micro-services
 Unmanageability
 Performance about series of dependent services
 Learning curve for new developer
ANY QUESTIONS??
THANK YOU!!

More Related Content

PPTX
Microservices
PDF
Micro service architecture - building scalable web solutions - George James -...
PPTX
Continuous Delivery
PPTX
Eduards Sizovs - Micro Service Architecture
PPTX
Micro Service Architecture
PDF
Spinnaker Microsrvices
PPTX
Connecting All Abstractions with Istio
PDF
A sail in the cloud
Microservices
Micro service architecture - building scalable web solutions - George James -...
Continuous Delivery
Eduards Sizovs - Micro Service Architecture
Micro Service Architecture
Spinnaker Microsrvices
Connecting All Abstractions with Istio
A sail in the cloud

What's hot (19)

PDF
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
PDF
API Microservices with Node.js and Docker
PDF
The Netflix API Platform for Server-Side Scripting
PDF
Cloud-Native Modernization or Death? A false dichotomy. | DevNation Tech Talk
PDF
Scaling Gilt: from Monolithic Ruby Application to Distributed Scala Micro-Ser...
PPTX
An Integrated Pipeline for Private and Public Clouds with Jenkins, Artifactor...
PDF
Scaling and Orchestrating Microservices with OSGi - N Bartlett
PPTX
Cross-platform Mobile Development on Open Source
PDF
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
PDF
Lean Microservices with OSGi - Christian Schneider
PDF
Microservices: The OSGi way A different vision on microservices
PDF
Swagger code motion talk
PDF
MicroServices for Java Developers
PDF
Is your kubernetes negative or positive
PDF
Evolving the Netflix API
PDF
Microservices & API Gateways
PPTX
DevOps and AWS - Code PaLOUsa 2017
PDF
A Hitchhiker's Guide to Cloud-Native API Gateways
PDF
Mastering Microservices with Kong (CodeMotion 2019)
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
API Microservices with Node.js and Docker
The Netflix API Platform for Server-Side Scripting
Cloud-Native Modernization or Death? A false dichotomy. | DevNation Tech Talk
Scaling Gilt: from Monolithic Ruby Application to Distributed Scala Micro-Ser...
An Integrated Pipeline for Private and Public Clouds with Jenkins, Artifactor...
Scaling and Orchestrating Microservices with OSGi - N Bartlett
Cross-platform Mobile Development on Open Source
Deep Dive on Continuous Integration and Continuous Delivery in Anypoint Platf...
Lean Microservices with OSGi - Christian Schneider
Microservices: The OSGi way A different vision on microservices
Swagger code motion talk
MicroServices for Java Developers
Is your kubernetes negative or positive
Evolving the Netflix API
Microservices & API Gateways
DevOps and AWS - Code PaLOUsa 2017
A Hitchhiker's Guide to Cloud-Native API Gateways
Mastering Microservices with Kong (CodeMotion 2019)
Ad

Viewers also liked (6)

PDF
How to disassemble a monolithic app in (not-so) micro-services
PDF
Continuous Deployment with Kubernetes, Docker and GitLab CI
PDF
CI with Gitlab & Docker
PDF
Microservices with Docker, Kubernetes, and Jenkins
PDF
Achieving CI/CD with Kubernetes
PDF
Digital Strategy for dummies
How to disassemble a monolithic app in (not-so) micro-services
Continuous Deployment with Kubernetes, Docker and GitLab CI
CI with Gitlab & Docker
Microservices with Docker, Kubernetes, and Jenkins
Achieving CI/CD with Kubernetes
Digital Strategy for dummies
Ad

Similar to Introduction to micro-services @DevOps pune Meetup (20)

PPTX
Microservices and docker
PDF
Java Microservices HJUG
PPTX
Microservices, Docker deploy and Microservices source code in C#
PDF
20141210 - Microservice Container
PDF
Introduction to Microservices
PPTX
Microservice intro
PPTX
Containers and microservices create new performance challenges kowall - app...
PDF
AppSphere 15 - Containers and Microservices Create New Performance Challenges
PPTX
An introduction to Microservices
PPT
About microservices on cloud computing services
PPT
Microservices and developer pattern saga
PPT
ZhuSem.ppt
PDF
Microservice
PDF
Rami Sayar - Node microservices with Docker
PPTX
Webinar : Microservices and Containerization
PPTX
Microservices approach for Websphere commerce
PPTX
building microservices
PPTX
Microservices Architecture and Containers.
PDF
Monolithic to Microservices Architecture
PPT
TransitioningToMicroServonDocker_MS
Microservices and docker
Java Microservices HJUG
Microservices, Docker deploy and Microservices source code in C#
20141210 - Microservice Container
Introduction to Microservices
Microservice intro
Containers and microservices create new performance challenges kowall - app...
AppSphere 15 - Containers and Microservices Create New Performance Challenges
An introduction to Microservices
About microservices on cloud computing services
Microservices and developer pattern saga
ZhuSem.ppt
Microservice
Rami Sayar - Node microservices with Docker
Webinar : Microservices and Containerization
Microservices approach for Websphere commerce
building microservices
Microservices Architecture and Containers.
Monolithic to Microservices Architecture
TransitioningToMicroServonDocker_MS

More from Rahul Khengare (6)

PDF
Container Security Using Microsoft Defender
PDF
AzurePolicy DevOps Pune Feb23
PDF
CIS Security Benchmark
PPTX
PPSX
PPTX
Serf@devops pune
Container Security Using Microsoft Defender
AzurePolicy DevOps Pune Feb23
CIS Security Benchmark
Serf@devops pune

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
KodekX | Application Modernization Development
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
KodekX | Application Modernization Development
20250228 LYD VKU AI Blended-Learning.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Monthly Chronicles - July 2025
Chapter 3 Spatial Domain Image Processing.pdf

Introduction to micro-services @DevOps pune Meetup