r/learnjava • u/PresentationAway3815 • 27d ago
Built a small project called SwiftCache
I've been learning about caching systems and decided to build my own in-memory caching library in Java.
It supports different eviction strategies (LRU, LFU, FIFO, Random), TTL, read/write policies, and annotation-based caching.
This was primarily a learning project, and I'd really appreciate any feedback or suggestions on how I could improve it.
GitHub: https://github.com/saahilmahato/SwiftCache
Thanks for taking a look!
3
Upvotes
View all comments
Show parent comment
1
u/PresentationAway3815 20d ago
Thanks for the feedback and insights. I will study inner workings of an in-memory cache more and implement your suggestions.