benwtrent commented on PR #15558: URL: https://github.com/apache/lucene/pull/15558#issuecomment-4128020754
@sgup432 is this trace/usage using the latest stuff? Cache was recently switched to a read/write locking structure that helped throughput IMMENSELY. The only map that is synchronized in the structure is `uniqueQueries`. I wonder if we can make that part better. The main reason its still a synchronized map is because LinkedHashMap isn't read threadsafe (e.g. even reads will update the inner structure). I don't know of a better way to handle it though :/ -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
