Developing and Deploying SaaS App Using VMware vCloud Suite
-
Upload
wso2 -
Category
Technology
-
view
399 -
download
4
Transcript of Developing and Deploying SaaS App Using VMware vCloud Suite
![Page 1: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/1.jpg)
Committer and PMC member of Apache StratosSenior Software Engineer, WSO2
Lahiru Sandaruwan
Developing and deploying SaaS app using VMware vCloud Suite with Apache Stratos
Committer and PMC member of Apache StratosSoftware Engineer, WSO2
Melan Jayasingha
![Page 2: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/2.jpg)
*
Agenda
• Developing and Development of SaaS application
• Values added from cloud• How to use vCloud as Stratos IaaS for
building a SaaS platform• Demonstration with Joomla cartridge • Scalability demo• High Availability demo• Q&A, Discussion
![Page 3: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/3.jpg)
*
Development and Deployment of SaaS application
![Page 4: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/4.jpg)
*
Values added from cloud
๏ Scalability๏ High Availability๏ Load Balancing๏ SLA Awareness
![Page 5: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/5.jpg)
*
Scalability
"The ability of the of a system to continue to operate correctly even when it is scaled to a larger size”
![Page 6: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/6.jpg)
*
Vertical Scaling
• Get the maximum out of each allocated JVM or resource
• Increase CPU size• Increase memory
![Page 7: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/7.jpg)
*
Horizontal Scaling
![Page 8: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/8.jpg)
*
Availability
![Page 9: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/9.jpg)
*
Availability
![Page 10: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/10.jpg)
*
High Availability
A system that is designed for continuous operation in the event of a failure of one or more components. However, the system may display some degradation of service, but will continue to perform correctly.
High Availability: The proportion of time during which the service is accessible with reasonable response times should be close to 100%.
![Page 11: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/11.jpg)
*
How to decide required scale (capacity) & availability?
• Average throughput (TPS)• Max throughput (TPS)• Monetary value of a transaction• Average loss & max loss per second of
downtime• Decide on how much to invest based on cost vs.
benefit tradeoff
![Page 12: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/12.jpg)
*
Load Balancing
• Load balancing algorithms• Round robin• Weighted• Response based• Health check• Failover-only
![Page 13: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/13.jpg)
*
Configuring Stratos to use vCloud
<iaasProvider type="vcloud" name="VMware vCloud specific details"><className>org.apache.stratos.cloud.controller.iaases.VCloudIaas</className><provider>vcloud</provider><identity svns:secretAlias="cloud.controller.vcloud.identity">sampleusername</identity><credential svns:secretAlias="cloud.controller.vcloud.credential">*****</credential><property name="jclouds.endpoint" value="https://mycloud.stratogen.sg/api" /><property name="jclouds.vcloud.version.schema" value="1.5" /><property name="jclouds.api-version" value="1.5" /><property name="autoAssignIp" value="true" />
iaasProvider>
![Page 14: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/14.jpg)
*
Demo
![Page 15: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/15.jpg)
*
References
๏ http://www.cari-info.org/cari-2012/session%201/1B3.pdf๏ http://www.slideshare.net/afkham_azeez/java-colombo-developing-
highly-scalable-apps
- Azeez’s talk at Java Colombo
![Page 16: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/16.jpg)
*
DISCUSSION
![Page 17: Developing and Deploying SaaS App Using VMware vCloud Suite](https://reader033.fdocuments.net/reader033/viewer/2022052315/5577d01ed8b42ae0418b4d94/html5/thumbnails/17.jpg)
*
Thanks!