awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ptarjan avatar

ptarjan/node-cache

0
View on GitHub↗
1,595 stars·172 forks·JavaScript·BSD-2-Clause·24 views

Node Cache

Node-cache is a lightweight in-memory data storage module designed for Node.js applications. It functions as a key-value store that maintains frequently accessed data directly within the application runtime to improve response times and reduce latency.

The library manages the lifecycle of stored information through automated expiration policies, which use internal timers to remove stale entries once a defined time-to-live duration has elapsed. It provides granular control over stored resources, allowing for the manual inspection, deletion, or clearing of specific keys to manage memory usage effectively.

Beyond basic storage, the module includes observability tools that track cache hits, misses, and total entry counts to assist in evaluating storage efficiency. It also supports state persistence by providing utilities to serialize the entire cache contents into a JSON format, facilitating data migration or state restoration across application environments.

Features

  • In-Memory Data Stores - Stores frequently accessed data in application memory to reduce latency for Node.js backend services.
  • TTL Expiration Management - Implements automatic removal of stale entries using internal timers based on defined time-to-live durations.
  • Entry Expiration Policies - Automates the removal of stale information to reclaim memory and ensure data remains current.
  • Node.js Caches - Provides a lightweight storage module for keeping key-value pairs in Node.js application memory.
  • Key-Value Stores - Functions as a lightweight local key-value store for managing temporary application data.
  • Cache Value Retrievals - Enables efficient storage and retrieval of key-value pairs with safe handling of missing or expired items.
  • In-Memory State Maps - Uses standard JavaScript objects as key-value structures to provide constant-time access to cached application state.
  • Cache Expiration Management - Manages the lifecycle of cached items through automated expiration policies to ensure data freshness.
  • Cache Key Management - Provides administrative tools to inspect, clear, or delete specific keys to maintain precise control over memory usage.
  • Node.js Development Utilities - Acts as a performance utility to improve application response times by caching data within the runtime.
  • Cache Efficiency Metrics - Provides internal event signals for cache hits and misses to enable real-time monitoring of storage efficiency.
  • Cache Performance Monitoring - Tracks cache hits, misses, and entry counts to evaluate storage efficiency and identify performance bottlenecks.

Star history

Star history chart for ptarjan/node-cacheStar history chart for ptarjan/node-cache

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Node Cache

Similar open-source projects, ranked by how many features they share with Node Cache.
  • hazelcast/hazelcasthazelcast avatar

    hazelcast/hazelcast

    6,570View on GitHub↗

    Hazelcast is a distributed data platform that combines an in-memory data grid with a stream processing engine to support real-time analytics and event-driven applications. It functions as a partitioned, distributed key-value store that replicates data across cluster nodes to provide low-latency access and high availability. The platform also serves as a distributed SQL query engine, allowing users to execute standard SQL statements against both in-memory datasets and external data sources. What distinguishes Hazelcast is its use of a distributed consensus subsystem to maintain strongly consis

    Javabig-datacachingdata-in-motion
    View on GitHub↗6,570
  • pmylund/go-cachepmylund avatar

    pmylund/go-cache

    8,828View on GitHub↗

    go-cache is a thread-safe, in-memory key-value store for single-machine applications. It provides a local caching mechanism that stores objects in RAM to reduce redundant data retrieval and avoid the overhead of network protocols or serialization. The system features a persistent cache store that saves the in-memory state to a local file, allowing data recovery across application restarts. The project manages concurrent data access across multiple routines and implements time-to-live expiration for cached entries. A background process periodically scans the store to delete expired items and

    Go
    View on GitHub↗8,828
  • patrickmn/go-cachepatrickmn avatar

    patrickmn/go-cache

    8,828View on GitHub↗

    go-cache is a thread-safe, in-memory cache library for Go that stores arbitrary objects with per-item expiration timestamps. It provides a concurrent key-value store where multiple goroutines can safely read and write shared cached data without external synchronization, using a mutex-guarded map for access control. The library distinguishes itself through its expiration management and optional disk persistence. Each cached item carries its own time-to-live, and a background goroutine periodically purges expired entries. The cache can serialize its entire contents to disk using Go's gob encodi

    Gocachegolibrary
    View on GitHub↗8,828
  • tporadowski/redistporadowski avatar

    tporadowski/redis

    9,987View on GitHub↗

    Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL database. It provides sub-millisecond read and write access to data stored in RAM and can operate as a vector database for indexing high-dimensional embeddings. The system supports a wide range of data storage and synchronization primitives, including the management of strings, hashes, lists, sets, and JSON documents. It enables real-time data operations through atomic transactions, hybrid persistence using snapshots and append-only logs, and high-availability configurations

    Credisredis-for-windowsredis-msi-installer
    View on GitHub↗9,987
See all 30 alternatives to Node Cache→

Frequently asked questions

What does ptarjan/node-cache do?

Node-cache is a lightweight in-memory data storage module designed for Node.js applications. It functions as a key-value store that maintains frequently accessed data directly within the application runtime to improve response times and reduce latency.

What are the main features of ptarjan/node-cache?

The main features of ptarjan/node-cache are: In-Memory Data Stores, TTL Expiration Management, Entry Expiration Policies, Node.js Caches, Key-Value Stores, Cache Value Retrievals, In-Memory State Maps, Cache Expiration Management.

What are some open-source alternatives to ptarjan/node-cache?

Open-source alternatives to ptarjan/node-cache include: hazelcast/hazelcast — Hazelcast is a distributed data platform that combines an in-memory data grid with a stream processing engine to… pmylund/go-cache — go-cache is a thread-safe, in-memory key-value store for single-machine applications. It provides a local caching… patrickmn/go-cache — go-cache is a thread-safe, in-memory cache library for Go that stores arbitrary objects with per-item expiration… tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… valkey-io/valkey — Valkey is an in-memory, NoSQL database server designed for high-performance data storage and real-time state…

Curated searches featuring Node Cache

Hand-picked collections where Node Cache appears.
  • In-Memory Key-Value Stores