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
๏ Generated 2x revenue growth in
2013 and 2012
๏ Captured 65 new customers in
2013
๏ Obtained $30 M of funding from
CISCO and Toba Capital
5. **
๏ Introduction to Composite Application
๏ Package model of Composite Application
๏ Capabilities of Composite Application
๏ Independent and Dependent Scaling of an App
๏ Single Deployment Policy for Composite Application
Composite Application Features in
Stratos...
6. *
Composite Application in Cloud
๏ allows to deploy an application that required to have
different service runtimes (cartridge) with their
relationship, dependencies and deployment pattern.
๏ Defines a service group by aggregating different
service runtimes with their unique behaviours such as
startup order, termination behaviour and scaling
behaviour.
Eg: DataBase group consists of mysql and
postgres
๏ Group supports nested group and their behaviour as
well
9. *
Why Composite Application in Cloud?
๏ PaaS manages heterogeneous service
runtimes(cartridges)
๏ Cartridges have dependencies to other cartridges
๏ Subset of cartridges can be grouped together by
defining the group behaviours
๏ Easy to maintain application and their dependencies by
providing monitoring, handling app behaviours and
elastic scaling.
10. *
Packaging of Composite Application
๏ Application consists of groups and cartridges/services
๏ Group can also consist of another group as nested
manner and cartridges/services.
15. *
Capabilities of Composite Application
2. termination behaviour
● termination all
● termination dependents
● termination none
16. *
Capabilities of Composite Application
๏ Defining the termination behaviour
[terminate-all/terminate-dependents/terminate-none]
17. **
What is a Partition?
๏ Logically group IaaS resource locations
๏ Partitions are important to make application high
availability
๏ Cartridge instances are spun inside these partitions
๏ Partitions are defined by DevOps
What is a network partition?
๏ Logical groups multiple partitions, that are in the same
network
๏ Used in deployment policies
Controlling IaaS Resources
18. **
What are the advantages?
๏ Can controll
- per cloud, per region, per zone, ...etc
๏ Can achieve high availability, disaster recovery
๏ Control the resource utilization
๏ Help with geo based deployments
- help comply with geo rules/regulations
๏ Resources are defined for cartridges/groups of the
application in the Deployment Policy
Controlling IaaS Resources
19. *
Single Deployment Policy
๏ Same application can be deployed in HA or in burst
manner using different deployment Policy.
๏ No need to define multiple deployment policy per
cluster level or group level.
๏ Validation can also happen in the single place
20. **
Single Deployment Policy
+ applicationId
+ applicationPolicy[1..1]
+ networkPartition[1..n]
+ id
+ activeByDefault
+ partition[1..n]
+ id
+ provider
+ properties[1..n]
+ childPolicies[1..n]
+ childId (group alias or cartridge alias)
+ networkPartition[1..n]
+ id
+ algorithm
+ partition[1..n]
+ id
+ max
24. **
What is it?
๏ 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
Multi-factored Auto Scaling
25. **
Dependent Scaling
๏ When one cluster scales up, scale up the dependent
group/cluster as well
Predicted No of instances for c3 is 4
26. **
Group Scaling
๏ When one cluster’s predicted no of instances are higher than
the cluster instance max, group will decide on group wise
scaling.
27. **
What is it?
๏ Expanding/provisioning application into another cloud
to handle peak load.
Why Should one care?
๏ Resource peak time can be off-loaded to third party
clouds/resources
What is unique about it?
๏ Can off-load to any cloud
- Private, Public and Hybrid
Cloud Bursting
28. **
๏ The new Application instance will be bursted into
different network partition
Cloud Bursting...
29. **
More Information !
๏ http://lakmalsview.blogspot.com
๏ Apache Stratos - http://stratos.apache.org/