有没有众所周知的快速持久缓存解决方案? [英] Is there any good known solution for a fast persistent cache?
问题描述
我需要为我的Web搜寻器提供真正快速且持久的缓存.它并不需要像Java中的ConcurrentSkipListSet一样快,但绝对不能是我尝试过具有基于哈希索引的表的MySQL.记录超过1m后,大约需要80%的处理器时间.
是否有人知道或听说过一些对这种情况有用的东西?
感谢您提供任何提示.
I need really fast and persistent cache for my web crawler. It doesnt need to be as fast as ConcurrentSkipListSet in Java, but definitely it cannot be MySQL with hash-index based table, which i tried. After 1m+ of records it takes like 80% of processor time.
Does any one know or heard of something useful for this case?
Thanks for any hint.
推荐答案
尝试 EhCache .它主要是内存中的缓存,具有用于磁盘后备存储的溢出和持久性的选项.已经存在多年了,仍然很活跃,并且非常成熟.
Try EhCache. It's a primarily in-memory cache with options for overflow and persistence to disk backing store. Been around for years, still actively developed, and very mature.
这篇关于有没有众所周知的快速持久缓存解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!