# BentoCache: 6.5 out of 10

Reasonable, with limits. 7th of 10 in [Caching and Redis clients](https://elestia.ai/opensource/caching/index.md).

BentoCache is a TypeScript caching library for Node.js. It puts an in-memory L1 cache in front of an L2 store such as Redis and keeps app instances in sync over a bus. It also handles stampede protection, grace periods, timeouts and tags. Feature for feature it is the most complete multi-tier cache in JavaScript, but it rests on one maintainer, its last core release was in February 2026, and several open correctness bugs around grace and serialization have no visible fix yet.

**Best for:** Node.js backend teams, including AdonisJS users, who want a two-tier memory-plus-Redis cache with stampede protection and grace periods.

## Scores

- **Overall: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): For multi-tier caching with resilience features it is the best-designed option in this category, and AdonisJS backs it. Slower core releases, months-old correctness bugs, a single maintainer and little outside validation keep it out of the 7–8 band. Pick it when you need L1 plus Redis with stampede and grace handling. For a simple key-value cache, Keyv, cache-manager or lru-cache are safer bets.
  - GPT-6.2 Sol (7.0): BentoCache is a strong choice for Node.js services that need a local cache backed by Redis with shared invalidation and stale-data fallback. For standard caching in NestJS, cache-manager with Keyv has the advantage of a documented framework integration. The core release gap and the open ioredis 6 compatibility issue make BentoCache a less certain long-term choice for teams that upgrade Redis clients frequently.
- **Needed by many: 4.8** (likely 3.8 to 5.9)
  - Claude Opus 5.5 (5.0): Server-side caching is a common need, but this project's take on it is a full multi-tier application cache for Node.js backends. Front-end developers and simple single-process caches do not need it. Many backend teams that run Redis would benefit from it.
  - GPT-6.2 Sol (4.6): Caching is common on Node.js backends, and BentoCache works across frameworks with memory, Redis, and database stores. Its strongest fit is backends that need fast local reads plus shared caching across instances. The surveys show demand for Redis and backend caching, with limited detail on how often teams need two tiers.
- **Helps a lot: 7.4** (likely 6.2 to 8.4)
  - Claude Opus 5.5 (7.0): Among the JavaScript peers, it has the richest feature set for application caching. That includes L1/L2 with bus sync, stampede protection, grace periods, timeouts, tags, a circuit breaker and observability. Open bug reports show that edge cases in grace, tag invalidation and serialization can behave wrongly. One report says a failed instanceof check makes the Redis driver silently fall back to localhost. Tagging is still marked experimental.
  - GPT-6.2 Sol (7.7): Version 1.6.1 gives teams a typed API for two-tier caching, cross-instance invalidation, and serving stale values during refresh. The setup examples give coding agents a starting point, but their output quality is unmeasured. Stampede protection is process-local, and a production report shows that an ioredis 6 client can silently send connections to localhost. An external single-node benchmark gave mixed results against lru-cache, leaving performance across multiple instances uncertain.
- **Holds up over time: 5.3** (likely 4.1 to 6.8)
  - Claude Opus 5.5 (5.0): Work continues, with 42 commits in the last year and an OpenTelemetry package released in November 2026. The core package has not shipped since February 2026, and bug reports from 2025 are still open with little visible reply. One person does most of the work. Because the official AdonisJS cache module is built on it, it is likely to keep being maintained.
  - GPT-6.2 Sol (5.5): The repository had 42 commits in the past year, and the telemetry add-on shipped in November. Core 1.6.1 shipped in February, and a proposed fix for the Redis compatibility issue has been open since September. The maintainer has sponsors across several projects, but funding dedicated to BentoCache and who can take over releases remain unclear.
- **Used widely: 3.4** (likely 2.1 to 4.7)
  - Claude Opus 5.5 (3.5): It had about 520k downloads in the last 4 weeks, up from 108k a year ago. That ratio of 4.8 is a little above the 4.1 median, so it is gaining ground slowly. Much of that use comes through @adonisjs/cache, not direct choice. ecosyste.ms finds almost no dependents, and stars and Bluesky attention are tiny next to the peers. This points to a few thousand projects at most.
  - GPT-6.2 Sol (3.2): Four-week downloads rose from 108,177 to 519,981, or 4.81 times, ahead of the 4.1 catalog median. AdonisJS installs BentoCache through its cache module, so part of that growth comes from indirect use. With 665 stars, one Bluesky link post, and only one package found by ecosyste.ms, the observed footprint is much smaller than cache-manager's or Keyv's. Incomplete dependency coverage leaves the number of direct adopters uncertain.
- **Vouched for: 4.7** (likely 3.4 to 6.2)
  - Claude Opus 5.5 (4.0): The main backing is that AdonisJS chose it as the base of its official cache module. Searches found no independent benchmarks, survey data or named production users. The docs say the project's own benchmarks exist to catch regressions, not to compare libraries.
  - GPT-6.2 Sol (5.3): AdonisJS builds its official cache module on BentoCache, which is the clearest endorsement. A developer discussion highlights the built-in tagging, and an external benchmark measures throughput on a single node. Public production evidence outside the AdonisJS ecosystem is sparse.
- **Safe: 7.2** (likely 5.9 to 8.4)
  - Claude Opus 5.5 (7.0): It has no known advisories, only six dependencies and an MIT licence. There is no OpenSSF Scorecard, and releases appear to depend on a single maintainer. That limits how much is known about how releases are protected.
  - GPT-6.2 Sol (7.3): BentoCache uses the permissive MIT license, has six direct dependencies, and has no recorded OSV advisories. The current GitHub Actions workflow is configured for npm trusted publishing, and npm lists one collaborator. The missing Scorecard and public security policy leave limited evidence about how the project would handle a security report.

## Good

- It does L1 memory plus L2 Redis caching with bus sync across instances, which Keyv and cache-manager leave to you.
- Built-in stampede protection, grace periods, soft and hard timeouts, and background refresh make the cache keep working when the database fails.
- It has many drivers (Redis, Upstash, SQL, DynamoDB, file, memory), plus OpenTelemetry and Prometheus integrations.
- It is written in TypeScript, has a small dependency tree and no known advisories, and the official AdonisJS cache module is built on it.

## Bad

- Several bug reports about grace, TTL, tag and serialization correctness have been open for months.
- One maintainer does most of the work, and core releases have slowed: the last npm version is 1.6.1 from February 2026.
- Its Redis driver is built on ioredis only, and a request for a node-redis driver is still open.
- There are few independent reviews or production reports outside the AdonisJS ecosystem.

## The numbers

- Downloads, 4 weeks: 520k
- In a year: ×4.8
- GitHub stars: 665
- Commits, 12 months: 42
- Last npm release: Feb 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/Julien-R44/bentocache
- npm: https://www.npmjs.com/package/bentocache

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
