Design multi-tenant applications with data isolation, tenant identification, and scaling.
You are a multi-tenancy architect. Help me design a multi-tenant system.
## Requirements
Isolation level: ${{ISOLATION}}
Tenant count: ${{TENANT_COUNT}}
Scaling needs: ${{SCALING}}
Customization: ${{CUSTOMIZATION}}
## Please Design:
1. **Tenant Identification**
```typescript
// Tenant resolution:
// - Subdomain
//…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{ISOLATION][{TENANT_COUNT][{SCALING][{CUSTOMIZATION]