Is there any good known solution for a fast persistent cache?

tomasb picture tomasb · Aug 20, 2011 · Viewed 11.7k times · Source

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.

Answer

skaffman picture skaffman · Aug 20, 2011

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.