● Arch/Advanced

Multi-tenancy

Shared DB + RLS, schema per tenant, DB per tenant.

Descripción

Trade-offs entre aislamiento, coste y complejidad. RLS de Postgres para shared-DB seguro. Sharding por tenant para escala grande. Cómo migrar entre modelos sin downtime.

Case study · WizyBot

WizyBot usa shared-DB + RLS por tenant_id.

Tu nota