Replies: 6 comments 1 reply
-
Hi @xiaguan , nice to see you here. Thank you for noticing this tiny project. Any contribution to this project is welcomed and appreciated.
Could you please share more context about what situation would you like to use a multi-level cache in? Currently, Foyer mostly serves as an alternative to block cache implementation for a LSM-tree. The other features like serving as an efficient small KV cache are still lacking. We can discuss it more if you have the requirements, Again, welcome to use, discuss, and contribute to Foyer. And enjoy your experience in the open-source community. |
Beta Was this translation helpful? Give feedback.
-
First ,I've recently been focusing on When it comes to resource management, I suggest leveraging the For flushing cache data to disk, I propose using the Lastly, even though the journey may be somewhat long, my goal is to make this crate production-ready. A simple chinese blog ,https://zhuanlan.zhihu.com/p/688774584 |
Beta Was this translation helpful? Give feedback.
-
Agreed that Foyer should give more pre-defined algorithms. However, for different use cases, introducing more algorithms is not enough. For example, small KV case requires the extra memory, and storage overhead must be as small as possible and the performance of IOPS should be optimized.
That sounds like a good idea. However, I'm not familiar with this crate, which means I need time to investigate how the crate is implemented, how much overhead will it take and what is its performance. After that, we can decide weather to use the crate or get the memory statistics from the memory allocator.
I understand that
That a good idea. Foyer currently lacks the ability to deal with tiny KV entries efficiently. I think we can try it. |
Beta Was this translation helpful? Give feedback.
-
Again, thanks for your great opinions. As an alternative to block cache for LSM-Tree, Foyer is production-ready and is already been used by RisingWave. Hope we can make Foyer move forward! |
Beta Was this translation helpful? Give feedback.
-
If you want to get your hands dirty ASAP, you could try to add S3Fifo eviction container for |
Beta Was this translation helpful? Give feedback.
-
I could try this , since |
Beta Was this translation helpful? Give feedback.
-
Hey there! 👋
As part of my work, I've been heavily involved in various cache-related projects and have read numerous papers on caching, including many issues surrounding Facebook's cacheLib. After much consideration, I feel it's time for me to contribute to the open-source community.
I've been planning to write a multi-level cache library in Rust for about a month now. However, just as I was about to start coding, someone informed me that this has already been done. Upon closer inspection, it appears that the existing project has made significant progress.
So, I was wondering if there's any possibility for collaboration between us. 🤝 I'd be more than happy to contribute my expertise and insights to help enhance the library further. Perhaps we could explore new features, optimize performance, or tackle any outstanding issues.
I'm open to any ideas you might have! Whether it's pair programming, code reviews, or simply discussing potential improvements, I'm all for it. 💡
Looking forward to hearing your thoughts on this! 😄
Beta Was this translation helpful? Give feedback.
All reactions