node-redis VS node-cache

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

node-redis

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

node-cache

a node internal (in-memory) caching module (by node-cache)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
node-redis node-cache
2 4
14,688 2,198
- 0.7%
9.6 0.0
over 2 years ago 6 months ago
TypeScript CoffeeScript
MIT License MIT License
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-redis

Posts with mentions or reviews of node-redis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-18.
  • Using Redis pub/sub with Node.js
    1 project | dev.to | 4 Mar 2022
    To use Redis in Node.js, we need to install the redis package. It serves as a client to the Redis instance on our machine itself:
  • Caching In Node.js Applications
    6 projects | dev.to | 18 Jan 2022
    Ensure that you have Redis installed before trying out the sample code below. You may follow the official quickstart guide to learn how to get it up and running. Furthermore, make sure to install the necessary dependencies before running the program. This example utilizes the node-redis library.

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 2023-04-27.
  • 10 Powerful Node.js Libraries Every Developer Should Know About
    10 projects | dev.to | 27 Apr 2023
    4. node-cache
  • ELI5: Is there a design pattern of how to delete a guest user/session after a while?
    1 project | /r/webdev | 20 Jun 2022
    One such implementation if you are using nodejs is `node-cache` https://github.com/node-cache/node-cache/blob/master/README.md. However you can probably find an implementation for most any language you are using.
  • 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.
  • I am building a Serverless version of Redis - written in Rust
    7 projects | /r/rust | 2 May 2021
    If you're looking for a caching library, there are several of them in every language I've ever used. For example, in Node node-cache is very popular (https://github.com/node-cache/node-cache). Every language I've ever worked in has a few of these. They tend to have a pretty similar basic feature set, and they all have at least the same functions that you defined in your project.

What are some alternatives?

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

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

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.

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

Memcached - memcached development tree

upstash-redis - HTTP based Redis Client for Serverless and Edge Functions

node-cache - A simple in-memory cache for nodejs

RedisLess - RedisLess is a fast, lightweight, embedded and scalable in-memory Key/Value store library compatible with the Redis API.

yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.