SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
Build a Cloud Aware Application
                        Chris Haddad

              Selvaratnam Uthaiyashankar

Read more about PaaS at http://blog.cobia.net/cobiacomm

          Try StratosLive https://stratoslive.wso2.com/
Platform as a Service Criteria
• When to create Cloud aware applications?
• Cloud application use cases and patterns
• Architectural difference between web
  applications and cloud applications
• Cloud Aware Application Demo
• Key Metrics and Quick Start Use Cases
When to make applications Cloud
               Aware?
• Deliver application to massive consumer base (e.g.
  Twitter, Google, Pinterest, FaceBook)
• Services distributed across multiple providers
• Infrastructure cost optimization strategy
• Application resiliency improvement strategy
• Create an ecosystem platform supporting cross-
  partner digital business
Cloud Scale and Distributed Providers
                                                                          Business
                                             Functional                    Proces
                    Presentation and                                         Business
                        Mashups                 Role                         Process
                       Presentation            Functional                       Business
                           Role                   Role                           Process
                                                                                   Business
                       Presentation and            Functional
                                                      Role                        Process and
                           Mashups                   Functional                 Business Rules
                         Presentation and
                         Mashups                        code

 Client Tier

                                                                            Resource
                                    Integration Services                      Tier
                                                                               Resource
                                                                                Services
                                                                                   Resource
                                                                                   Services
                                    Integration Services



       Public Cloud Services
                                                           Private
                                                           Applications
Application Resiliency and Composition
                                                                                 Infrastructure as a
                                Composite                        Mobile             Service (IaaS)
                                Application                    Application

SaaS Application
                                                   Cloud                                  Web
                                                                                       application
                                                    API                                 Endpoint
                                                  Endpoint



                                              Integration Services



  Business Service Portfolio                                                 Application Portfolio
                                                    Hybrid
     Presentation Services
                                                   Platform
      Business
     Process and
                   Functional                      Services
                     Services
    Rules Services
      Resources Services
      Integration Services
Domain Specific Platform as a Service
Delivering Cross-Partner Digital Business Platform
Vertical Application 1     Vertical Application 2   Vertical Application 3

     App Data                   App Data                  App Data




                                                                              Summit
                                                                              Vertical
App Source Code            App Source Code           App Source Code
      App                        App                        App
  Configuration              Configuration              Configuration




                                                                             Vertical
                                                                              API
 Domain Services                          Domain Services

 Domain Artifacts                         Domain Artifacts




                                                                             Managed
                         Programming Languages




                                                                             by PaaS
                               Frameworks

                                Containers
                              OS/Hypervisor
                                 Hardware
Application Architecture Crossroads

                    Innovation




  Familiarity
Cloud Application Patterns                             18


              and Anti-Patterns


                                       Separation of concerns
   Failure Resilient                      Leaky interfaces
                                              Tightly coupled
Single threaded,                                  modules
serial execution
                    Embarrassingly Parallel /
      Minimal      Shared Nothing Architecture   Deterministic
    Consumption                                  performance
 Resource locks    Monolithic footprint Single tenancy model
            Deploy and execute on optimum topology
Cloud Aware Application Use Cases
    and Underlying Cloud Patterns
• Maximize utilization
   – Requires deterministic performance
   – Load balance based on tenant, service, and workload,
     context
• Increase reliability, availability, scalability
   – Shared nothing architecture
   – Stateless server-side elements
   – Consensus protocols
• Ecosystem platform
   – Monetize assets based on business value
   – Tenant/Consumer personalization and isolation
   – Sharing domain specific business capabilities
Architectural Difference Between Web
      Application and Cloud Application
      Web Application                       Cloud Application
•   Synchronous request-reply        •   Asynchronous interaction
    interaction                      •   Queues and workers
•   Centralized state (i.e. single   •   Scale out across datacenters
    database) and session                and providers
    management                       •   Distributed state and session
•   Clustered server instances           management
•   Silo architecture                •   Autonomous service instances
                                     •   Tenant context personalization
                                     •   Shared JVM / Shared Schema
                                     •   Shared nothing architecture
Cloud Architecture Best Practices
Transitioning to a New normal – Traditional practices may
not apply
• Distributed and federated interactions
   – Event based, heterogeneous systems, network latency
• Configurable containers and engines
   – Declarative data, rules, and process definitions
• De-normalized and simplified data models
   – Hadoop/BigTable, Hypertext media, simple NoSQL entities
• Expect failure
   – Systems span transactional control
