OSCache vs. EHCache

前端 未结 10 2205
囚心锁ツ
囚心锁ツ 2020-12-28 17:47

Never used a cache like this before. The problem is that I want to load 500,000 + records out of a database and do some selecting/filtering wicked fast.

I\'m thinkin

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-28 18:31

    Either way, I recommend using them with Spring Modules. The cache can be transparent to the application, and cache implementations are trivially easy to swap. In addition to OSCache and EHCache, Spring Modules also support Gigaspaces and JBoss cache.

    As to comparisons.... OSCache is easier to configure EHCache has more configuration options

    They are both rock solid, both support mirroring cache, both work with Terracotta, both support in-memory and to-disk caching.

提交回复
热议问题