Nifi Batching slow

Asked by At

I want to write (Flowfile) Batches into a NEO4j Database with the Java Neo4j driver. For dataflow control I am using Apache Nifi. Now I tried to implement this method of Flowfile querying as in this Question: Batch processing flowfiles in apache nifi

I know that doing batch writing in one open request is not the best solution in NEO4j. But this should only give results for a quick prototype.

Now the problem is that, this seems to be a bit slow, it almost seems as if the processor is taking one flow file every one second. I think that maybe it's the yield() `s fault. But I´ve put the Yield Duration to 10 ms. But even then it is pretty slow.

0 Answers