awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ptarjan avatar

ptarjan/node-cache

0
View on GitHub↗
1,595 星标·172 分支·JavaScript·BSD-2-Clause·3 次浏览

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 历史

ptarjan/node-cache 的 Star 历史图表ptarjan/node-cache 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Node Cache 的精选搜索

收录 Node Cache 的精选合集。
  • 内存键值存储

Node Cache 的开源替代方案

相似的开源项目,按与 Node Cache 的功能重合度排序。
  • hazelcast/hazelcasthazelcast 的头像

    hazelcast/hazelcast

    6,570在 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
    在 GitHub 上查看↗6,570
  • pmylund/go-cachepmylund 的头像

    pmylund/go-cache

    8,828在 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
    在 GitHub 上查看↗8,828
  • patrickmn/go-cachepatrickmn 的头像

    patrickmn/go-cache

    8,828在 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
    在 GitHub 上查看↗8,828
  • tporadowski/redistporadowski 的头像

    tporadowski/redis

    9,987在 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
    在 GitHub 上查看↗9,987
查看 Node Cache 的所有 30 个替代方案→

常见问题解答

ptarjan/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.

ptarjan/node-cache 的主要功能有哪些?

ptarjan/node-cache 的主要功能包括: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。

ptarjan/node-cache 有哪些开源替代品?

ptarjan/node-cache 的开源替代品包括: 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…