Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-19-2019 08:29 AM
Hello,
I am using the driver 1.7.5 (java) in an async way and I noticed a weird behavior.
It seems that every incomming read request Session session = driver.session(READ); session.readTransactionAsync(tx -> tx.runAsync(query, parameters)
creates two threads.
The number of threads continues to increase until it reaches twice the number of CPUs.
Is it a standard behavior of the neo4j driver? From my understanding, the number of threads should be minimal since one thread can handle multiple network connections in an async way.
Is it possible to configure the number of threads ???
Thank you
12-03-2019 01:06 AM
this is the default behavior on 1.7.5 and this will be possible to control the number of threads with incoming 4.0.0 version, according to this discussion.
All the sessions of the conference are now available online