Does dgraph support multithreaded insertion?


(vasonyang) #1

Does dgraph support multithreaded insertion?
Use JAVA Client. jdk 1.8


(Lucas Wang) #2

Hi @vasonyang,

Do you mean sharing the same dgraph java client across multiple threads, with each one running insertion transactions? If so, the answer is yes, since the dgraph java client is thread safe, and you can share the client and run any types of transactions concurrently in multiple threads.