3 ms·
Although to the extent that there may be some shared resources between threads, which may be shared under an architecture where the more threads you have conten
by jrochkind1 13y ago
Although to the extent that there may be some shared resources between threads, which may be shared under an architecture where the more threads you have contending for resources, there is a performance penalty....
...you _may_ seen performance improvements by having more than one worker even on jruby or rbx, without the GIL.
It would really have to be benchmarked, with some apps with realistic profiles.
But yeah, I'd expect the advantage of having more than one worker on rbx or jruby to be less. But it gets confusing.
(The ActiveRecord database connection pool is the prime example of such a shared-under-contention resource)