Enabling Microservices Frameworks to Solve Business Problems
Stratos Grouping
1. Last Updated: December 2014
Manage Composite Application
with Apache Stratos
Reka Thirunavukkarasu
Senior Software Engineer, WSO2
Committer & PMC member, Apache Stratos
Composite Applications in Apache Stratos
4.1.0
Udara Liyanage
Software Engineer, WSO2
Committer & PMC member, Apache Stratos
Chamila de Alwis
Software Engineer, WSO2
Committer & PMC member, Apache Stratos
http://stratos.apache.org/
2. *
๏ What is Stratos
๏ What is a Composite Application Model
๏ Sample composite applications
๏ Metadata API
๏ Demo with tomcat - WSO2 Identity Server SAML SSO
Roadmap
3. *
oApache Stratos is a highly-extensible Platform-as-a-
Service (PaaS) framework
oMultifactored Autoscaling
oLoad Balancer as a cartridge
oHigh availability
oCloud bursting
oMultitenancy
Stratos
8. Problems?
o Managing multiple services that are grouped together
in the real world
o Startup dependencies among services
o Termination behavior among dependent services
o Scaling rules among services and service groups
o Sharing data among services and service groups
9.
10. o Allows to deploy an application that required to have
different service runtimes (cartridge) with their
relationship, dependencies and deployment pattern.
o Defines a service group by aggregating different service
runtimes with their unique behaviours such as startup
order, termination behaviour and scaling behaviour.
o Eg: DataBase group consists of mysql and postgres
o Group supports nested group and their behaviour as well
Composite Application Model
20. *
Dependent Scaling
๏ When one cluster scales up, scale up the dependent
group/cluster as well
Predicted No of instances for c3 is 4
21. o PaaS manages heterogeneous service
runtimes(cartridges)
o Cartridges have dependencies to other cartridges
o Subset of cartridges can be grouped together by defining
the group behaviours
o Easy to maintain application and their dependencies by
providing monitoring, handling app behaviours and
elastic scaling.
Why Composite Application in
Cloud ?
22. *
More Information !
๏ http://lakmalsview.blogspot.com
๏ Composite applications
https://cwiki.apache.org/confluence/display/STRATO
S/4.1.0+Composite+Applications
Thank you!
Questions..?
26. Packaging of Composite Application
o Application consists of groups and cartridges/services
o Group can also consist of another group as nested
manner and cartridges/services.