I was browsing around tonight and noticed a reference that Greg Luck (started the EHCache project) made on his blog to a cache benchmarking tool. Of course, my first thought was, “Gee, I wonder how Whirlycache does using their benchmark.”
A few minutes later… yes, it wins on all counts:
--------------------------------------------------------------- java.version=1.5.0_04 java.vm.name=Java HotSpot(TM) Client VM java.vm.version=1.5.0_04-b05 java.vm.info=mixed mode, sharing java.vm.vendor=Sun Microsystems Inc. os.name=Windows XP os.version=5.1 os.arch=x86 --------------------------------------------------------------- This test can take about 5-10 minutes. Please wait ... --------------------------------------------------------------- |GetPutRemoveT |GetPutRemove |Get | --------------------------------------------------------------- cache4j 0.4 |7441 |5108 |3414 | oscache 2.2 |14000 |16784 |4526 | whirlycache 1.0.1 |4206 |1643 |891 | ehcache 1.1 |7261 |2603 |1092 | jcs 1.2.7.0 |5238 |3535 |1251 | ---------------------------------------------------------------
Disclaimer: Like all benchmarks, take these numbers with a grain of salt.
By the way, Whirlycache was mentioned on TheServerSide today.