SlideShare a Scribd company logo
Building Cloud Native
         Applications
       By Munish K Gupta - @write2munish




1
Munish K Gupta

    • Current Avatar
       • Software Architect/Engineer –High
         Performance Architecture (HiPA) group @
         Wipro Technologies

       • Author – Akka Essentials (Oct 2012)

       • Work with lot of open source stuff – Play
         Framework, Akka, Scala, mongodb, redis, LA
         MP stack

    • My Blogs
       • http://www.techspot.co.in
       • http://www.akkaessentails.in



2
What is Cloud Native Application?




3
Cloud Native Application

                       • All functionality is published and consumed via web
          Services
                         services
                       • Every Integration point will eventually fail one time
          Handling       or another
           Failures
                       • Be prepared to handle all kind of failures
         Horizontal
                       • Design for Scale Out
         Scalability
                       • Break down the task, process requests
     Asynchronous        asynchronously
        Processing     • Use queues to decouple functionality
                       • Eventual consistency model
                       • Build stateless services that can be scaled out and
    Stateless Model
                         load balanced
          Minimize
            Human      • Go DevOps/NoOps
       Intervention

4
Social Feed Application




5
Social Feed Application




6
Functional & Nonfunctional Requirements

    • Functional Requirements
       •   User registrations + Social Sites OAuth (FB, Twitter)
       •   Allows users to insert/import RSS feeds
       •   Feed data need to be categorized , auto tagged and searchable
       •   Feed data can be bookmarked and shared across social channels
       •   Feed recommendations based on social graph data
       •   Feeds displayed to the user via series of templates (list, mosaic, magazine style)
       •   Supports mobile view of data
       •   Site Analytics
    • Nonfunctional Requirements
       •   Supports 10,000 concurrent users
       •   Supports initial user base of 500,000 users
       •   Feed volumes of about 500 feeds/sec
       •   Availability requirements (99.9% uptime)
       •   Hosted on cloud and resilient to availability zone failures
       •   CPU utilization should be minimum of 70% and application should be cost
           optimized for cloud resources


7
Functional Decomposition



                                                                          User Registration +
    •User registrations + Social Sites OAuth (FB, Twitter)
                                                                          Session Management
    •Allows users to insert/import RSS feeds                              User Data

                                                                          Feed Fetch, Search,
    •Feed data need to be categorized , auto tagged and searchable
                                                                          Content Tagging

    •Feed data can be bookmarked and shared across social channels        User Preferences

    •Feed recommendations based on social graph data                      Recommendation
    •Site Analytics                                                       Engine

    •Feeds displayed to the user via series of templates (list, mosaic,
     magazine style)                                                      Responsive Web
                                                                          Design
    •Supports mobile view of data




8
Functional Model



                             Responsive Web Design



           User           Session            User
                                                                  Search
        Registration    Management        Preferences


                   Content      Recommendati
                                                     Feed Fetch
                   Tagging        on Engine




9
Architecture Patterns




10
11
     User Registration



     User Preferences



          Search
                                                                      Partition by Functionality




     Content Tagging
                         Session Management
                                              Responsive Web Design




        Feed Fetch


     Recommendation
         Engine
Loose Coupling




12
Polyglot Persistence


                                                   Redis




                                                   Neo4j

       MySQL



       MySQL



                Apache
                            Mongodb   Mongodb   MapReduce
                Lucene


13
Fault Tolerance + Service Load Balancing

      Load Balancing
     between multiple
      Service provider
         instances




     Handling service
     provider instance
          failures




14
Fault Tolerance + Service Load Balancing

     Netflix Eureka Open Source Project




                                                                                      Picture from
     https://github.com/Netflix/eureka    https://github.com/Netflix/eureka/wiki/Eureka-at-a-glance


15
Decoupling

                                  Communication across
                                                                    Web Services
                                 functional columns using
                                                                    model can also
                                     messages - SQS
                                                                    be used here!




                                                            Recommendation
                                            Content Data
          User Data




                                                                Engine
                        Search




                                          Mongo
         MySQL        Lucene                                Neo4j
                                           db


16
Async Request processing



                                    LESS -
                                Responsive Web
                                    Design




                                  Node.js for
                                 stateless and
                                 async request
                                  processing
                                     mode




17
Deployment Model




                        Distributed    Scalable



                         Available    Stateless


                          ASync            Event
                        processing         driven

                                 Fault
                                Tolerant




18
Summary

     •   Design to decouple and partition application functionality
     •   Right tools to solve the right problem
     •   Build for horizontal scalability – scale out
     •   Design to handle all kinds of failures
     •   Process asynchronously – event driven
     •   Build stateless compute services
     •   Minimize human intervention - DevOps/NoOps
     •   Above all, do not forget continuous build and deployment



                  Learned we may be with another man's learning: we can only be
                  wise with wisdom of our own
                                                            Michel de Montaigne

