|
Re: Getting Edges - Performance
It's usually small; typically around 3 edges.
Reading your article(https://li-boxuan.medium.com/janusgraph-deep-dive-part-3-speed-up-edge-queries-3b9eb5ba34f8).
Outbound edges could be
It's usually small; typically around 3 edges.
Reading your article(https://li-boxuan.medium.com/janusgraph-deep-dive-part-3-speed-up-edge-queries-3b9eb5ba34f8).
Outbound edges could be
|
By
Joe Obernberger
·
#6540
·
|
|
Re: Getting Edges - Performance
When it takes over 3 seconds to return, how many edges does it return?
When it takes over 3 seconds to return, how many edges does it return?
|
By
Boxuan Li
·
#6539
·
|
|
Getting Edges - Performance
Hi All - I'm seeing a performance issue with this statement in Java code:
Iterator<Edge> edgeIt = vert.edges(Direction.IN);
in some cases this is taking over 3 seconds to return. What can I do to
Hi All - I'm seeing a performance issue with this statement in Java code:
Iterator<Edge> edgeIt = vert.edges(Direction.IN);
in some cases this is taking over 3 seconds to return. What can I do to
|
By
Joe Obernberger
·
#6538
·
|
|
Re: Threaded Operations - Quarkus
Thanks for all the help on this. I'm coming closer to a solution thanks to you all.
Question - I've been using GraphTraversalSource to do all the adding vertices and edges to my graph.
Thanks for all the help on this. I'm coming closer to a solution thanks to you all.
Question - I've been using GraphTraversalSource to do all the adding vertices and edges to my graph.
|
By
Joe Obernberger
·
#6537
·
|
|
Re: Threaded Operations - Quarkus
Yeah using `newTransaction()` won't make a difference in your use case. Based on your input, there are a couple of things you could try:
As suggested by Kevin, you could use locking. See
Yeah using `newTransaction()` won't make a difference in your use case. Based on your input, there are a couple of things you could try:
As suggested by Kevin, you could use locking. See
|
By
Boxuan Li
·
#6536
·
|
|
Re: Threaded Operations - Quarkus
This from Titan, the predecessor to Janusgraph, but see https://groups.google.com/g/aureliusgraphs/c/z6kyGSlifXE/m/aLc2Zwb_BAAJ for some experience with a similar issue.
You can either do locking and
This from Titan, the predecessor to Janusgraph, but see https://groups.google.com/g/aureliusgraphs/c/z6kyGSlifXE/m/aLc2Zwb_BAAJ for some experience with a similar issue.
You can either do locking and
|
By
Kevin Schmidt
·
#6535
·
|
|
Re: Threaded Operations - Quarkus
So - unsurprisingly, Boxuan is correct.
Code like this:
GraphTraversalSource traversal = StaticInfo.getGraph().newTransaction().traversal();
try {
So - unsurprisingly, Boxuan is correct.
Code like this:
GraphTraversalSource traversal = StaticInfo.getGraph().newTransaction().traversal();
try {
|
By
Joe Obernberger
·
#6534
·
|
|
Re: Threaded Operations - Quarkus
Good stuff - thank you Boxuan.
Backend is Cassandra running on bare metal on 15 nodes.
Race condition is rare.
When the race condition happens, I'm seeing duplicate nodes/edges;
Good stuff - thank you Boxuan.
Backend is Cassandra running on bare metal on 15 nodes.
Race condition is rare.
When the race condition happens, I'm seeing duplicate nodes/edges;
|
By
Joe Obernberger
·
#6533
·
|
|
Re: Threaded Operations - Quarkus
Hi Joe,
Unfortunately the way Marc suggests won’t help with your usecase. Tbh I would have suggested the same answer as Marc before I saw your second post. If one has one JVM thread handling
Hi Joe,
Unfortunately the way Marc suggests won’t help with your usecase. Tbh I would have suggested the same answer as Marc before I saw your second post. If one has one JVM thread handling
|
By
Boxuan Li
·
#6532
·
|
|
Re: Threaded Operations - Quarkus
Thank you Marc. I'm currently doing everything with a traversal, and then doing a traversal.tx().commit()
Sounds like what you suggested is what I want, but just to be clear:
Thank you Marc. I'm currently doing everything with a traversal, and then doing a traversal.tx().commit()
Sounds like what you suggested is what I want, but just to be clear:
|
By
Joe Obernberger
·
#6531
·
|
|
Re: Threaded Operations - Quarkus
Hi Joe,
Do you mean with threadsafe transactions that requests from different client threads should be handled independently, that is in different JanusGraph Transactions?
In that case, I think you
Hi Joe,
Do you mean with threadsafe transactions that requests from different client threads should be handled independently, that is in different JanusGraph Transactions?
In that case, I think you
|
By
hadoopmarc@...
·
#6530
·
|
|
Threaded Operations - Quarkus
Hi All - building a REST service using Quarkus to handle requests that operate on a graph. The current approach is:
Static class that contains the JanusGraph and
Hi All - building a REST service using Quarkus to handle requests that operate on a graph. The current approach is:
Static class that contains the JanusGraph and
|
By
Joe Obernberger
·
#6529
·
|
|
JanusGraph Discord Server
Hi,
We have created a Discord Server for JanusGraph to better support interactive conversations. So, if you would like to talk with other users and contributors of JanusGraph, then you can use
Hi,
We have created a Discord Server for JanusGraph to better support interactive conversations. So, if you would like to talk with other users and contributors of JanusGraph, then you can use
|
By
Florian Hockmann
·
#6528
·
|
|
[ANNOUNCE] JanusGraph 0.6.2 Release
The JanusGraph Technical Steering Committee is excited to announce the release of JanusGraph 0.6.2.
JanusGraph is an Apache TinkerPop enabled property graph database with support for a variety of
The JanusGraph Technical Steering Committee is excited to announce the release of JanusGraph 0.6.2.
JanusGraph is an Apache TinkerPop enabled property graph database with support for a variety of
|
By
Oleksandr Porunov
·
#6527
·
|
|
Re: [Tech Blog] JanusGraph Deep Dive: Optimize Edge Queries
Great stuff! Is is really motivating to gain a much deeper understanding of the JanusGraph inner workings and get practical advice at the same time.
Marc
Great stuff! Is is really motivating to gain a much deeper understanding of the JanusGraph inner workings and get practical advice at the same time.
Marc
|
By
hadoopmarc@...
·
#6526
·
|
|
[Tech Blog] JanusGraph Deep Dive: Optimize Edge Queries
I just wrote a blog post to explain the internals of edges in JanusGraph and give a few examples of how to optimize edge queries. Here is the medium blog post: JanusGraph Deep Dive (Part 3): Optimize
I just wrote a blog post to explain the internals of edges in JanusGraph and give a few examples of how to optimize edge queries. Here is the medium blog post: JanusGraph Deep Dive (Part 3): Optimize
|
By
Boxuan Li
·
#6525
·
|
|
Re: Logging vertex program
Hi Marc,
Exactly suprised to see logs in stderr.
Thanks,
Nikita
Hi Marc,
Exactly suprised to see logs in stderr.
Thanks,
Nikita
|
By
Nikita Pande
·
#6524
·
|
|
Re: Logging vertex program
Hi Nikita,
Do you use the spark web UI? In the executor tab you can follow the stderr link and see any logged or printed output. No idea why they use stderr.
Best wishes, Marc
Hi Nikita,
Do you use the spark web UI? In the executor tab you can follow the stderr link and see any logged or printed output. No idea why they use stderr.
Best wishes, Marc
|
By
hadoopmarc@...
·
#6523
·
|
|
Re: upgrade gremlin version
Hi Senthilkumar,
I remember the Gremlin.version() output of 1.2.1 in the gremlin console of the janusgraph distribution is a bug somewhere. You can look in the lib folder and see that janusgraph-0.6.1
Hi Senthilkumar,
I remember the Gremlin.version() output of 1.2.1 in the gremlin console of the janusgraph distribution is a bug somewhere. You can look in the lib folder and see that janusgraph-0.6.1
|
By
hadoopmarc@...
·
#6522
·
|
|
upgrade gremlin version
Janusgraph latest version running on 1.2 version. But Gremlin latest version is 3.6. How to upgrade Germlin latest version?
--
Senthilkumar
Janusgraph latest version running on 1.2 version. But Gremlin latest version is 3.6. How to upgrade Germlin latest version?
--
Senthilkumar
|
By
senthilkmrr@...
·
#6521
·
|