How to improve the write speed of Java connection janusgraph?


wenco...@...
 

Is it necessary to change the configuration of janusgraph?

Cluster cluster = Cluster.build()
.addContactPoints(janusGraphHosts)
.port(janusGraphPort)
.credentials(janusGraphUserName, janusGraphPassword)
.serializer(new GryoMessageSerializerV1d0(GryoMapper.build().addRegistry(JanusGraphIoRegistry.getInstance())))
.maxConnectionPoolSize(8)
.create();
return AnonymousTraversalSource.traversal().withRemote(DriverRemoteConnection.using(cluster, janusGraphSourceName));

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.