thomasmueller commented on PR #1707:
URL: https://github.com/apache/jackrabbit-oak/pull/1707#issuecomment-2353210242

   > I think it's fine to explore parallelization
   
   Yes, I think the approach here has quite some limitations. I also think that 
using a queue would be better. 
   
   On the other hand, "IndexWriter instances are completely thread safe" 
according to the documentation. Using multiple threads was tested (up to some 
point) before, and _not_ trying to do it that way seems like a missed 
opportunity, because it is relatively easy to implement. That's why I did this. 
But the benchmark results are not very promising: this only resulted in a 
speedup of about 50 when using 3 threads instead of one. I'm not quite sure yet 
why.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to