awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
isaacs avatar

isaacs/node-lru-cache

0
View on GitHub↗
5,895 स्टार्स·371 फोर्क्स·JavaScript·BlueOak-1.0.0·12 व्यूज़isaacs.github.io/node-lru-cache↗

Node Lru Cache

node-lru-cache, Node.js के लिए एक की-वैल्यू स्टोर है जो मेमोरी-लिमिटेड कैश को लागू करता है। यह आइटम्स की कुल संख्या या कुल बाइट साइज को सीमित करके मेमोरी की कमी को रोकता है, और इन सीमाओं को बनाए रखने के लिए सबसे कम उपयोग किए गए (least-recently-used) आइटम्स को स्वचालित रूप से हटा देता है। यह प्रोजेक्ट विशेष कैशिंग पैटर्न प्रदान करता है, जिसमें डेटा की ताजगी सुनिश्चित करने के लिए 'टाइम-टू-लिव' ड्यूरेशन और एक 'स्टेल-व्हाइल-रीवैलिडेट' मैकेनिज्म शामिल है जो बैकग्राउंड में अपडेट्स को एसिंक्रोनस रूप से लाते समय एक्सपायर्ड कंटेंट को सर्व करता है। इसमें ऑपरेशनल स्टेटस ऑब्जेक्ट्स और डायग्नोस्टिक चैनल्स के माध्यम से कैश हिट्स, मिसेस और इविक्शन मेट्रिक्स की निगरानी के लिए डायग्नोस्टिक टूल्स भी शामिल हैं।

Features

  • Memory-Limited Caches - Implements a memory-limited key-value store that prevents exhaustion by capping item counts or total byte size.
  • LRU Cache Eviction - Implements a memory-limited cache that automatically evicts the least-recently-used items to prevent memory exhaustion.
  • Cache Eviction Policies - Implements size-based eviction algorithms to maintain memory limits by removing the oldest items.
  • Least Recently Used Caches - Prevents application crashes by capping memory usage through an automatic least-recently-used eviction policy.
  • Application Caching - Stores frequently accessed application data in memory to reduce latency and database load.
  • Hash Maps - Utilizes a hash map to provide constant-time retrieval of cached entries and their associated tracking nodes.
  • Linked-List LRU Evictions - Uses a doubly linked list to maintain access order for efficient least-recently-used item eviction.
  • Time-To-Live Expirations - Implements automatic data expiration based on configurable time-to-live durations.
  • Cache Memory Limits - Enforces memory constraints by blocking items that exceed a calculated size from entering the cache.
  • Resource Disposal - Provides mechanisms for disposing of resources and executing cleanup functions when items are removed.
  • Eviction Callbacks - Implements hooks that execute custom cleanup logic when cache entries are evicted or expire.
  • Resource Lifecycle Management - Ensures the release of external system resources through cleanup logic executed upon item expiration.
  • Cache Performance Monitoring - Tracks hit ratios, misses, and eviction metrics to analyze and optimize caching efficiency.
  • Diagnostic Channels - Provides internal event publishing via diagnostic channels for real-time observability of cache performance metrics.
  • Data Fetching - Automates data recovery by retrieving values through a specified method when a key is missing.
  • Stale-While-Revalidate - Supports the stale-while-revalidate pattern to serve expired content while asynchronously updating entries.
  • Caching - LRU cache implementation.

स्टार हिस्ट्री

isaacs/node-lru-cache के लिए स्टार हिस्ट्री चार्टisaacs/node-lru-cache के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Node Lru Cache के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Node Lru Cache के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • tporadowski/redistporadowski का अवतार

    tporadowski/redis

    9,987GitHub पर देखें↗

    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
  • hashicorp/golang-lruhashicorp का अवतार

    hashicorp/golang-lru

    5,091GitHub पर देखें↗

    This is a thread-safe in-memory cache library for Go that automatically evicts the least recently used items when capacity is reached. It provides a fixed-size memory cache designed to maintain a constant memory footprint by removing the oldest entries as new data arrives. The system includes an eviction manager that executes custom callbacks when entries are purged to facilitate resource cleanup. It also supports time-based expiration, allowing for the automatic removal of items after a specified time-to-live duration. The library covers general caching capabilities including cache inspecti

    Go
    GitHub पर देखें↗5,091
  • coocood/freecachecoocood का अवतार

    coocood/freecache

    5,399GitHub पर देखें↗

    freecache is a high-performance, concurrent in-memory key-value store library for Go applications. It functions as a fixed-size cache that manages large volumes of data while eliminating garbage collection overhead through the use of preallocated memory and off-heap storage. The system maintains a predictable memory footprint by utilizing fixed memory allocation and circular buffer management, where new entries automatically overwrite the oldest data upon reaching capacity. It further reduces contention between simultaneous readers and writers through lock-striped concurrent access. The libr

    Go
    GitHub पर देखें↗5,399
  • memcached/memcachedmemcached का अवतार

    memcached/memcached

    14,132GitHub पर देखें↗

    Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as a volatile data store designed to accelerate dynamic applications by caching objects in RAM, thereby reducing backend database load and providing sub-millisecond response times. The system utilizes a specialized architecture that organizes memory into fixed-size slabs to minimize fragmentation and maximize throughput for high-concurrency workloads. The project distinguishes itself through a multi-threaded, lock-friendly design that scales across CPU cores and supports complex

    C
    GitHub पर देखें↗14,132
Node Lru Cache के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

isaacs/node-lru-cache क्या करता है?

node-lru-cache, Node.js के लिए एक की-वैल्यू स्टोर है जो मेमोरी-लिमिटेड कैश को लागू करता है। यह आइटम्स की कुल संख्या या कुल बाइट साइज को सीमित करके मेमोरी की कमी को रोकता है, और इन सीमाओं को बनाए रखने के लिए सबसे कम उपयोग किए गए (least-recently-used) आइटम्स को स्वचालित रूप से हटा देता है। यह प्रोजेक्ट विशेष कैशिंग पैटर्न प्रदान करता है, जिसमें डेटा की ताजगी सुनिश्चित करने के लिए 'टाइम-टू-लिव' ड्यूरेशन और एक 'स्टेल-व्हाइल-रीवैलिडेट' मैकेनिज्म शामिल है जो बैकग्राउंड में…

isaacs/node-lru-cache की मुख्य विशेषताएं क्या हैं?

isaacs/node-lru-cache की मुख्य विशेषताएं हैं: Memory-Limited Caches, LRU Cache Eviction, Cache Eviction Policies, Least Recently Used Caches, Application Caching, Hash Maps, Linked-List LRU Evictions, Time-To-Live Expirations।

isaacs/node-lru-cache के कुछ ओपन-सोर्स विकल्प क्या हैं?

isaacs/node-lru-cache के ओपन-सोर्स विकल्पों में शामिल हैं: tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… hashicorp/golang-lru — This is a thread-safe in-memory cache library for Go that automatically evicts the least recently used items when… coocood/freecache — freecache is a high-performance, concurrent in-memory key-value store library for Go applications. It functions as a… memcached/memcached — Memcached is a high-performance, distributed, in-memory key-value storage and request routing engine. It functions as… lmcache/lmcache — LMCache is a distributed key-value cache manager and tiering system designed to accelerate large language model… olric-data/olric — Olric is a distributed data grid and in-memory key-value store that partitions and replicates data across a cluster of…