Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 600 Bytes

multitenancy_in_ecto.md

File metadata and controls

21 lines (13 loc) · 600 Bytes

Multi-tenancy in Ecto

1. schema prefixes

2. Foreign key

3. Triplex

Triplex is an Elixir library, which helps manage multi-tenancy by automatically creating and handling tenant-specific PostgreSQL schemas.


Questions to Consider When Evaluating Multitenancy for Your Project What is the scale of your database instance? What are your data isolation requirements? What is your budget for infrastructure and maintenance? How important is customization for each tenant? What are the security implications? What is the complexity of your existing infrastructure?