Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-07-2020 12:35 PM
The documentation only says:
# Number of Neo4j worker threads.
# dbms.threads.worker_count=
In another post I saw that this parameter only works for rest api request. Is that true? If not, I am using Bolt driver, what's the default work count and should I change the default worker_count?
12-07-2020 12:56 PM
https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.threa... which is for 4.2 states
Number of Neo4j worker threads. This setting is only valid for REST, and does not influence bolt-server. It sets the amount of worker threads for the Jetty server used by neo4j-server. This option can be tuned when you plan to execute multiple, concurrent REST requests, with the aim of getting more throughput from the database. Your OS might enforce a lower limit than the maximum value specified here.
so yes REST specific,
What problem are you trying to solve with Bolt? For what Bolt language (C#, python, javascript, java, ????) and version?
12-07-2020 01:54 PM
@dana.canzano It's bolt with Python. I am using Neo4j 4.0.4.
If the client sends concurrent requests to neo4j db for querying, will it automatically handle the requests concurrently for a single neo4j instance? Any parameter that I need to adjust to take care of this?
12-07-2020 03:18 PM
Also, the documentation mentions this as one example of configuring the connection threads:
dbms.connector.bolt.thread_pool_min_size=10
dbms.connector.bolt.thread_pool_max_size=100
dbms.connector.bolt.thread_pool_keep_alive=10m
I searched them in conf/neo4j.conf file and they are not there. Have those parameters expired or still work if I configure them?
12-07-2020 05:47 PM
the sample neo4j.conf shipped with neo4j is a default and sample neo4j.conf of many of the more common parameters. it does not include all parameters in the file. if the parameter is not included in the default file that is not an indication of the parameter not being valid
All the sessions of the conference are now available online