Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
-
None
Description
Allow Puppet Server to run with either a JRuby pool or a single JRuby instance. (With a single JRuby instance, each request will come in as its own thread from jetty.)
There should be a new setting to enable the pool, defaulting to pooled behavior for now.
UPDATE
This is implemented in jruby-utils, as an alternative backing pool model that hands out references to a single instance, instead of individual different instances, following the same API as the current multi-instance implementation. They can be toggled between, using a setting currently called multithreaded.
Attachments
Issue Links
- blocks
-
SERVER-2526 Set up testing for thread safety
-
- Resolved
-
-
SERVER-2680 Paramterize puppetserver tests to run them with multithreaded pool
-
- Resolved
-
-
SERVER-2684 Integrate new JRuby reference pool
-
- Resolved
-
-
SERVER-2601 Performance testing with single JRuby instance running multi-threaded
-
- Closed
-
- is blocked by
-
PUP-9931 Make Context thread local
-
- Resolved
-
-
PUP-9932 [SPIKE] Can we make 3x functions loaders thread-safe?
-
- Resolved
-
-
PUP-9933 Make indirector settings thread-local
-
- Resolved
-
- relates to
-
SERVER-2679 Fix borrow and return event logging for ReferencePool
-
- Resolved
-