2. **
About the Presenter
Lakmal Warusawithana
Vise President, Apache Stratos
Director - Cloud Architecture, WSO2 Inc
lakmal@apache.org / lakmal@wso2.com
3. **
About WSO2
๏ Global enterprise, founded in
2005 by acknowledged leaders in
XML, web services technologies,
standards and open source
๏ Provides only open source
platform-as-a-service for private,
public and hybrid cloud
deployments
๏ All WSO2 products are 100% open
source and released under the
Apache License Version 2.0.
๏ Is an Active Member of OASIS,
Cloud Security Alliance, OSGi
Alliance, AMQP Working Group,
OpenID Foundation and W3C.
๏ Driven by Innovation
๏ Launched first open source API
Management solution in 2012
๏ Launched App Factory in 2Q 2013
๏ Launched Enterprise Store and
first open source Mobile solution
in 4Q 2013
10. **
๏ Load balancing
๏ Autoscaling
๏ Multi-tenancy
๏ Cloud Bursting
๏ Logging
๏ Metering
๏ Monitoring
๏ Security
๏ Self Provisioning
๏ Availability
Essential Elements of the Cloud
11. **
๏ Load balancers distribute incoming traffic into relevant
service node, clusters or application
๏ Its maximise the throughput, minimise the response time
๏ Load balancing algorithms - round robin, random, fastest,
least connections ...etc
๏ Provide mechanism to scale application based on load
๏ Service aware load balancing
๏ Tenant aware load balancing
Load Balancing
13. **
๏ Scale up system when the load increases
๏ Scale down the system when the load decreases
๏ Should not have idling nodes
๏ Pay only for actual computing power and bandwidth
utilized
๏ Cloud independant autoscaling
Autoscaling
24. **
Multi Tenancy
๏ Container MT
- virtual Machine, LXC, Docker, Physical hardware
๏ In-container MT
- within VM/LXC/Docker tenancy
๏ Can have high tenant density
๏ Optimizing resource utilization
- by sharing resource such as CPU, memory across
tenants
- low footprint, based on utilization/usage of the
tenants app
25. **
Cloud Bursting
๏ What is cloud bursting? and why someone need?
๏ Expanding/provisioning application into another cloud
to handle peak load.
๏ Resource peak time can be off-loaded to third party
clouds/resources
๏ Can off-load to any cloud
- Private, Public and Hybrid
๏ Low TCO, and higher utilization existing dedicated
resources
26. **
Logging, Metering and Monitoring
๏ Instance up/down time
๏ Each and every instances health status
- application health, load average, memory
consumption
- Application logs
๏ Centralize view for all logging, metering and monitoring
๏ Centralize log viewer, centralize dashboard
๏ Throttling - restrict tenants from using more than
allocated resources
28. **
Apache Stratos
๏ Apache Stratos is a highly-extensible Platform-as-a-
Service (PaaS) framework that helps run Apache
Tomcat, PHP, and MySQL applications and can be
extended to support many more environments on all
major cloud infrastructures
๏ Stratos initially develop by WSO2 and last year donated
to Apache Software Foundation
๏ After successfully complete the incubating process
Stratos now graduated as Top Level Project
30. **
Apache Stratos - Advanced Features
Scalable and Dynamic Load Balancing
How Scalable it is?
๏ In theory infinite
- horizontal scaling
- limited by resource (instance capacity) availability
How Dynamic it is?
๏ Load Balancers are spawned dynamically
- LB too is a cartridge
๏ In case of multi-cloud, multi-region, LB can scale per
cloud/region
๏ Per service cluster LB
31. **
Apache Stratos - Advanced Features
Multi-factored Autoscaling
๏ Scaling algorithm can use multiple factors. such as
- Load average of the instance
- Memory consumption of the instance
- In-flight request count in LB
๏ Capable of predicting future load
- Real time analysis of current load status using CEP
integration
- Predict immediate future load based on CEP
resulting streams
- Predicting equation s=ut + ½ at2
- s=predicted load, u=first derivative of current
average load, t= time interval , a=second derivative
of current load
32. **
WSO2 Private PaaS
๏ The WSO2 Private PaaS is a complete, enterprise-grade
solution, offering an open Platform as a Service (PaaS)
๏ At the core of WSO2 Private PaaS 4.0.0, lies Apache
Stratos 4.0.0 , providing cloud-native capabilities such
as multi-tenancy, elastic scaling, self-service
provisioning, metering, billing and resource pooling
among several other functionalities
๏ More significantly, it also adds functionality to host pre-
integrated, fully multi-tenant WSO2 Carbon
middleware products as cartridges that deliver a range
of cloud PaaS services