citusdata/activerecord-multi-tenant
View on GitHub ↗ ★ 759 Ruby
Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2017-08-09 · latest 2023-10-25
20082026
-
…a tenant ID approach. I ALWAYS use a library that enforces these tenant checks on queries. Ruby ( https://github.com/citusdata/activerecord-multi-tenant ) and Elixir (I wrote https://github.com/sb8244/ecto_tenancy_enforcer ) are the ones I…
comment by sb8244 · 2023-10-25 · in Nile: Serverless Postgres for modern SaaS -
…Django[2]) and more coming. [1] https://www.citusdata.com/blog/2017/11/14/scale-out-your-dja... [2] https://github.com/citusdata/activerecord-multi-tenant
comment by craigkerstiens · 2017-11-16 · in Citus Cloud 2, Postgres, and Scaling Without Compromise -
…work easier as well with libraries that allow things to be more drop-in (ActiveRecord-multi-tenant: https://github.com/citusdata/activerecord-multi-tenant and Django-multitenant: https://github.com/citusdata/django-multitenant )
comment by craigkerstiens · 2017-10-30 · in Scaling the GitLab database -
…we have libraries available that make the app changes simpler (100-150 lines). For example: https://github.com/citusdata/activerecord-multi-tenant 4. Migrate your data over to a distributed database. Fortunately, online data migrations are…
comment by ozgune · 2017-08-09 · in Principles of Sharding for Relational Databases