OrientDB Efficiency

Skip to first unread message

Khawar Nawab

Apr 2, 2015, 9:36:32 AM4/2/15
to orient-...@googlegroups.com
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 

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)) {
startTime = System.currentTimeMillis();
Edge eCard = graphNoTx.addEdge("class:EDGETYPE1", v, v2, "CardComposedOf");
stopTime = System.currentTimeMillis();
edgeCreationTime = stopTime - startTime;
totalEdgeCreationTime += edgeCreationTime;

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

Reply all
Reply to author
0 new messages