NeO
NeO
Explore posts from servers
JJanusGraph
Created by NeO on 10/23/2024 in #questions
custom vertex id (String) feature to avoid duplicate vertex
Thanks for quick response @porunov here regarding LIST. Can you suggest any workaround for following issue mentioned -
But due to this we are facing a ton of PermanentLockingException(Expected value mismatch for X: expected=Y vs actual=Z). We have retry(5) transaction in place with exponential back off(5ec), but still we are face this issue a lot. What else can be done here ?
8 replies
JJanusGraph
Created by NeO on 10/23/2024 in #questions
custom vertex id (String) feature to avoid duplicate vertex
In our case, we have optimistic locking enabled on recordId, for instance - JanusGraphManagement mgmt = graph.openManagement(); mgmt.makePropertyKey("recordId").dataType(String.class).make() : mgmt.getPropertyKey("recordId"); JanusGraphIndex recordIdIndex = mgmt.buildIndex("recordIdIndex", Vertex.class).addKey(recordId).unique().buildCompositeIndex(); mgmt.setConsistency(recordId, ConsistencyModifier.LOCK); mgmt.setConsistency(recordIdIndex, ConsistencyModifier.LOCK); But due to this we are facing a ton of PermanentLockingException(Expected value mismatch for X: expected=Y vs actual=Z). We have retry(5) transaction in place with exponential back off(5ec), but still we are face this issue a lot. What else can be done here ? In our case, currently we do not have property LIST used, and only have property string. for instance - property(Constants.RECORD_ID, recordId) and property(Constants.TYPE, type). So above issue that you explained is only for LIST ?
8 replies
JJanusGraph
Created by NeO on 10/23/2024 in #questions
custom vertex id (String) feature to avoid duplicate vertex
@Boxuan Li @Oleksandr Porunov your thoughts on this ?
8 replies
JJanusGraph
Created by skywalker_101010 on 2/6/2024 in #questions
Best configuration for a single server
@Florian Hockmann Did you face similar issue at your end when you had remote setup used while creating vertices and edges. https://discord.com/channels/981533699378135051/1272925642832478228/1272925642832478228
11 replies
JJanusGraph
Created by NeO on 8/1/2024 in #questions
How does remote gremlin server reacts to credential rotation.
If I understand you correctly, what your suggesting is to have 2 passwords active at given point of time and perform gremlin deployment restart, so that new password can be picked up by server.
4 replies
JJanusGraph
Created by HailDevil on 5/29/2024 in #questions
Java 17 support
@Boxuan Li @Oleksandr Porunov - Is there a tentative timeline by when can we expect java 17 support officially ?
12 replies
JJanusGraph
Created by HailDevil on 5/29/2024 in #questions
Java 17 support
@Committer Can you help here ?
12 replies
ATApache TinkerPop
Created by NeO on 4/19/2023 in #questions
TraversalOpProcessor Cache
One more question - I have a remote gremlin setup. From my java application when I query the gremlin server, in first query returns me response in 60 sec. If execute same query within 30 sec I get response within 10 sec. But if I send query after 30sec-1min I get response again in 60 sec. Any clue why so ?
12 replies
ATApache TinkerPop
Created by NeO on 4/19/2023 in #questions
TraversalOpProcessor Cache
When we say script here - we are stating about - "org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyCompilerGremlinPlugin: {classMapCacheSpecification: "initialCapacity=1000,maximumSize=10000"} " ? and 1000 and 10000 are quantified as ? Is above plugin supported for 3.4.6 ?
12 replies
ATApache TinkerPop
Created by NeO on 4/19/2023 in #questions
TraversalOpProcessor Cache
Ok got it. Is there a cache present to improve performance for repeated fired query ?
12 replies
ATApache TinkerPop
Created by NeO on 4/19/2023 in #questions
TraversalOpProcessor Cache
INFO org.apache.tinkerpop.gremlin.server.GremlinServer - 3.4.6
12 replies
ATApache TinkerPop
Created by NeO on 4/6/2023 in #questions
worker thread pool of 1, gremlin pool of 1 and boss thread pool of 1 ?
Thanks @spmallette for answering the query. Is there a ideal configuration mentioned for production systems, where we have 50millions+ vertices and edges, for fast query processing ?
6 replies