Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable JMX of GenericObjectPoolConfig for speed #1223
When running 32 threads and every thread has a JedisCluster(), the
the jmxRegister() will spend a lot of time to register MBean because
Because users can't affort minutes to init multi-instances of
@RobinDong JedisCluster is multi-threaded as it uses JedisPool internally. Is there a reason why you're using one instance per thread?
We can't change this default behavior because there might be many Jedis users that are expecting JMX to be enabled by default (as it is today). As you still have the ability to disable JMX for your app only, I don't see the reason to make it a default.