mukund-thakur commented on PR #5754:
URL: https://github.com/apache/hadoop/pull/5754#issuecomment-1615218649

   Can we not use some already inbuilt cache rather than us implementing it 
from scratch ( this part is interesting for sure :)) 
   
https://github.com/google/guava/blob/master/guava/src/com/google/common/cache/LocalCache.java
 
   guava cache supports maximumSize for eviction and it internally uses LRU. ( 
see the Java docs of the class. ) 


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

Reply via email to