Skip to content
SPECIFICTION
Get listed

cache2k vs simpleCache

cache2k

cache2k.org

simpleCache

code.databio.org

Side by side

Figurecache2ksimpleCache
Price fromFree—
Free planYes—
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYes—
AndroidYes—
APIYes—
Self-hostedYes—
Plans published10
Spec score · Caching Software8.1 (#6)6.2 (#21)
Cache behaviorFeatures include automatic expiry, refresh, refresh ahead, read-through loading, and event listeners.A simpleCache call loads an existing cache or creates it if one does not exist.
LicenseThe project says its code is released under the Apache license.The package is distributed under the 2-Clause BSD License.
Purposecache2k is an in-memory object caching library for Java applications.simpleCache is an R package for caching R objects to support reusable, restartable, reproducible analysis pipelines.
SupportThe project directs bug reports and feature requests to GitHub issues and general usage questions to the cache2k Stack Overflow tag.Questions, feature requests, and bug reports are directed to the GitHub issue queue.

Plans

cache2k

  • cache2kFree

cache2k pricing →

simpleCache

No plans published.

simpleCache pricing →

In their own words

cache2k

cache2k is an Apache-licensed, open-source library that keeps Java application objects in memory. Its project describes a JAR smaller than 400 KB with no external dependencies, and the implementation is written in pure Java without sun.misc.Unsafe. Cache behavior includes automatic expiry, refresh, refresh ahead, read-through loading, and event listeners. Cache loaders can suppress exceptions or retry them according to configuration. Integrations listed include Spring Framework, Scala Cache, DataNucleus through JCache, and Hibernate through JCache. cache2k supports JCache / JSR 107, while its guide notes extra overhead for that API compared with the native interface. Monitoring options include low-overhead statistics, JMX, and documented Micrometer metrics. Version 2 requires Java 8 or later and is described as compatible with Android API level 26. The library is free, available from Maven Central, self-hosted, and does not persist data.

Visit cache2k.org

simpleCache

simpleCache has no write-up on Specifiction yet; its figures are above.

Visit code.databio.org