n1_loader
activerecord-multi-tenant
Our great sponsors
n1_loader | activerecord-multi-tenant | |
---|---|---|
4 | 1 | |
220 | 695 | |
- | 0.7% | |
6.2 | 6.2 | |
4 months ago | 23 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
n1_loader
- N1Loader is alive as ever Enhance your GraphQL API by getting rid of N+1 issues
-
Enhanced ActiveRecord preloading
Unfortunately, such associations are not possible to preload with includes. Gladly, there is a solution with N1Loader.
-
GraphQL without N+1 is easy. N1Loader is a must.
N1Loader supports arguments that you can pass through GraphQL API. There will no N+1 still.
-
N+1 problem will never be an issue with N1Loader gem
N1Loader helps to avoid N+1 issues as simple as ever. Gem has many cool features such as arguments support, integrations with ArLazyPreload and many more.
activerecord-multi-tenant
-
Nile, Serverless Postgres for Modern SaaS
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.
What are some alternatives?
ArLazyPreload - Lazy loading associations for the ActiveRecord models
Acts As Tennant - Easy multi-tenancy for Rails in a shared database setup.
Destroyed At - ActiveRecord Mixin for Safe Destroys
Apartment - Database multi-tenancy for Rack (and Rails) applications
Espinita - Audit activerecord models like a boss (and works with rails 4!)
Milia - Easy multi-tenanting for Rails5 (or Rails4) + Devise
ActsAsTaggableOn - A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.
multi-tenant-support - Build a highly secure, no data leak, multi-tenant rails app
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
BabySqueel - :pig: An expressive query DSL for Active Record