Avinash,
Not sure what use case you are looking to solve by using graph database. You are querying 1 lakh nodes one at a timeā¦ When would you practically require to get these many nodes? Further, you execute term search but are not measuring exact dgraph responses (line 114 is only dgraph call for retreival)
So your timings include non dgraph processing.
What is your actual graph schema? What is your use case for graph processing? Itās not clear from the exampleā¦
As we are revaluating dgraph, so we have just created test data to check performance. than we will plan the real case.
I have tried running 1lac query at once with single transaction that time was with in 1 min. while it was taking more time if try to do the same with dgraphClient.newTransaction() for each query. Just trying to know that why we need to create transaction for select queries.
I am just creating 1 lac nodes no relations. that create is taking around 15 mins.