about theApache StratosApachestratosIntroduction
Platform-as-a-service (PAAs) is a model of cloud computing that provides developers with a platform and environment that enables them to develop and build applications over the Internet. Apache Stratos is a PAAs framework from the Apache community that addresses the different challenges facing the current PAAs. It also serves as the basis for many different types of PAAs platforms, such as Application PAAs (APAAS), Integration PAAs (IPaaS), and Data PAAs (Dpaas).
The Stratos can be deployed on any IAAS platform supported by Apache Jclouds and has been fully tested in EC2, OpenStack, and GCE. The platform enables Docker support through Google Kubernetes and CoreOS. At the same time, Stratos provides the basic IaaS functionality needed by the platform through its own Mock IaaS,thus providing users with a low-cost way to try Stratos.
Cartridge is a virtual machine running on an IaaS platform that contains components that interact with Stratos PAAs. In Stratos, the operating environment of the service is created through the cartridge environment. Currently Stratos offers the following CARTRIDGE:NODE.JS,WORDPRESS,PHP,MYSQL,WSO2 application servers, Java,jboss,ruby and Tomcat. Of course users can easily use Stratos to create other cartridge, whether it is the application framework, data, applications, or load balancing types of cartridge such as: Mongodb,ruby on Rails,.net,spring,joomla, Struts, PostgreSQL and more. For example, if you need a PHP runtime environment, you can use PHP cartridge to get a PHP runtime environment for deploying PHP applications. The concept of cartridge allows users to deploy and run their own cartridge,cartridge using Stratos to use any language or framework. Stratos supports multiple development languages, such as Php,mysql.
Stratos's combined application enables users to deploy apps that use different service runtime environments, which can have relationships or dependencies. Each service runtime environment can be scaled in conjunction with or combined with the services it relies on. In the case of composite apps, when a tenant's app is deployed, other tenants can automatically subscribe to the app's services.
Stratos offers multiple leases, and one Stratos instance can support multiple tenants. Once a multitenant application is deployed, tenant users can log on to multi-tenant cartridge, where each tenant gets a running environment isolated from the other tenants. Because Stratos provides tenant-level isolation, you can increase resource utilization by hosting multiple tenants on a single Stratos instance.
In addition, Stratos provides out-of-the-box load balancing and provides an extension of Nginx and Haproxy, in short, Stratos can easily scale to support other load balancing. In Stratos, you can provide load balancing for each tenant so that requests to the tenant URL can be forwarded to the tenant app running on the internal service run-time environment.
This article is from the "Wesley" blog, please be sure to keep this source http://szk5043.blog.51cto.com/8456440/1843037
1.Apache Stratos Introduction