Open barmstrong opened 9 years ago
Side note, I noticed it does use a relatively old version of thread_safe. Was going to try upgrading this to 0.3.4
There shouldn't be any reason to use this with MRI.
Sorry if sort of a noob question (might be something I'm not fully understanding). We are using sidekiq and it is doing tons of connections (one per job) since we are running it with concurrency. This is why this gem caught our eye and hoping it might help.
We are using ruby MRI and my understanding is that it supports multiple threads (maybe using "green threads" or fibers in ruby MRI? - not really sure how this works). http://stackoverflow.com/a/57802/76486
We are trying to minimize the number of connections that happen with sidekiq. Is mongoid_connection_pool a potential solution for that? Thx for the help.
We are using Sidekiq, but with Ruby MRI 2.1.5. Tests don't seem to pass with ruby MRI though.
Does this only work with JRuby or Rubinius?