19
Munish K Gupta
     write2munish (at) gmail.com

     Twitter
     @write2munish
                         Blog(s)
               www.techspot.co.in
             www.akkaessentials.in

20

More Related Content

What's hot (20)

PDF
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
VMware Tanzu
 
PDF
Cloud Foundry CEO Sam Ramji 2015 OSCON Keynote
Cloud Foundry Foundation
 
PPTX
Cloud Native Infrastructure Automation
VMware Tanzu
 
PPTX
The Cloud Native Journey
VMware Tanzu
 
PDF
devops, microservices, and platforms, oh my!
Andrew Shafer
 
PDF
Cloud Native In-Depth
Siva Rama Krishna Chunduru
 
PDF
Airbnb, From Monolith to Microservices: How to Scale Your Architecture, Futur...
New Relic
 
PDF
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
VMware Tanzu
 
PPTX
Microservice architecture case study
Rudra Tripathy
 
PPTX
Develop in ludicrous mode with azure serverless
Lalit Kale
 
PDF
Forecast 2014: Cloud-Aware Applications
Open Data Center Alliance
 
PDF
Navigating the Cloud Foundry Ecosystem of Ecosystems: An ISV Perspective
Ivan Dwyer
 
PDF
Building Cloud Native Architectures with Spring
Kenny Bastani
 
PPT
Application Architecture For The Cloud
Steve Loughran
 
PPTX
Why to Cloud Native
Karthik Gaekwad
 
PPTX
From SOA to MSA
William Yang
 
PDF
Evolving your Architecture to MicroServices
Hector Tapia
 
PDF
Cloud Native Applications Maturity Model
Jim Bugwadia
 
PPTX
The Application Server Platform of the Future - Container & Cloud Native and ...
Lucas Jellema
 
PPTX
Architect your app modernization journey with containers on Microsoft Azure
Davide Benvegnù
 
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
VMware Tanzu
 
Cloud Foundry CEO Sam Ramji 2015 OSCON Keynote
Cloud Foundry Foundation
 
Cloud Native Infrastructure Automation
VMware Tanzu
 
The Cloud Native Journey
VMware Tanzu
 
devops, microservices, and platforms, oh my!
Andrew Shafer
 
Cloud Native In-Depth
Siva Rama Krishna Chunduru
 
Airbnb, From Monolith to Microservices: How to Scale Your Architecture, Futur...
New Relic
 
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
VMware Tanzu
 
Microservice architecture case study
Rudra Tripathy
 
Develop in ludicrous mode with azure serverless
Lalit Kale
 
Forecast 2014: Cloud-Aware Applications
Open Data Center Alliance
 
Navigating the Cloud Foundry Ecosystem of Ecosystems: An ISV Perspective
Ivan Dwyer
 
Building Cloud Native Architectures with Spring
Kenny Bastani
 
Application Architecture For The Cloud
Steve Loughran
 
Why to Cloud Native
Karthik Gaekwad
 
From SOA to MSA
William Yang
 
Evolving your Architecture to MicroServices
Hector Tapia
 
Cloud Native Applications Maturity Model
Jim Bugwadia
 
The Application Server Platform of the Future - Container & Cloud Native and ...
Lucas Jellema
 
Architect your app modernization journey with containers on Microsoft Azure
Davide Benvegnù
 

Viewers also liked (20)

PPTX
Micro services and Containers
Richard Harvey
 
PPTX
'Cloud-Native' Ecosystem - Aug 2015
Lenny Pruss
 
PDF
The Cloud Native Stack
QAware GmbH
 
PDF
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
PPTX
Oracle: Building Cloud Native Applications
Kelly Goetsch
 
PDF
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
PPTX
Cloud Native in the Enterprise: Real-World Data on Container and Microservice...
Donnie Berkholz
 
PDF
Der Cloud Native Stack in a Nutshell
QAware GmbH
 
PDF
The Five Stages of Cloud Native
VMware Tanzu
 
PPTX
About Microservices, Containers and their Underestimated Impact on Network Pe...
Nane Kratzke
 
PDF
Maximizing the Value of Containers and Microservices with the Right Platform
Miska Kaipiainen
 
PPTX
Building microservices with docker
Roman Melnyk
 
PDF
Geonode
Sebastian Benthall
 
PPTX
Geonode Presentation (ppt)
Iwl Pcu
 
PDF
Microservices and elastic resource pools with Amazon EC2 Container Service
Boyan Dimitrov
 
PDF
Geonode 2.0
Paolo Corti
 
PDF
The Developer Friendly Container & Micro Services Platform
Exove
 
PPTX
G rpc talk with intel (3)
Intel
 
PPTX
24 HOP edición Español - Machine learning - Cesar Oviedo
SpanishPASSVC
 
PDF
Project Sputnik - Driving Innovation at a large company
Barton George
 
Micro services and Containers
Richard Harvey
 
'Cloud-Native' Ecosystem - Aug 2015
Lenny Pruss
 
The Cloud Native Stack
QAware GmbH
 
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
Oracle: Building Cloud Native Applications
Kelly Goetsch
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
Cloud Native in the Enterprise: Real-World Data on Container and Microservice...
Donnie Berkholz
 
Der Cloud Native Stack in a Nutshell
QAware GmbH
 
The Five Stages of Cloud Native
VMware Tanzu
 
About Microservices, Containers and their Underestimated Impact on Network Pe...
Nane Kratzke
 
Maximizing the Value of Containers and Microservices with the Right Platform
Miska Kaipiainen
 
Building microservices with docker
Roman Melnyk
 
Geonode Presentation (ppt)
Iwl Pcu
 
Microservices and elastic resource pools with Amazon EC2 Container Service
Boyan Dimitrov
 
Geonode 2.0
Paolo Corti
 
The Developer Friendly Container & Micro Services Platform
Exove
 
G rpc talk with intel (3)
Intel
 
24 HOP edición Español - Machine learning - Cesar Oviedo
SpanishPASSVC
 
Project Sputnik - Driving Innovation at a large company
Barton George
 
Ad

Similar to Building Cloud Native Applications (20)

PDF
10 - Architetture Software - More architectural styles
Majong DevJfu
 
PDF
Inaugural address manjusha - Indicthreads cloud computing conference 2011
IndicThreads
 
PPSX
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Araf Karsh Hamid
 
PDF
FISL: Content Management Primer
Richard Esplin
 
PPTX
Webinar The App Lifecycle Platform
Service2Media
 
PDF
Architecting for Hyper Growth and Great Engineering Culture
ifnu bima
 
PDF
Architecting for Huper Growth and Great Engineering Culture
SARCCOM
 
PDF
PIM4Cloud
Marcos Almeida
 
PDF
Kognitio overview april 2013
Kognitio
 
PDF
Spring Into the Cloud
Jennifer Hickey
 
PPTX
Using Camunda on Kubernetes through Operators
camunda services GmbH
 
PDF
Soaring the Clouds with Meandre
Xavier Llorà
 
PDF
Service-oriented architecture
Shalva Usubov
 
PPT
Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018
UX Antwerp Meetup
 
PDF
About 4Ward
Andrija Gramatikovski
 
PDF
Makersbay Overview
slodha
 
PPTX
Patterns for Building High Performance Applications in Cloud - CloudConnect2012
Munish Gupta
 
PDF
CMS Solution Benefits
Infosys
 
PDF
Kognitio feb 2013
Kognitio
 
PPTX
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Sri Ambati
 
10 - Architetture Software - More architectural styles
Majong DevJfu
 
Inaugural address manjusha - Indicthreads cloud computing conference 2011
IndicThreads
 
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Araf Karsh Hamid
 
FISL: Content Management Primer
Richard Esplin
 
Webinar The App Lifecycle Platform
Service2Media
 
Architecting for Hyper Growth and Great Engineering Culture
ifnu bima
 
Architecting for Huper Growth and Great Engineering Culture
SARCCOM
 
PIM4Cloud
Marcos Almeida
 
Kognitio overview april 2013
Kognitio
 
Spring Into the Cloud
Jennifer Hickey
 
Using Camunda on Kubernetes through Operators
camunda services GmbH
 
Soaring the Clouds with Meandre
Xavier Llorà
 
Service-oriented architecture
Shalva Usubov
 
Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018
UX Antwerp Meetup
 
Makersbay Overview
slodha
 
Patterns for Building High Performance Applications in Cloud - CloudConnect2012
Munish Gupta
 
CMS Solution Benefits
Infosys
 
Kognitio feb 2013
Kognitio
 
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Sri Ambati
 
Ad

More from Munish Gupta (8)

PPT
Enterprise Gamification @ Gamified.in 2013
Munish Gupta
 
PDF
Struts2 - 101
Munish Gupta
 
PDF
Websphere Portal V6.1 Security Overview
Munish Gupta
 
PPT
Web2.0 Ajax and REST in WebSphere Portal
Munish Gupta
 
PPT
Cloud Computing With AWS
Munish Gupta
 
PPT
Evolution Of Java
Munish Gupta
 
PDF
Web Sphere Portal Security
Munish Gupta
 
PDF
Best of open source in applications
Munish Gupta
 
Enterprise Gamification @ Gamified.in 2013
Munish Gupta
 
Struts2 - 101
Munish Gupta
 
Websphere Portal V6.1 Security Overview
Munish Gupta
 
Web2.0 Ajax and REST in WebSphere Portal
Munish Gupta
 
Cloud Computing With AWS
Munish Gupta
 
Evolution Of Java
Munish Gupta
 
