我使用的是海王星(AWS)图形数据库,我的客户端api是java spring。我的应用程序对我的数据库进行读写。实际上,我们有两个集群,用于将读写作为一个bean。我们正在生成几次遍历,在提交了每一次之后,我们决定使用try with ressource来关闭它。关闭遍历并重新创建traversal().withRemote(..)是一种最佳实践吗?在一个线程中有多个连接的大型项目中,最佳实践是什么?
我正在尝试创建一个以cassandra作为后端和弹性索引的janusgraph集群。收到警告说-
org.janusgraph.core.SchemaViolationException: Adding this property for key [~T$SchemaName] and value [rtusername] violates a uniqueness constraint [SystemIndex#~T$SchemaName]
后面跟着一个错误的说法
ERROR org.apache.tinkerpop.gremlin.server.GremlinServer - Greml
在一个java应用程序实例可以与多个Gremlin服务器(例如CosmosDB中的多个图形实例)对话的情况下。在这种情况下,创建和缓存Gremlin客户端的建议是什么。在我的mac上,我可以创建的集群实例的最大数量少于300个。除此之外,我会得到“打开的文件太多异常”。 caused by: java.io.IOException: Too many open files
java.lang.IllegalStateException: failed to create a child event loop
at io.netty.util.concurrent.MultithreadE
在使用Gremlin Java的应用程序上执行负载测试时,我们得到了下面的异常。如何解决这个问题? 例外: java.lang.IllegalStateException: org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out while waiting for an available host