node-cache VS Redis

Compare node-cache vs Redis and see what are their differences.

node-cache

A simple in-memory cache for nodejs (by ptarjan)

Redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps. (by redis)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
node-cache Redis
1 318
1,577 64,821
- 2.1%
10.0 9.7
over 3 years ago 3 days ago
JavaScript C
BSD 2-clause "Simplified" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

node-cache

Posts with mentions or reviews of node-cache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-18.
  • Caching In Node.js Applications
    6 projects | dev.to | 18 Jan 2022
    In-process caching may be implemented in a Node.js application through libraries, such as node-cache, memory-cache, api-cache, and others. There is a wide variety of distributed caching solutions, but the most popular ones are Redis and Memcached. They are both in-memory key-value stores and optimal for read-heavy workloads or compute-intensive workloads due to their use of memory rather than the slower on-disk storage mechanisms found in traditional database systems.

Redis

Posts with mentions or reviews of Redis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.

What are some alternatives?

When comparing node-cache and Redis you can also consider the following projects:

Memcached - memcached development tree

Redis - 🚀 A robust, performance-focused, and full-featured Redis client for Node.js.

apicache - Simple API-caching middleware for Express/Node.

LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

node-cache - a node internal (in-memory) caching module

RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins

node-redis - A high-performance Node.js Redis client. [Moved to: https://github.com/redis/node-redis]

Polly - Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.

celery - Distributed Task Queue (development branch)

Riak - Riak is a decentralized datastore from Basho Technologies.

Apache HBase - Apache HBase

cockroach - CockroachDB - the open source, cloud-native distributed SQL database.