I am not a Ruby expert so I am wondering if it’s possible for rbthreads to run into the Ruby’s “thread-safeness” issue, like when using with older version of Rails, etc.
Thanks, Kaiwen > On Nov 10, 2015, at 11:43 PM, Roberto De Ioris <[email protected]> wrote: > > >> Hi, >> >> I have some questions about using rbthreads plugins to enable threading >> for Ruby applications (with rack). >> >> 1. How do you consider the plugin to be production ready? Or using threads >> with Ruby in general? Basically how will it affect the stability of Ruby >> application? > > > this is hard to answer, personally i have used rbthreads a couple of years > ago in a bunch of tiny sinatra applications. I had no issue, but all of > them are low-traffic apps. Multithreading is not very common in ruby > (unless you use jruby). The rubinius project had focus on it (and the Puma > server make use of it) but i do not know if it is still a > blessed-by-the-community approach. > >> 2. Why isn’t rbthreads directly integrated with rack plugin? Is it mainly >> because of rbthreads only works with Ruby 1.9+? >> >> > > yes, only for this reason (albeit we could start thinking about changing > this) > > -- > Roberto De Ioris > http://unbit.com > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
