cache2k vs simpleCache
cache2k
cache2k.orgsimpleCache
code.databio.orgSide by side
| Figure | cache2k | simpleCache |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | — |
| Android | Yes | — |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Caching Software | 8.1 (#6) | 6.2 (#21) |
| Cache behavior | Features 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. |
| License | The project says its code is released under the Apache license. | The package is distributed under the 2-Clause BSD License. |
| Purpose | cache2k 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. |
| Support | The 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
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.
simpleCache
simpleCache has no write-up on Specifiction yet; its figures are above.