• Applications decomposed into distinct services
   – Federated environment drives autonomy, statelessness, and
     composition
Cloud Application Platform Shared
      Middleware Services
PaaS Evaluation Framework

•   Cloud Characteristics
•   Cloud Dimensions
•   Production Ready
•   DevOps Activities and Phases
•   Cloud Architecture
•   Platform Services
•   Programming Model
PaaS Evaluation Framework
Cloud Architecture
• Tenancy, dynamic discovery, and distributed cache
• Fine-grained metering, billing, and reporting of
  business entities, activities, and interactions
• Scale discrete application service instances instead of
  scaling monolithic application instances
• Shared nothing architecture, Thirteen Dwarf
  Patterns, parallel processing, resource coordination
• Cloud service provisioning and load balancer
PaaS Evaluation Framework
Platform Services
• Presentation services
• Application and service container services
• Business process and business rule services
• Integration services and message brokers
• Composite application services (i.e. mashups and orchestration)
• Complex event processing services
• Data access and persistence services
• Development governance
• Application life-cycle management
• Automated run-time governance services
• Policy registry and repository services
• Identity management
• Security
• Service level management
• Compute, network, and storage infrastructure services
PaaS Evaluation Framework
Programming Model
• Actor model (i.e. message passing instead of function
  invocation
• RESTful interactions
• Dynamic recoverability
• Consensus protocols
• Asynchronous rather than synchronous interactions
• Shared nothing architecture
• Data partitioning and sharding
• Federated data queries
• Service orchestration
• Functional programming
• MapReduce
Cloud Application Demo
•   Register a new tenant
     – Show the self service aspect, multi tenancy aspect
     – Create and provision a new tenant on shared infrastructure
•   Demonstrate PaaS facilities available for a tenant (metering, billing, logs)
•   Upload an existing web application to the tenant
     – Demonstrate the zero cost/easy migration of applications
•   Creating a new hello world web application
     – Demonstrate the procedure to create an application
     – Deploy application to Cloud using WSO2 Dveloper Studio
•   Secure the web application(Tie the authentication to underlying user model).
•   Create a database
     – Relational storage model options
     – NoSQL storage model options
•   Access a database via web application
•   Expose a database table as data services.
•   Demonstrate WSO2 Stratos and WSO2 StratosLive application platform services
•   Explain the programming model + services
     – Access "CarbonContext” within applications
Key Metrics

• Foundation
  • Time to create new application environment
  • Time to redeploy application
• Optimize
  • Minimum and maximum scale
  • Scale frequency (i.e. time to scale up/down)
• Transformation
  • Time and effort required integrating business process, event
    processor – creating a complex app.
  • Time and effort required to apply policy across tenant(s)
  • Cost to operate application per user or transaction
Quick Start Use Cases

•   DevOps Tooling and On-demand self-service
•   Automated Governance
•   Service level management and elastic scale
•   Consumption based pricing and billing
Quick Start Use Cases

DevOps Tooling and On-demand self-service
• Use Cases
  – Rapidly provision application environment
  – Rapidly provision application tenant
  – Allocate, provision, monitor, manage, and administer
    resources across multiple tenants, nodes, and
    locations
  – Develop complex, composite integrated applications
• Key metrics
  – Time to create new application environment
  – Time to redeploy application
Quick Start Use Cases

Automated Governance
• Use Cases
   – Create users and configure rights
   – Deploy on preferred topology that meets deterministic
     performance requirements (e.g., replication, utilization,
     latency, bandwidth, and coherency)
   – Create service throttling and security governance (XACML)
     policies
• Key Metrics
   – Time and effort required integrating business process,
     event processor – creating a complex app.
   – Time and effort required to apply policy across tenant(s)
Quick Start Use Cases

Service level management and elastic scale
• Use cases
  – Ensure application satisfies consumer demand while
    maximizing resource utilization
     • Scale workload processing and increase performance while
       minimizing infrastructure spend
  – Load test application service
  – Demonstrate multi-tenant web application
• Key Metrics
  – Minimum and maximum scale
  – Scale frequency (i.e. time to scale up/down)
Quick Start Use Cases

Consumption based pricing and billing
• Use cases
  – View service logs
  – View bill by business value
• Key Metric
  – Cost to operate application per user or transaction
Resources
• Try StratosLive right now:
   – https://stratoslive.wso2.com/
• Read about Stratos:
   – http://wso2.com/cloud/stratos/
   – Source Download available
• White Paper
   – Selecting Platform as a Service
   – Platform as a Service TCO: multi-tenant shared container
• Blog Articles
   –   What is Platform as a Service?
   –   PaaS Evaluation Framework for CIOs and Architects
   –   How to simplify Platform as a Service Complexity
   –   Searching for Cloud Reference Architecture
• Contact us:
   – bizdev@wso2.com
Follow us:
                            http://twitter.com/#!/wso2

                                                         Follow us:
Contact us:
                                                  http://twitter.com/#!/wso2
http://wso2.com/contact/
                                                  http://twitter.com/#!/cobiacomm
lean . enterprise . middleware

Más contenido relacionado

Más de WSO2

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 

Más de WSO2 (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 

Último

SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyUXDXConf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoUXDXConf
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024TopCSSGallery
 

Último (20)

SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024
 

Summer School - Building a Cloud-Aware Application

  • 1. Build a Cloud Aware Application Chris Haddad Selvaratnam Uthaiyashankar Read more about PaaS at http://blog.cobia.net/cobiacomm Try StratosLive https://stratoslive.wso2.com/
  • 2. Platform as a Service Criteria • When to create Cloud aware applications? • Cloud application use cases and patterns • Architectural difference between web applications and cloud applications • Cloud Aware Application Demo • Key Metrics and Quick Start Use Cases
  • 3. When to make applications Cloud Aware? • Deliver application to massive consumer base (e.g. Twitter, Google, Pinterest, FaceBook) • Services distributed across multiple providers • Infrastructure cost optimization strategy • Application resiliency improvement strategy • Create an ecosystem platform supporting cross- partner digital business
  • 4. Cloud Scale and Distributed Providers Business Functional Proces Presentation and Business Mashups Role Process Presentation Functional Business Role Role Process Business Presentation and Functional Role Process and Mashups Functional Business Rules Presentation and Mashups code Client Tier Resource Integration Services Tier Resource Services Resource Services Integration Services Public Cloud Services Private Applications
  • 5. Application Resiliency and Composition Infrastructure as a Composite Mobile Service (IaaS) Application Application SaaS Application Cloud Web application API Endpoint Endpoint Integration Services Business Service Portfolio Application Portfolio Hybrid Presentation Services Platform Business Process and Functional Services Services Rules Services Resources Services Integration Services
  • 6. Domain Specific Platform as a Service Delivering Cross-Partner Digital Business Platform Vertical Application 1 Vertical Application 2 Vertical Application 3 App Data App Data App Data Summit Vertical App Source Code App Source Code App Source Code App App App Configuration Configuration Configuration Vertical API Domain Services Domain Services Domain Artifacts Domain Artifacts Managed Programming Languages by PaaS Frameworks Containers OS/Hypervisor Hardware
  • 7. Application Architecture Crossroads Innovation Familiarity
  • 8. Cloud Application Patterns 18 and Anti-Patterns Separation of concerns Failure Resilient Leaky interfaces Tightly coupled Single threaded, modules serial execution Embarrassingly Parallel / Minimal Shared Nothing Architecture Deterministic Consumption performance Resource locks Monolithic footprint Single tenancy model Deploy and execute on optimum topology
  • 9. Cloud Aware Application Use Cases and Underlying Cloud Patterns • Maximize utilization – Requires deterministic performance – Load balance based on tenant, service, and workload, context • Increase reliability, availability, scalability – Shared nothing architecture – Stateless server-side elements – Consensus protocols • Ecosystem platform – Monetize assets based on business value – Tenant/Consumer personalization and isolation – Sharing domain specific business capabilities
  • 10. Architectural Difference Between Web Application and Cloud Application Web Application Cloud Application • Synchronous request-reply • Asynchronous interaction interaction • Queues and workers • Centralized state (i.e. single • Scale out across datacenters database) and session and providers management • Distributed state and session • Clustered server instances management • Silo architecture • Autonomous service instances • Tenant context personalization • Shared JVM / Shared Schema • Shared nothing architecture
  • 11. Cloud Architecture Best Practices Transitioning to a New normal – Traditional practices may not apply • Distributed and federated interactions – Event based, heterogeneous systems, network latency • Configurable containers and engines – Declarative data, rules, and process definitions • De-normalized and simplified data models – Hadoop/BigTable, Hypertext media, simple NoSQL entities • Expect failure – Systems span transactional control • Applications decomposed into distinct services – Federated environment drives autonomy, statelessness, and composition
  • 12. Cloud Application Platform Shared Middleware Services
  • 13. PaaS Evaluation Framework • Cloud Characteristics • Cloud Dimensions • Production Ready • DevOps Activities and Phases • Cloud Architecture • Platform Services • Programming Model
  • 14. PaaS Evaluation Framework Cloud Architecture • Tenancy, dynamic discovery, and distributed cache • Fine-grained metering, billing, and reporting of business entities, activities, and interactions • Scale discrete application service instances instead of scaling monolithic application instances • Shared nothing architecture, Thirteen Dwarf Patterns, parallel processing, resource coordination • Cloud service provisioning and load balancer
  • 15. PaaS Evaluation Framework Platform Services • Presentation services • Application and service container services • Business process and business rule services • Integration services and message brokers • Composite application services (i.e. mashups and orchestration) • Complex event processing services • Data access and persistence services • Development governance • Application life-cycle management • Automated run-time governance services • Policy registry and repository services • Identity management • Security • Service level management • Compute, network, and storage infrastructure services
  • 16. PaaS Evaluation Framework Programming Model • Actor model (i.e. message passing instead of function invocation • RESTful interactions • Dynamic recoverability • Consensus protocols • Asynchronous rather than synchronous interactions • Shared nothing architecture • Data partitioning and sharding • Federated data queries • Service orchestration • Functional programming • MapReduce
  • 17. Cloud Application Demo • Register a new tenant – Show the self service aspect, multi tenancy aspect – Create and provision a new tenant on shared infrastructure • Demonstrate PaaS facilities available for a tenant (metering, billing, logs) • Upload an existing web application to the tenant – Demonstrate the zero cost/easy migration of applications • Creating a new hello world web application – Demonstrate the procedure to create an application – Deploy application to Cloud using WSO2 Dveloper Studio • Secure the web application(Tie the authentication to underlying user model). • Create a database – Relational storage model options – NoSQL storage model options • Access a database via web application • Expose a database table as data services. • Demonstrate WSO2 Stratos and WSO2 StratosLive application platform services • Explain the programming model + services – Access "CarbonContext” within applications
  • 18. Key Metrics • Foundation • Time to create new application environment • Time to redeploy application • Optimize • Minimum and maximum scale • Scale frequency (i.e. time to scale up/down) • Transformation • Time and effort required integrating business process, event processor – creating a complex app. • Time and effort required to apply policy across tenant(s) • Cost to operate application per user or transaction
  • 19. Quick Start Use Cases • DevOps Tooling and On-demand self-service • Automated Governance • Service level management and elastic scale • Consumption based pricing and billing
  • 20. Quick Start Use Cases DevOps Tooling and On-demand self-service • Use Cases – Rapidly provision application environment – Rapidly provision application tenant – Allocate, provision, monitor, manage, and administer resources across multiple tenants, nodes, and locations – Develop complex, composite integrated applications • Key metrics – Time to create new application environment – Time to redeploy application
  • 21. Quick Start Use Cases Automated Governance • Use Cases – Create users and configure rights – Deploy on preferred topology that meets deterministic performance requirements (e.g., replication, utilization, latency, bandwidth, and coherency) – Create service throttling and security governance (XACML) policies • Key Metrics – Time and effort required integrating business process, event processor – creating a complex app. – Time and effort required to apply policy across tenant(s)
  • 22. Quick Start Use Cases Service level management and elastic scale • Use cases – Ensure application satisfies consumer demand while maximizing resource utilization • Scale workload processing and increase performance while minimizing infrastructure spend – Load test application service – Demonstrate multi-tenant web application • Key Metrics – Minimum and maximum scale – Scale frequency (i.e. time to scale up/down)
  • 23. Quick Start Use Cases Consumption based pricing and billing • Use cases – View service logs – View bill by business value • Key Metric – Cost to operate application per user or transaction
  • 24. Resources • Try StratosLive right now: – https://stratoslive.wso2.com/ • Read about Stratos: – http://wso2.com/cloud/stratos/ – Source Download available • White Paper – Selecting Platform as a Service – Platform as a Service TCO: multi-tenant shared container • Blog Articles – What is Platform as a Service? – PaaS Evaluation Framework for CIOs and Architects – How to simplify Platform as a Service Complexity – Searching for Cloud Reference Architecture • Contact us: – bizdev@wso2.com
  • 25. Follow us: http://twitter.com/#!/wso2 Follow us: Contact us: http://twitter.com/#!/wso2 http://wso2.com/contact/ http://twitter.com/#!/cobiacomm
  • 26. lean . enterprise . middleware