Multi-tenancy is an architecture in which a single instance of a software application serves multiple customers. Each customer is called a tenant. Tenants may be given the ability khổng lồ customize some parts of the application, such as the color of the user interface (UI) orbusiness rules, but they cannot customize the application"scode.
Bạn đang xem: Multi tenant là gì
In a multi-tenant architecture, multiple instances of an application operate in a shared environment. This architecture is able khổng lồ work because each tenant is integrated physically, but logically separated; meaning that a single instance of the software will run on one hệ thống và then serve sầu multiple tenants. In this way, a software application in a multi-tenant architecture can nói qua a dedicated instance of configurations, data, user management và other properties.
Multi-tenancy applications can giới thiệu the same users, displays, rules -- although users can customize these to an extent -- và database schemas, which tenants can also customize.
Importance of multi-tenancy
Multi-tenancy has seen a lot of could adoption and is used most with cloud computing. Multi-tenant architectures are found in both public cloud and private cloud environments, allowing each tenant"s data to lớn be separated from each other. For example, in a multi-tenant public cloud, the same servers will be used in a hosted environment lớn host multiple users. Each user is given a separate and ideally secure space within those servers to store data.
This article is part of
What is public cloud? Everything you need khổng lồ know
Which also includes:Download1
Download this entire guide for FREE now!
Multi-tenancy is also important for the scalability of public và private clouds, và has helped make multi-tenancy a standard. The multi-tenant architecture can also aid in providing a better ROI for organizations, as well as quickening the pace of maintenance và updates for tenants.
Types of multi-tenant architecture
There are three main multi-tenancy Mã Sản Phẩm types, all with varying levels of complexity and costs. A single, shared database schema is a multi-tenancy Mã Sản Phẩm with a multi-tenant database. This is the simplest khung out of the three and is a relatively low cost for tenants because of the use of shared resources. This form uses a single application và database instance to lớn host tenants and store data. Using a single, shared database schema allows for easier scaling; however, operational costs can be higher.
Xem thêm: Bán Xe Ô Tô Honda City 2013 Giá Xe Honda City 2013 Giá 410 Triệu Nên Mua?
Another multi-tenant architecture includes the use of a single database with multiple schemas. This tenant system uses a single application instance with individual databases for each tenant. In addition, this architecture has a higher cost with more overhead with each database. It is a valuable architecture when data from different tenants need to be treated differently -- such as if they had khổng lồ go through different geographic regulations.
The third type of multi-tenant architecture hosts data in multiple databases. This model is relatively complex in terms of management và maintenance, but tenants can be separated by a chosen criterion.
Advantages and disadvantages of multi-tenancy
There are a number of advantages & disadvantages that come with becoming a host provider và a tenant with multi-tenancy. Some advantages include:
It is less expensive sầu when compared to lớn other tenant hosting architectures. An offering of pay-for-what-you-need pricing models. Tenants don"t have to worry about updates, since they are pushed out by the host provider. Tenants don"t have khổng lồ worry about the hardware their data is being hosted on. Providers only have sầu khổng lồ monitor and administrate a single system. The architecture is easily scalable.Some disadvantages, however, that come with multi-tenancy include:
Multi-tenant apps tend khổng lồ be less flexible than apps in other tenant architectures, such as single-tenancy. Multi-tenancy is, in general, more complex than single-tenancy. Multi-tenant apps need stricter authentication & access controls for security. Downtime may also be an issue depending on the provider.Examples
Incloud computing, the meaning of multi-tenant architecture has broadened because of new service models that take advantage ofvirtualizationandremote access. A software-as-a-service (SaaS) provider, for example, can run one instance of its application on one instance of a database & provide website access khổng lồ multiple customers. In such a scenario, each tenant"s data is isolated & remains invisible to lớn other tenants. Multi-tenancy can also be implemented in multi-tier systems such as an SAP system.

Multi-tenant vs. single-tenant
Multi-tenancy can be contrasted with single-tenancy, an architecture in which each customer has their own software instance & may be given access to lớn source code. In single-tenant architectures, a tenant will have sầu a singular instance of a SaaS application dedicated to them, unlike multi-tenancy where there are shared services. Because each tenant is in a separate environment, they are not bound in the same way that users of shared infrastructure would be; meaning single-tenant architectures are much more customizable.
Multi-tenancy is the more used option of the two, as most SaaS services operate on multi-tenancy. In comparison khổng lồ single-tenancy, multi-tenancy is cheaper, has more efficient resource usage, fewer maintenance costs as well as a potential for larger computing capađô thị. With a multi-tenant architecture, the provider only has lớn make updates once. With a single-tenant architecture, the provider must touch multiple instances of the software in order to make updates.
A potential customer would likely choose a single-tenant infrastructure over multi-tenancy for the ability to have more control và flexibility in their environment -- typically to lớn address specific requirements.
Related TermsAPI gatewayAn API gateway is a software pattern that sits in front of an application programming interface (API) or group of microservices, ... Seecompletedefinitionsản phẩm điện thoại application developmentSmartphone application development is the mix of processes và procedures involved in writing software for small, wireless computing ... SeecompletedefinitionPascal casePascal case is a naming convention in which developers start each new word in a variable with an uppercase letter. Seecompletedefinition
predictive sầu personalization
Predictive personalization is the effort and ability khổng lồ predict the actions of users, based on their previous behaviors online.