Impact of ID Pool Initialisation on Query Performance

Greetings everyone, We're currently operating a JanusGraph setup with cluster.max-partitions set at 1024 and ids.num-partition at 10. Our primary goal is to ensure high availability for the cluster instances. However, we've noticed that the initialization of the ID pool is causing disruptions, during server restarts. The root cause seems to be the initialisation of ID pool threads for each partition until every partition has a ID pool. Upon server restart, the ID pool is initialised based on write operations. Unfortunately, this process has been negatively impacting the performance of query execution. To mitigate this challenge, we're exploring the possibility of implementing an eager initialisation approach for the ID pool threads. Is there a way to achieve it? Thank you for your attention and assistance in addressing this matter.
2 Replies
shivam.choudhary
Hi Everyone, we are still facing the above issue, any help will be greatly appreciated. TIA. @Boxuan Li any suggestion on this, currently the idpool gets initialised only after the instance start receiving write requests and the queries start to timeout for ~15 minutes until all the idpool are initialised. Is there a way to initialise the idpools before we send the write throughput to the janusgraph instance?
Bo
Bo6mo ago
You might need to dive into the source code. I don't have an answer to that, unfortunately. You mentioned "we're exploring the possibility of implementing an eager initialisation approach for the ID pool threads". Does that work out?
Want results from more Discord servers?
Add your server
More Posts
JanusGraph fails on initial startup (cql-es)Hi all, I have a problem that's been popping up once in a while regarding only the initial startup Exhaust all paths between two or more verticesIs there some way to go on a path finding mission with repeat().until() type construct that avoids tStandard way of restructuring of existing dataHi folks we have usecase where we would like to restructure data present in a graph, for example we Find all paths between two verticesNot sure this makes any sense, but here goes. Could someone please provide a solution to how one wouIs there a way to access the management from gremlin remote console?mostly i need to be able to create vertex and edge labels dynamically from gremlin, is it posible?What configuration i can use for the root.schema.default?i know it's supposed to use "None" so it will require a schema, but in my use case i need a schema mJanusGraph Instance startup failure due to id block allocationHi Everyone, I'm trying to startup janusgraph instance after setting up the properties for authenticStoring large temporal data in janusgraphHi folks, we have a requirement to store around 100M events per day for last 1 year, mainly temporalData Storage wit TTLHi Everyone, We have a requirement in which we have to store around ~80 million records daily in ourERROR org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Could not invoke constructorCould not invoke constructor on class org.janusgraph.graphdb.management.JanusGraphManager (defined b