awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·9 vues

Node Cache

Node-cache est un module de stockage de données en mémoire léger conçu pour les applications Node.js. Il fonctionne comme un magasin clé-valeur qui maintient les données fréquemment consultées directement au sein de l'exécution de l'application pour améliorer les temps de réponse et réduire la latence.

La bibliothèque gère le cycle de vie des informations stockées via des politiques d'expiration automatisées, qui utilisent des minuteurs internes pour supprimer les entrées obsolètes une fois qu'une durée de vie définie s'est écoulée. Elle fournit un contrôle granulaire sur les ressources stockées, permettant l'inspection manuelle, la suppression ou l'effacement de clés spécifiques pour gérer efficacement l'utilisation de la mémoire.

Au-delà du stockage de base, le module inclut des outils d'observabilité qui suivent les succès, les échecs et le nombre total d'entrées du cache pour aider à évaluer l'efficacité du stockage. Il prend également en charge la persistance de l'état en fournissant des utilitaires pour sérialiser tout le contenu du cache dans un format JSON, facilitant la migration des données ou la restauration de l'état à travers les environnements d'application.

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.

Historique des stars

Graphique de l'historique des stars pour ptarjan/node-cacheGraphique de l'historique des stars pour ptarjan/node-cache

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Node Cache

Sélections manuelles où Node Cache apparaît.
  • Magasins clé-valeur en mémoire

Questions fréquentes

Que fait ptarjan/node-cache ?

Node-cache est un module de stockage de données en mémoire léger conçu pour les applications Node.js. Il fonctionne comme un magasin clé-valeur qui maintient les données fréquemment consultées directement au sein de l'exécution de l'application pour améliorer les temps de réponse et réduire la latence.

Quelles sont les fonctionnalités principales de ptarjan/node-cache ?

Les fonctionnalités principales de ptarjan/node-cache sont : 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.

Quelles sont les alternatives open-source à ptarjan/node-cache ?

Les alternatives open-source à ptarjan/node-cache incluent : 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…

Alternatives open source à Node Cache

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Node Cache.
  • hazelcast/hazelcastAvatar de hazelcast

    hazelcast/hazelcast

    6,570Voir sur 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
    Voir sur GitHub↗6,570
  • pmylund/go-cacheAvatar de pmylund

    pmylund/go-cache

    8,828Voir sur 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
    Voir sur GitHub↗8,828
  • patrickmn/go-cacheAvatar de patrickmn

    patrickmn/go-cache

    8,828Voir sur 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
    Voir sur GitHub↗8,828
  • tporadowski/redisAvatar de tporadowski

    tporadowski/redis

    9,987Voir sur 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
    Voir sur GitHub↗9,987
Voir les 30 alternatives à Node Cache→