Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2017 (3)
20082026
  1. …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…
  2. …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
  3. …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
  4. …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…