Trending
SWI launches AI cloud unit SWI Compute Short seller bets against Csquare, says data center firm’s shares are worthless SpaceXAI facing $6.1m fine in Mississippi for building data centers without securing correct permits Doctor and Nurse One Liners – Fun Friday Accelerating AI data center deployment with software-defined medium-voltage switchgear Meta details Ohio Prometheus data center campus, with first phase live AWS plans to expand data center footprint in Montgomery County, Missouri Quandela and Quanova partner for deployment of first quantum computer in Vietnam Google ordered to suspend site work at two data centers in Finland following tree clearing controversy UK gov’t looks to introduce tougher prison sentences and unlimited fines to subsea cable saboteurs Sponsored: Belimo strengthens global data center strategy with new Experience Center in the Americas HPE to send Spaceborne Computer-4 to the Moon Tesla appoints new head of energy programs Bull awarded €40m to deliver HLRE-5 supercomputer to the German Climate Computing Center G42 signs MoU for AI infrastructure in Greece

A Guide to Multi-Tenancy: Benefits and Challenges

Every software company that builds an application serving more than one customer has to answer this question.. Should each customer get a separate copy of the system, or should they all share one?. Running a dedicated copy per customer is easy to reason about, but the cost of maintaining hundreds of separate copies increases with every new customer.

On the other hand, sharing a single system across all customers is far cheaper. This is why most of the software we use every day is built to be shared rather than duplicated. Such systems are known as multi-tenant systems, where each customer is a tenant that shares resources with other tenants..

However, sharing is also where the difficulty begins.. Once many customers rely on the same database, the same servers, and the same background jobs, their fortunes become linked. For example, one customer running a heavy report can slow the service for everyone alongside them.

A single faulty deployment can impact all of them at once instead of just the customer. And the most serious risk is around data leaks, where one customer is shown data that belongs to another. All of these situations have to be actively handled by a multi-tenant system..

In this article, we will understand multi-tenant architecture from the basics, along with its various benefits and challenges. Here’s a quick overview of what we will cover:. What a tenant really is..

Where each customer’s data can physically live, from one shared set of tables to a database of its own, and what each of those options costs.. Why the same choice between isolating and sharing also includes the compute layer and beyond, not only in the database.. The noisy neighbor problem, and why sharing can impact fairness and force a team to rebuild it with quotas and limits..

The role of blast radius in such an architecture.. The concept of tenant context that runs through every part of the system.

 

Join the conversation

Your email address will not be published. Required fields are marked *