Multi Tenancy
Multi-tenancy in databases refers to architectures where a single database (or database instance) serves multiple independent customers, or 'tenants,' while keeping each tenant's data logically isolated, typically via separate databases, separate schemas, or a shared schema with a tenant-identifier column.
10 resources across 2 libraries
Glossary Terms(5)
Document Store Database
A document store is a NoSQL database that stores data as self-contained documents — typically JSON, BSON, or XML — each holding nested fields and arrays, allow…
Database Sharding Key
A database sharding key (or partition key) is the attribute, or combination of attributes, used to determine which shard (physical partition) of a distributed…
Multi-Tenancy (Database)
Multi-tenancy in databases refers to architectures where a single database (or database instance) serves multiple independent customers, or 'tenants,' while ke…
Row-Level Security
Row-Level Security (RLS) is a database access-control mechanism that restricts which rows of a table a given user or query is allowed to see or modify, enforci…
Mutual TLS (mTLS)
Mutual TLS (mTLS) is an extension of the standard TLS protocol in which both the client and the server present and verify X.509 certificates during the handsha…
Interview Questions(5)
How Do You Implement Row-Level Security in a Database?
Row-level security (RLS) is implemented by attaching a security policy to a table that filters which individual rows a given user or role can see or modify, en…
What are Multi-Tenant Database Architecture Patterns?
Multi-tenant database architecture describes the strategies a SaaS system uses to store many customers (tenants) in a shared database platform, ranging from on…
Schema-per-Tenant vs Shared-Schema: Which to Choose?
Schema-per-tenant gives each tenant their own set of tables (a namespace) inside one shared database instance, while shared-schema puts every tenant’s rows int…
What is the Bulkhead Pattern?
The bulkhead pattern isolates resources such as thread pools, connection pools, or processes per dependency or workload so that a failure or slowdown in one pa…
What is a Kubernetes Namespace and When Should You Use One?
A Kubernetes Namespace is a virtual cluster partition that scopes resource names, access control, and resource quotas, letting multiple teams or environments s…