shubhamvishu commented on PR #13546: URL: https://github.com/apache/lucene/pull/13546#issuecomment-2218438332
@benwtrent @original-brownbear Yes, I agree with both points. I haven't looked into the profiler but I was mainly referring to the usages I see in [DocumentsWriter](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java#L81) or [BufferedUpdatesStream](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/BufferedUpdatesStream.java#L58) where we could have some high contention between the indexing threads?. This seems like the scenario of multiple threads(I assume usually greater than 2 or 3 indexing threads) updating it simultaneously ("many write & few read" as Ben mentioned or maybe "many write & many read")? -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org