/ tag
Multi-tenancy
1 post on this topic.
-
Schema-per-tenant Rails, and the bug that only shows up in a background job
Isolating tenants in separate Postgres schemas is the easy 90%. The 10% that bites is keeping that isolation when work leaves the web request and runs on an SQS worker. Here's how we carried the tenant across the queue.