Ruby Multi-tenancy

Open-source Ruby projects categorized as Multi-tenancy

Top 6 Ruby Multi-tenancy Projects

  • Apartment

    Database multi-tenancy for Rack (and Rails) applications

  • Project mention: Figma's Databases team lived to tell the scale | news.ycombinator.com | 2024-03-14

    I recall a popular rails gem[1] once upon a time that provided multi-tenancy via postgres schemas.

    As it turns out, even the company the initially developed the gem ended up ditching the approach due to some of the issues you outlined above.

    Managing separate schemas feels like one of those nefarious decisions that make things simple _initially_ but get you into a world of hurt when you need to scale. The company is since defunct but they have an article where they discuss why they ditched the approach [2], TL;DR it's too difficult to maintain and scale

    [1] https://github.com/influitive/apartment#tenants-on-different...

  • Acts As Tennant

    Easy multi-tenancy for Rails in a shared database setup.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • activerecord-multi-tenant

    Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus

  • Project mention: Nile, Serverless Postgres for Modern SaaS | news.ycombinator.com | 2023-10-25

    Yup! I lean towards 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 have experience with.

  • Milia

    Easy multi-tenanting for Rails5 (or Rails4) + Devise

  • multi-tenant-support

    Build a highly secure, no data leak, multi-tenant rails app

  • gorynich

    [MIRROR] Multitenancy for Rails including ActiveRecord, ActionCable, ActiveJob and other subsystems

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby Multi-tenancy related posts

Index

What are some of the best open-source Multi-tenancy projects in Ruby? This list will help you:

Project Stars
1 Apartment 2,648
2 Acts As Tennant 1,503
3 activerecord-multi-tenant 695
4 Milia 339
5 multi-tenant-support 46
6 gorynich 11

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com