|
|
This article or section has multiple issues. Please help improve the article or discuss these issues on the talk page.
|
Multitenancy refers to a principle in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants). Multitenancy is contrasted with a multi-instance architecture where separate software instances (or hardware systems) are set up for different client organizations. With a multitenant architecture, a software application is designed to virtually partition its data and configuration so that each client organization works with a customized virtual application instance.
The principle of multitenancy is not universally accepted and supported within the software industry, and this may be a source of competitive differentiation (see below).
Contents |
Adoption
History of Multitenant Applications
Multitenant applications have evolved from—and combine some characteristics of—three types of services:
- Dating back to the 1960s, companies rented space and processing power on mainframe computers (Time-Sharing) to reduce computing expenses. Often they also reused existing applications as well, with simply a separate field in entry field on the logon screen to specify their customer account ID. On the basis of this ID, the mainframe accounting department could then charge the individual customers for CPU, Memory and Disk/Tape usage actually incurred. This approach was continued by SAP in their R/1 to R/3 ERP product ranges
- Dating back to the 1990s, traditional application service providers (ASPs) hosted (then-existing) applications on behalf of their customers. Depending on the limitation of the underlying application, ASPs were forced to host applications on separate machines (if multiple instances of the applications could not be executed in the same physical machine) or as separate processes. Multitenant applications represent a more mature architecture that enables a similar service with lower operational cost.
- Popular consumer-oriented web services (such as Hotmail) were naturally designed as a single application instance that serves all customers. Multitenant applications represent a natural evolution from this model, offering additional customization to a group or users within the same client organization.
Differentiation from Virtualization
In a Multitenancy environment, multiple customers share the same application, running on the same operating system, on the same hardware, with the same data storage mechanism. The distinction between the customers is achieved during application design, so that customers do not share or see each other's data. Contrast this with Virtualization where one or other of these components is abstracted so that each customer application appears to be running on a separate physical machine.
Competitive Differentiation
Some companies (including Google Apps, Microsoft, ScanSafe, NetSuite, Salesforce.com, and Digital Insight) are actively promoting the principle of Multitenancy, and using it as a source of competitive differentiation.[1][2]
Economics of Multitenancy
Cost Savings
Multitenancy allows for cost savings over and above the basic economies of scale achievable from consolidating IT resources into a single operation.[citation needed] An application instance usually incurs a certain amount of memory and processing overhead which can be substantial when multiplied by many customers, especially if the customers are small. Multitenancy reduces this overhead by amortizing it over many customers. Further cost savings may come from licensing costs of the underlying software (such as operating systems and database management systems). Put crudely, if you can run everything on a single software instance, you only have to buy one software licence. The cost savings can be eclipsed by the difficulty to scale single instance (a bigger faster server can only take you so far) as the demand grows. In addition, the actual development of a Multitenancy System is somewhat more complex, and the testing necessary for Security needs to be more stringent.
Data Aggregation/Data Mining
One of the most compelling reasons for vendors/ISVs to utilize multi-tenancy is for the inherent data aggregation benefits. Instead of collecting data from multiple data sources, with potentially different database schemas, all data for all customers is stored in a single database schema. Thus, running queries across customers, mining data, and looking for trends is much simpler.
Complexity
Because of the additional customization complexity and the need to maintain per-tenant metadata, multitenant applications require a larger development effort.
Release Management
Multi-tenancy simplifies the release management process. In a traditional release management process, packages containing code and database changes are distributed to client desktop and/or server machines. These packages then have to be installed on each individual machine. With the multi-tenant model, the package typically only needs to be installed on a single server. This greatly simplifies the release management process.
Requirements
Customization
Multitenant applications are typically required to provide a high degree of customization to support each target organization's needs. Customization typically includes the following aspects:
- Branding: allowing each organization to customize the look-and-feel of the application to match their corporate branding (often referred to as a distinct "skin").
- Workflow: accommodating differences in workflow to be used by a wide range of potential customers.
- Extensions to the data model: supporting an extensible data model to give customers the ability to customize the data elements managed by the application to meet their specific needs.
- Access control: letting each client organization independently customize access rights and restrictions for each user.
Quality of service
Multitenant applications are expected to provide adequate levels of security and robustness, which are provided by the operating system in the case of multi-instance applications.
Virtualization
The costs of re-designing applications for multi-tenancy can be significant, especially for software vendors who continue to offer an on-premises single-tenant version of their product. They end up being forced to support two distinct products with all the resulting costs.
An increasingly viable alternative route to multi-tenancy that eliminates the need for significant architectural change is to use virtualization technology to host multiple isolated instances of an application on one or more servers. Indeed, when applications are repackaged as virtual appliances the same appliance image can be deployed in ISV hosted, on-premises or trusted-third party locations and even migrated from one deployment site to another over time.
Notes
- ^ Multi-Tenant Data Architecture MSDN Architecture Center, June 2006
- ^ Software as a service: The next big thing ComputerWorld 23/03/2006
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




