apartment
Database multi-tenancy for Rack (and Rails) applications (by rails-on-services)
philia
A Rails6 port of Milia (by philsmy)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apartment
Posts with mentions or reviews of apartment.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-27.
-
Tenant-relative unique record IDs in a multi-tenant app
If you use the Apartment gem with Postgres then you can have a separate schema for each tenant, and tenanted tables naturally use their own separate sequence for ID numbering.
-
How are you dealing with multi tenancy applications?
We have a ~200 table database with 15 tenants, and have used the Apartment gem in its multi-schema configuration on Postgres. Works like a charm! Some people say though that when you get to the hundreds or thousands of tenants, the high number of tables could become an issue.
-
Multitenancy
The currently-maintained version of apartment is the Rails-on-Services one -- ros-apartment.
-
Project structured in different subdomains
For each instance I would then use a multitenant app like https://github.com/rails-on-services/apartment Apartment - this is an actively maintained fork of the original gem.
-
Multitenancy Books ?
Just one thing: the apartment gem, used on the book, stopped to be updated and support only Rails 5.2. But there is an active fork, very well maintained, that supports rails 6.1: https://github.com/rails-on-services/apartment
philia
Posts with mentions or reviews of philia.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-28.
What are some alternatives?
When comparing apartment and philia you can also consider the following projects:
Acts As Tennant - Easy multi-tenancy for Rails in a shared database setup.