SlideShare a Scribd company logo
Srinivasan Nanduri
Architect, Mobile Services, IBM Cloud
@srinivasan_n
Build a mobile app with a microservices backend
2
•Introduction to Microservices Architecture
•Why Mobile Apps are important?
•Lab
Agenda
Microservices
4
Monolith
..an architectural style that structures the application as a
single executable unit
• Simple to develop, test & deploy
o At most one technology per layer
• Simple to scale
o Run multiple copies (horizontal
scaling) behind a load balancer
Benefits
Image source: microservices.io
5
Monolith: Problems
• Difficult to achieve operational agility
o Huge and intimidating code base for developers
o Long lead times for releasing new functionality because involves people with all skills coming together
 Redeploy entire unit to change one (sub) component
 Refactoring take minutes, builds take hours, testing in Continuous Integration takes days
o Interrupts long running background (e.g. Quartz) jobs
o Increase risk of failure
• Single development stack - limits right tool for the job
• Convoluted database model
• Scaling is often a challenge
o Running a copy of the whole system is resource-intense
o Doesn’t scale with data out-of-the-box
6
Microservices
..an architectural style where applications are broken into
smaller *autonomous services that work together
• Developed by small engineering teams
• Can be written in any language /
framework
Benefits
*independently developed, run and operated
Trade-off: Complexity
Image source: microservices.io
7
ConceptualTechnicalTeam
One large application
that serves the business
function
Small Independent
autonomous, auto
deployable, domain driven
services of one application
Each service is dependent
on the other
Each service has
independent stack &
de-centralized data
Organization
al
UI Team DBA Team Test Team Build TeamServer Team
Service 3 team
Service 1 team
Cross Functional
Autonomous
Service teams
Embraces pure agile
that is cross functional
Every service team is
small and responsible
end to end.
Monolith vs. Microservices
Enablers
Docker is a shipping container system for code
MultiplicityofStacksMultiplicityofhardware
environments
QA server
Development
VM
Contributor’s
laptop
Customer Data
Center Production
Cluster
Public Cloud
Static website User DB Analytics DBQueueWeb frontend
Doservicesandapps
interactappropriately?
CanImigratesmoothlyand
quickly
…that can be manipulated using
standard operations and run
consistently on virtually any
hardware platform
An engine that enables any
payload to be encapsulated as
a lightweight, portable, self-
sufficient container…
“Kubernetes is an open-source system for
managing containerized applications across
multiple hosts in a cluster. Kubernetes provides
mechanisms for application deployment,
scheduling, updating, maintenance, and
scaling.”
Kubernetes
Why mobile apps are important?
Lab
13
Scenario
14
Let’s get started!
https://github.com/bloomcode/mobile-app-and-microservices-with-ibm-cloud
Thank you

More Related Content

PPTX
About Microservices, Containers and their Underestimated Impact on Network Pe...
PPTX
Microservices and the future on Infrastructure
PPTX
//customer/
PPTX
Develop in ludicrous mode with azure serverless
PPTX
Docker - HieuHoang
PDF
Microservice Architecture 101
PPTX
Microservices in Action
PPT
Discussion About Microservices Architecture
About Microservices, Containers and their Underestimated Impact on Network Pe...
Microservices and the future on Infrastructure
//customer/
Develop in ludicrous mode with azure serverless
Docker - HieuHoang
Microservice Architecture 101
Microservices in Action
Discussion About Microservices Architecture

What's hot (20)

PPTX
Introduction to microservices
PPTX
Massimo Bonanni - L'approccio ai microservizi secondo Service Fabric - Codemo...
PPTX
Microservices - Peixe Urbano Tech Talks
PPTX
Desktop application
PPTX
Think Small To Go Big - Introduction To Microservices
PDF
Developing Hybrid Cloud Applications
PPTX
Exploring Microservices in a Microsoft Landscape
PPTX
Microservices & Container Networking - OSN Days, Singapore
PPTX
Microservices: A Gentle Introduction
PDF
Introduction to Microservices
PPTX
Docker for developers - The big picture
PPTX
iUpgradable
PPTX
Micro service session 2
PPTX
Micro service session 1
PDF
Who needs containers in a serverless world
PPT
Virtualization.ppt
PDF
Containerizing your apps
PDF
Evolving to Cloud-Native - Anand Rao
PDF
Microservice architecture
PDF
FORUM PA 2015 - Microservices with IBM Bluemix
Introduction to microservices
Massimo Bonanni - L'approccio ai microservizi secondo Service Fabric - Codemo...
Microservices - Peixe Urbano Tech Talks
Desktop application
Think Small To Go Big - Introduction To Microservices
Developing Hybrid Cloud Applications
Exploring Microservices in a Microsoft Landscape
Microservices & Container Networking - OSN Days, Singapore
Microservices: A Gentle Introduction
Introduction to Microservices
Docker for developers - The big picture
iUpgradable
Micro service session 2
Micro service session 1
Who needs containers in a serverless world
Virtualization.ppt
Containerizing your apps
Evolving to Cloud-Native - Anand Rao
Microservice architecture
FORUM PA 2015 - Microservices with IBM Bluemix
Ad

Similar to Mobile app-and-microservices-with-ibm-cloud (20)

