aiborodin opened a new pull request, #13382: URL: https://github.com/apache/iceberg/pull/13382
We recently discovered that [LRUCache](https://github.com/aiborodin/iceberg/blob/compare-caffeine-cache-perf-with-linked-map/flink/v2.0/flink/src/jmh/java/org/apache/iceberg/flink/sink/dynamic/LRUCache.java), based on `LinkedHashMap`, has a throughput almost two times as high as the Caffeine Cache with the maximum size configured. Please, see JMH benchmark results [here](https://github.com/aiborodin/iceberg/blob/compare-caffeine-cache-perf-with-linked-map/flink/v2.0/flink/src/jmh/java/org/apache/iceberg/flink/sink/dynamic/CacheBenchmark.java#L43). Let's use `LRUCache` in `TableMetadataCache` to improve the cache performance of the `DynamicIcebergSink`. -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org