-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency on Rails #1
Comments
Hi @adomokos, thanks for your message. I developed I never worked with Taking a look at If you want to take a stab and narrow the dependency to AR only that would be much appreciated. As long as it doesn't affect how the gem works in a Rails app it's fine by me. Just some info to help you decide about the gem: we've been using it in a full-fledged large-size application with dozens of MariaDB shards for 1.5 years now and we couldn't be happier. I can also assure you I will keep maintaining the gem, as our companies' systems all depend on it. Of course, the logic of choosing the shards where to put/get data must be implemented in your app, but I actually see this as a good thing, as the gem is completely agnostic to your sharding criteria. Feel free to discuss with me any ideas you might have. |
@hsgubert - I am super happy to read your comment! 👍 💯 Our company is using Octopus with 1 master and ~150 smaller sharded dbs, and since that project seems to be abandoned, we are looking for an alternative. Your gem came on our horizon. :-) We have a more distributed environment, where we have Ruby workers using our data access gem, but right now we are stuck with AR 4.1.x, as Octopus is bascially abandoned. Octopus seems bloated for our simple sharding needs, and I'll look into what it would take to narrow the scope of the dependent gems, your comments are definitely helpful. Thanks for it! I'll submit a PR and we can discuss it through that. |
Great! You're probably right about |
Hello,
we are evaluating this gem and we noticed it has a dependency on Rails. We've also looked at
ar-octopus
, but that has no dependency on Rails, only onactiverecord
.We are considering using it in a pure Ruby app and we are hesitant to use it due to this dependency.
Can you please describe why you have the dependency on Rails and not on ActiveRecord only? Would you consider a PR to narrow that dependency?
Thanks!
The text was updated successfully, but these errors were encountered: