Multi-tenant Architecture
Multi-tenant architecture is a software design pattern in which a single software instance serves multiple independent user groups (tenants) simultaneously. Tenants share the same underlying infrastructure and application while maintaining logical isolation at the data and configuration levels. This architecture is widely used in cloud computing and SaaS services, offering high resource utilization, centralized operations, and support for per-tenant customization. Common implementation strategies include shared database, separate schema, and separate database isolation levels.
Core Facts
At the database level, multi-tenant data isolation mainly has three classic solutions: shared database + shared schema (field-level isolation), shared database + separate schema (schema-level isolation), and separate database (physical-level complete isolation).
Multi-tenancy is a platform challenge that requires serving multiple business units and model versions within a single system while guaranteeing resource isolation, fair scheduling, and security.
Timeline (last 90 days)
Each tenant has its own independent set of encryption keys, so if a tenant requests data deletion, destroying its keys is enough to make the data unreadable without re-encrypting the entire database.
Tool calls in AI Agent endpoints pass tenant context from the HTTP request all the way to the tool execution context, and agentRunner.ts explicitly extracts the tenantId and passes it into the tool execution context.
Under multi-tenant or shared-memory architectures, the harm of prompt injection is amplified: a single successful injection may poison persistent memory, affecting other sessions or tenants.
Security leads will pay particular attention to whether an Agent's memory persists across tenants, whether sessions are isolated, and whether tool-returned content is treated as untrusted input.
Salesforce uses a multi-tenant architecture in which all customers share the same underlying infrastructure, with data security ensured through logical isolation.
Multi-tenant architecture can serve a massive number of customers at extremely low marginal cost, but when an underlying component fails, the impact spans all tenants.
Multi-tenancy is a platform challenge that requires serving multiple business units and model versions within a single system while guaranteeing resource isolation, fair scheduling, and security.
All Facts (11)
At the database level, multi-tenant data isolation mainly has three classic solutions: shared database + shared schema (field-level isolation), shared database + separate schema (schema-level isolation), and separate database (physical-level complete isolation).
80%VerifiedMulti-tenancy is a platform challenge that requires serving multiple business units and model versions within a single system while guaranteeing resource isolation, fair scheduling, and security.
65%Unverified三种多租户数据隔离方案可以在同一平台中混合使用
85%Unverified电商/支付类商户平台场景中,小商户可采用共享Schema方式降低成本,大客户或有严格合规要求的商户应升级为独立Schema甚至独立数据库
85%UnverifiedThe scenario of managing multiple subsidiaries within a group company represents a moderate isolation requirement, for which the shared database + shared schema solution is generally the optimal choice.
60%UnverifiedTool calls in AI Agent endpoints pass tenant context from the HTTP request all the way to the tool execution context, and agentRunner.ts explicitly extracts the tenantId and passes it into the tool execution context.
50%UnverifiedEach tenant has its own independent set of encryption keys, so if a tenant requests data deletion, destroying its keys is enough to make the data unreadable without re-encrypting the entire database.
50%UnverifiedUnder multi-tenant or shared-memory architectures, the harm of prompt injection is amplified: a single successful injection may poison persistent memory, affecting other sessions or tenants.
50%UnverifiedSecurity leads will pay particular attention to whether an Agent's memory persists across tenants, whether sessions are isolated, and whether tool-returned content is treated as untrusted input.
50%UnverifiedSalesforce uses a multi-tenant architecture in which all customers share the same underlying infrastructure, with data security ensured through logical isolation.
50%UnverifiedMulti-tenant architecture can serve a massive number of customers at extremely low marginal cost, but when an underlying component fails, the impact spans all tenants.
50%