node-lru-cache

  •        38

A cache object that deletes the least-recently-used items.If you put more stuff in it, then items will fall out.

https://github.com/isaacs/node-lru-cache

Dependencies:

pseudomap : ^1.0.2
yallist : ^2.1.2

Tags
Implementation
License
Platform

   




Related Projects

gcache - Cache library for golang. It supports expirable Cache, LFU, LRU and ARC.

  •    Go

Cache library for golang. It supports expirable Cache, LFU, LRU and ARC.Supports expirable Cache, LFU, LRU and ARC.

golang-lru - Golang LRU cache

  •    Go

This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.

lru-memoize - A utility to provide LRU memoization for any js function

  •    Javascript

lru-memoize is a utility to provide simple memoization for any pure javascript function, using an LRU cache that prioritizes the most recently accessed values, and discards the "least recently used" (LRU) items when the size limit is reached. If your function has side effects or relies on some external state to generate its result, it should not be memoized. Let's look at an example where we want to memoize a function that multiplies three numbers together, and we want to keep the last ten arguments -> value mappings in memory.

node-cache-manager - Cache module for Node.JS

  •    Javascript

A cache module for nodejs that allows easy wrapping of functions in cache, tiered caches, and a consistent interface. See the Express.js cache-manager example app to see how to use node-cache-manager in your applications.

js-lru - A fast, simple & universal Least Recently Used (LRU) map for JavaScript

  •    Javascript

A finite key-value map using the Least Recently Used (LRU) algorithm, where the most recently-used items are "kept alive" while older, less-recently used items are evicted to make room for newer items. Useful when you want to limit use of memory to only hold commonly-used things.


SPTPersistentCache - Everyone tries to implement a cache at some point in their iOS app’s lifecycle, and this is ours

  •    Objective-C

Everyone tries to implement a cache at some point in their app’s lifecycle, and this is ours. This is a library that allows people to cache NSData with time to live (TTL) values and semantics for disk management.SPTPersistentCache is designed as an LRU cache which makes use of the file system to store files as well as inserting a cache header into each file. This cache header allows us to track the TTL, last updated time, the redundancy check and more. This allows the cache to know how often a file is accessed, when it was made, whether it has become corrupt and allows decisions to be made on whether the cache is stale.

Ehcache

  •    Java

Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured and this has made it the most widely-used Java-based cache.

HanekeSwift - A lightweight generic cache for iOS written in Swift with extra love for images.

  •    Swift

Haneke provides a memory and LRU disk cache for UIImage, NSData, JSON, String or any other type that can be read or written as data. Really.

BeanIndex

  •    

BeanIndex is an inverted indexing library for Java Beans. It supports Multithreaded searching, LRU Cache for beans and indeces and hot deployment of new index data.

ShiftOne Object Cache

  •    Java

A Java library that provides basic Object caching. Implemented strategies include First In First Out (fifo), Least Recently Used (lru) and Least Frequently Used (lfu). All strategies enforce max size in elements, and max time to live.

moize - The consistently-fast, complete memoization solution for JS

  •    Javascript

moize is a consistently blazing fast memoization library for JavaScript. It handles multiple parameters (including default values) without any additional configuration, and offers a large number of options to satisfy any number of potential use-cases. All parameter types are supported, including circular objects, functions, etc. There are also a number of shortcut methods to memoize for unique use-cases.

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

  •    Javascript

A simple in-memory cache. put(), get() and del()

node-static - rfc 2616 compliant HTTP static-file server module, with built-in caching.

  •    Javascript

node-static understands and supports conditional GET and HEAD requests. node-static was inspired by some of the other static-file serving modules out there, such as node-paperboy and antinode. This will set the Cache-Control header, telling clients to cache the file for an hour. This is the default setting.

Perl Cache

  •    Perl

Perl Cache is the successor to the File::Cache and IPC::Cache modules. This project unifies those modules with the generic Cache::Cache interface and implements Cache::FileCache, Cache::MemoryCache, Cache::SharedMemoryCache, and Cache::SizeAwareFileCache.

Redisson - Redis based In-Memory Data Grid for Java

  •    Java

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server. Rich Redis client.

C2CBench: Cache-to-Cache Benchmark

  •    C

C2CBench (Cache-to-Cache Benchmark) is a tool to evaluate cache to cache performance on modern parallel microprocessors. It measures the performance of accesses to remote caches and the impact of cache coherence protocols on cache-to-cache data transfers

Cache - :package: Nothing but Cache.

  •    Swift

Cache doesn't claim to be unique in this area, but it's not another monster library that gives you a god's power. It does nothing but caching, but it does it well. It offers a good public API with out-of-box implementations and great customization possibilities. Cache utilizes Codable in Swift 4 to perform serialization. Cache is built based on Chain-of-responsibility pattern, in which there are many processing objects, each knows how to do 1 task and delegates to the next one. But that's just implementation detail. All you need to know is Storage, it saves and loads Codable objects.

Cacheonix - Open Source Java Cache

  •    Java

Cacheonix is an Open Source Java cache that allows developers to scale applications horizontally by providing a highly concurrent local cache and a strictly consistent distributed cache. It supports Distributed cache, Web application cache, Distributed lock, Second level (L2) cache.