Are we doing something wrong or it is actually performing so slow in Neo4j
Enterprise Edition.
We are trying to create just one node (1 node with 2 property-Name and ID),
10,00,000 times. 3 Core machines are present in the cluster. 32GB is given
to each core.
Each second, we can see only 300-350 nodes are being created in Neo4J
(checked from Neo4j browser). Is it so slow or are we missing something
really big.
This is absymal low.
OS is RHEL.
We were targeting close to 40,000 TPS but this is way way too low.
I am sure we are missing something big. Appreciate guidance so that we can
evaluate and use it.
Code snippet:
@Override
public void createNode() throws InterruptedException {
try (Session session =
RTNeo4j.getInstance().getWriteDriver().session(AccessMode.WRITE)) {
try (final Transaction tx =
session.beginTransaction()) {
try {
tx.run("CREATE
(a:Person {name: {name}, id: {id}})",
parameters("name", "king", "id", System.currentTimeMillis()));
tx.success();
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
--
You received this message because you are subscribed to the Google Groups
"Neo4j" 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.