AT
Apache TinkerPopM. alhaddad
Recommendation of a cache method
I have a complex query that involves ordering and traversing over several node types to obtain something like a cluster, the issue is when I have large number of nodes the query start to take longer time to evaluate.
The use case is a user clicking on a word from a UI and I obtain a cluster of what come with it,
What could be a possible way to cache the result, the result is not a number nor a string, its kind of array of a projection of several attributes calculated through the query.
I thought about using hashmap of redis to cache result but that will need tons of memory,
So that would save me the re-doing of the same query again and again.
The used env. AWS Neptune + gremlin + python
D
Dave•385d ago
Have you looked at the result cache feature of Neptune? https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-results-cache.html
Caching query results in Amazon Neptune Gremlin - Amazon Neptune
Overview of using the query results cache with Gremlin.
Apache TinkerPop is an open source graph computing framework and the home of the Gremlin graph query language.
1.3KMembers
View on DiscordWant results from more Discord servers?
More PostsMultiple labels not working in mergeV() syntax for conditional inserts in AWS NeptuneI know that multiple labels are an AWS Neptune specific feature and TinkerPop model does not allow fUsing a SeedStrategy in javascript to control shuffle.On my project we are trying to select random vertices from the graph and use a seed to keep the resuHorizontal cache for gremlin server deployment.I have gremlin deployment, which has 3 pods within it. On top of it I have a load balancer to accessworker thread pool of 1, gremlin pool of 1 and boss thread pool of 1 ?Hello - I have an remote gremlin setup backend as cassandra, In my gremlin remote logs I see a log sMultiple next() steps in a traversalIs there a way to exit traversals at different steps? I tried using the `next()` step on a static, btell me writing query this patternvartex(orange): question: {code:string, type: string }
vartex(purple):LeaningElement
What I want to