Search code examples
javaneo4jdriver

Neo4j java driver number of threads management


I am using Neo4j java driver 1.7.5. I noticed that after successive calls, the number of Neo4jDriverIO threads is increasing until it achieves the max number of 2 * CPUs.

Is there a way to control the number of Neo4jDriverIO threads ? Is this max number 2 * CPUs a normal default configuration ?

Thanks.


Solution

  • According to Neo4j java driver maintainers, the max number of 2 * CPUs Neo4jDriverIO threads is the default behavior. It will be possible to control the number of threads starting with incoming 4.0.0 java driver version. See this discussion.