Company
Date Published
Author
Sean Lynch
Word count
1025
Language
English
Hacker News points
None

Summary

Multi-tenancy is a key concept in modern SaaS products where multiple customers share a single instance of an app, with each customer seeing only their own data and workflows. Architecting data integrations for multi-tenancy requires careful consideration of how to split and merge data across different repositories and models. Census Embedded provides complementary approaches to ensuring multi-tenancy guarantees, including activation and ingestion patterns, where the goal is to take data from customers and send it back to them or load it into their app. These integrations require multiple layers of enforcement to maintain isolation, including separate tables/views for each customer, row-level security, and per-customer models. To ensure multi-tenancy guarantees, Census Workspaces provide an isolated space for each customer, allowing for simple customization and management, and are recommended for use in both activation and ingestion integrations.