showuon commented on code in PR #13275:
URL: https://github.com/apache/kafka/pull/13275#discussion_r1255129114


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java:
##########
@@ -16,6 +16,9 @@
  */
 package org.apache.kafka.storage.internals.log;
 
+import com.github.benmanes.caffeine.cache.Cache;
+import com.github.benmanes.caffeine.cache.Caffeine;
+import com.github.benmanes.caffeine.cache.RemovalCause;

Review Comment:
   Caffeine is added in this [PR](https://github.com/apache/kafka/pull/13850) 
to improve concurrent read performance. We chose it since it has good 
performance and is also adopted by other big projects, like Cassandra, HBase 
etc. About the GC issues, I don't think we have discussed about it. cc 
@divijvaidya , since you've done some research on Caffeine, do you have any 
comment to the GC issue?



-- 
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