OrientDB says we can create around some million edges per second using It, 
while putting a JAVA script for the same, i found only 140-150 edges per 
second were made.
Is it really possible to create million edges in orient db per second?
and if so, what's the Java way to do it?

(I Used TinkerPop API and just created some n Vertices, then using 
graph.addEdge("id","fromVertex","toVertex","edgeLabel"));

created n*n-1 edges between these all n vertices
tested it till 20 nodes, edge created per second were 140-150

for (Vertex v : graphNoTx.getVertices()) {
for (Vertex v2 : graphNoTx.getVertices()) {
if (v2.equals(v)) {
continue;
}
startTime = System.currentTimeMillis();
Edge eCard = graphNoTx.addEdge("class:EDGETYPE1", v, v2, "CardComposedOf");
stopTime = System.currentTimeMillis();
edgeCreationTime = stopTime - startTime;
totalEdgeCreationTime += edgeCreationTime;
totalEdges++;
}

}
loopStopTime = System.currentTimeMillis();
loopTime = loopStopTime - loopStartTime;

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to