Web Sphere Portal Security
Munish Gupta
 
Best of open source in applications
Munish Gupta
 

Recently uploaded (20)

PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
July Patch Tuesday
Ivanti
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
July Patch Tuesday
Ivanti
 

Building Cloud Native Applications

  • 1. Building Cloud Native Applications By Munish K Gupta - @write2munish 1
  • 2. Munish K Gupta • Current Avatar • Software Architect/Engineer –High Performance Architecture (HiPA) group @ Wipro Technologies • Author – Akka Essentials (Oct 2012) • Work with lot of open source stuff – Play Framework, Akka, Scala, mongodb, redis, LA MP stack • My Blogs • http://www.techspot.co.in • http://www.akkaessentails.in 2
  • 3. What is Cloud Native Application? 3
  • 4. Cloud Native Application • All functionality is published and consumed via web Services services • Every Integration point will eventually fail one time Handling or another Failures • Be prepared to handle all kind of failures Horizontal • Design for Scale Out Scalability • Break down the task, process requests Asynchronous asynchronously Processing • Use queues to decouple functionality • Eventual consistency model • Build stateless services that can be scaled out and Stateless Model load balanced Minimize Human • Go DevOps/NoOps Intervention 4
  • 7. Functional & Nonfunctional Requirements • Functional Requirements • User registrations + Social Sites OAuth (FB, Twitter) • Allows users to insert/import RSS feeds • Feed data need to be categorized , auto tagged and searchable • Feed data can be bookmarked and shared across social channels • Feed recommendations based on social graph data • Feeds displayed to the user via series of templates (list, mosaic, magazine style) • Supports mobile view of data • Site Analytics • Nonfunctional Requirements • Supports 10,000 concurrent users • Supports initial user base of 500,000 users • Feed volumes of about 500 feeds/sec • Availability requirements (99.9% uptime) • Hosted on cloud and resilient to availability zone failures • CPU utilization should be minimum of 70% and application should be cost optimized for cloud resources 7
  • 8. Functional Decomposition User Registration + •User registrations + Social Sites OAuth (FB, Twitter) Session Management •Allows users to insert/import RSS feeds User Data Feed Fetch, Search, •Feed data need to be categorized , auto tagged and searchable Content Tagging •Feed data can be bookmarked and shared across social channels User Preferences •Feed recommendations based on social graph data Recommendation •Site Analytics Engine •Feeds displayed to the user via series of templates (list, mosaic, magazine style) Responsive Web Design •Supports mobile view of data 8
  • 9. Functional Model Responsive Web Design User Session User Search Registration Management Preferences Content Recommendati Feed Fetch Tagging on Engine 9
  • 11. 11 User Registration User Preferences Search Partition by Functionality Content Tagging Session Management Responsive Web Design Feed Fetch Recommendation Engine
  • 13. Polyglot Persistence Redis Neo4j MySQL MySQL Apache Mongodb Mongodb MapReduce Lucene 13
  • 14. Fault Tolerance + Service Load Balancing Load Balancing between multiple Service provider instances Handling service provider instance failures 14
  • 15. Fault Tolerance + Service Load Balancing Netflix Eureka Open Source Project Picture from https://github.com/Netflix/eureka https://github.com/Netflix/eureka/wiki/Eureka-at-a-glance 15
  • 16. Decoupling Communication across Web Services functional columns using model can also messages - SQS be used here! Recommendation Content Data User Data Engine Search Mongo MySQL Lucene Neo4j db 16
  • 17. Async Request processing LESS - Responsive Web Design Node.js for stateless and async request processing mode 17
  • 18. Deployment Model Distributed Scalable Available Stateless ASync Event processing driven Fault Tolerant 18
  • 19. Summary • Design to decouple and partition application functionality • Right tools to solve the right problem • Build for horizontal scalability – scale out • Design to handle all kinds of failures • Process asynchronously – event driven • Build stateless compute services • Minimize human intervention - DevOps/NoOps • Above all, do not forget continuous build and deployment Learned we may be with another man's learning: we can only be wise with wisdom of our own Michel de Montaigne 19
  • 20. Munish K Gupta write2munish (at) gmail.com Twitter @write2munish Blog(s) www.techspot.co.in www.akkaessentials.in 20

Editor's Notes

  • #2: The below and following notes on the template slides are to guide you only. In your final presentation, you may delete these notes and add relevant notes if any.Title slide:Title– should not exceed beyond 3 lines, font size 30-34, Arial Bold (Font size for the title of the PPT can vary between 30-34, Arial, Bold depending on the amount of text, however should not be smaller than 30 font size)Name should not exceed beyond 1 line, Designation; font size to remain at 16, Arial normalPlease keep the title slide simple, just the logo, title and name and designation to appear. No other graphic elements or any design, photograph, image can be added to this slide, alignment to remain the same