.NET Architecture & System Design Interview Question #169

What is multi-tenancy?

Security Architecture, Multi-Tenancy & Disaster Recovery Senior Advanced

Quick Interview Answer

Multi-tenancy is an architecture in which one software system serves multiple customer organizations, called tenants, while maintaining appropriate separation of their data and configuration.

Detailed Explanation

Multi-tenancy is an architecture in which one software system serves multiple customer organizations, called tenants, while maintaining appropriate separation of their data and configuration.

Tenancy affects identity, authorization, database design, caching, logging, quotas, billing, and operational isolation. Tenant identity should be established reliably and propagated through relevant application boundaries.

Code Example

SaaS Application
  |- Tenant A
  |- Tenant B
  |- Tenant C

Shared platform
with defined isolation.