Re: Getting Edges - Performance

Joe Obernberger

It's usually small; typically around 3 edges.
Reading your article (

Outbound edges could be large - 100s to 10000s.


On 6/22/2022 4:49 PM, Boxuan Li wrote:
When it takes over 3 seconds to return, how many edges does it return?

From: janusgraph-users@... <janusgraph-users@...> on behalf of Joe Obernberger via <>
Sent: Wednesday, June 22, 2022 1:06 PM
To: janusgraph-users@... <janusgraph-users@...>
Subject: [janusgraph-users] 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
better this performance?
Thank you!


This email has been checked for viruses by AVG.

AVG logo

This email has been checked for viruses by AVG antivirus software.

Join to automatically receive all group messages.