PPTX
AppDev with Microservices
PPTX
Microservice intro
PPTX
Micro Front-End & Microservices - Plansoft
PDF
Microservices Interview Questions and Answers PDF By ScholarHat
PDF
Microservices - How Microservices Have Changed and Why They Matter
PDF
Operational impact: monolithic vs. microservices
PDF
Microservices: Detailed Guide
PPTX
05 microservices microdeck
PDF
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
PDF
What Is Microservices Architecture and How Does It Benefit App Development.pdf
PPTX
MICROSERVICES ARCHITECTURE unit -2.pptx
PPTX
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
PPTX
Microservice architecture
PDF
Microservices training
PPTX
Microservices Architecture - Bangkok 2018
PDF
Building Microservices Software practics
PDF
Microservice - Intro and Discussion
PPTX
Ledingkart Meetup #1: Monolithic to microservices in action
PDF
Microservices vs. Monolithic Architecture.pdf
PDF
20141210 - Microservice Container
AppDev with Microservices
Microservice intro
Micro Front-End & Microservices - Plansoft
Microservices Interview Questions and Answers PDF By ScholarHat
Microservices - How Microservices Have Changed and Why They Matter
Operational impact: monolithic vs. microservices
Microservices: Detailed Guide
05 microservices microdeck
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
What Is Microservices Architecture and How Does It Benefit App Development.pdf
MICROSERVICES ARCHITECTURE unit -2.pptx
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
Microservice architecture
Microservices training
Microservices Architecture - Bangkok 2018
Building Microservices Software practics
Microservice - Intro and Discussion
Ledingkart Meetup #1: Monolithic to microservices in action
Microservices vs. Monolithic Architecture.pdf
20141210 - Microservice Container
Ad

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Modernizing your data center with Dell and AMD
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Cloud computing and distributed systems.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Digital-Transformation-Roadmap-for-Companies.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Modernizing your data center with Dell and AMD
Understanding_Digital_Forensics_Presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
cuic standard and advanced reporting.pdf
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
“AI and Expert System Decision Support & Business Intelligence Systems”

Mobile app-and-microservices-with-ibm-cloud

  • 1. Srinivasan Nanduri Architect, Mobile Services, IBM Cloud @srinivasan_n Build a mobile app with a microservices backend
  • 2. 2 •Introduction to Microservices Architecture •Why Mobile Apps are important? •Lab Agenda
  • 4. 4 Monolith ..an architectural style that structures the application as a single executable unit • Simple to develop, test & deploy o At most one technology per layer • Simple to scale o Run multiple copies (horizontal scaling) behind a load balancer Benefits Image source: microservices.io
  • 5. 5 Monolith: Problems • Difficult to achieve operational agility o Huge and intimidating code base for developers o Long lead times for releasing new functionality because involves people with all skills coming together  Redeploy entire unit to change one (sub) component  Refactoring take minutes, builds take hours, testing in Continuous Integration takes days o Interrupts long running background (e.g. Quartz) jobs o Increase risk of failure • Single development stack - limits right tool for the job • Convoluted database model • Scaling is often a challenge o Running a copy of the whole system is resource-intense o Doesn’t scale with data out-of-the-box
  • 6. 6 Microservices ..an architectural style where applications are broken into smaller *autonomous services that work together • Developed by small engineering teams • Can be written in any language / framework Benefits *independently developed, run and operated Trade-off: Complexity Image source: microservices.io
  • 7. 7 ConceptualTechnicalTeam One large application that serves the business function Small Independent autonomous, auto deployable, domain driven services of one application Each service is dependent on the other Each service has independent stack & de-centralized data Organization al UI Team DBA Team Test Team Build TeamServer Team Service 3 team Service 1 team Cross Functional Autonomous Service teams Embraces pure agile that is cross functional Every service team is small and responsible end to end. Monolith vs. Microservices
  • 9. Docker is a shipping container system for code MultiplicityofStacksMultiplicityofhardware environments QA server Development VM Contributor’s laptop Customer Data Center Production Cluster Public Cloud Static website User DB Analytics DBQueueWeb frontend Doservicesandapps interactappropriately? CanImigratesmoothlyand quickly …that can be manipulated using standard operations and run consistently on virtually any hardware platform An engine that enables any payload to be encapsulated as a lightweight, portable, self- sufficient container…
  • 10. “Kubernetes is an open-source system for managing containerized applications across multiple hosts in a cluster. Kubernetes provides mechanisms for application deployment, scheduling, updating, maintenance, and scaling.” Kubernetes
  • 11. Why mobile apps are important?
  • 12. Lab

Editor's Notes

  • #5: Traditionally, enterprise Applications are built in three parts: a database (consisting of many tables usually in a relational database management system), a client-side user interface (consisting of HTML pages and/or JavaScript running in a browser), and a server-side application. This server-side application will handle HTTP requests, execute some domain specific logic, retrieve and update data from the database, and populate the HTML views to be sent to the browser. It is a monolith – a single logical executable. To make any alterations to the system, a developer must build and deploy an updated version of the server-side application. Yet it is simple to develop, test and deploy. Though comes at a cost, simple to scale as well
  • #6: And they come with many problems Huge code base, long lead times for releasing new functionality because involves people with various skills collaborate. Deploy / release entire unit for even smallest of the changes Refactoring takes minutes and builds take hours. Testing in CI takes days Interrupts long running background jobs Increases risk of failure Built with a single development stack limiting right tool to be used for the job. Very complex data model with lots of relations / FKs Scaling is often a challenge (entire system has to be scaled together and hence resource-intense).
  • #7: Introduced around 2012, it has steadily gained in popularity. But what are microservices and what are the pros and cons of adopting them? At its most basic level, the term “microservices” denotes a style of software architecture with applications broken out into smaller autonomous services. It takes the programming concept of breaking out functionality into different classes or libraries and moves that to the service level. The monolith is instead disassembled into a set of independent services that are developed, deployed and maintained separately.