Neo4j 配置 [英] Neo4j Configuration
问题描述
我使用的是 Neo4j 服务器.我遇到了负载相对较低的问题.但是,响应时间非常长.我认为服务请求的线程数量太少了.有没有办法调整线程池的大小来为 HTTP 请求提供服务.那可能吗?
I'm using Neo4j server. I'm running into an issue where the loads are relatively low. However, the response times are quite high. I think that the number of threads servicing requests is simply too small. Is there a way to adjust the size of the thread pool for servicing HTTP requests. Is that possible?
推荐答案
认为更多线程等于更高性能是一个常见的误解.实际上,它通常是相反的——更多的线程等于更低的性能.我不知道你的图表或请求看起来如何,所以它可能不适用于你的情况.
It's a common misconception that more threads equals more performance. In reality it's often the other way around -- more threads equals lesser performance. I don't know how your graph or requests look though so it may not apply in your case.
但是您可以使用以下属性控制池大小:
But you can control that pool size with the property:
org.neo4j.server.webserver.maxthreads
在 conf/neo4j-server.properties 中
in conf/neo4j-server.properties
这篇关于Neo4j 配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!