Difference / Relationship between EhCache v2 and EhCache v3

前端 未结 1 1488
野趣味
野趣味 2021-02-11 09:32

Recently I am doing some research about the performance of java local caches and, of course, I run into ehcache. As far as can see in the documentation and in the artifacts publ

1条回答
  •  [愿得一人]
    2021-02-11 10:19

    Version 3 is, as you would expect, the new version. Version 2 is still wildly used and for some time, version 3 was missing some features, including clustering. This is why Spring-Boot embed both.

    Right now version 3 is the actively maintained and developed version. It should in fact be faster. It is also type-safe and JSR107 (JCache) compatible.

    If this is not your experience, I am highly interested in seeing your benchmark.

    0 讨论(0)
提交回复
热议问题