Reputation: 17032
I'm interested in ways to avoid id block allocation
in JanusGraph to improve performance and avoid wasting unused IDs (i.e. if you allocate 1M ids, use 100k and you need to restart - you waste 900k ids which cannot be reclaimed... ever).
Has anybody been able to replace the integer ids
with maybe UUID
s and ensuring all instance have unique hostnames||instanceIds
?
Upvotes: 1
Views: 109
Reputation: 580
I don't believe thats possible with janusgraph. I had a similar requirement to avoid collissions when using ConfiguredGraphFactory
with elasticsearch index backend. Ids are longs by default and it lead to collisions unless there we maintain an index per graph in elasticsearch
Upvotes: 1