GitHub topics: lru
myrotvorets/lru-cache
TypeScript implementation of LRU Cache
Language: TypeScript - Size: 651 KB - Last synced at: about 3 hours ago - Pushed at: about 5 hours ago - Stars: 0 - Forks: 0

ballerina-platform/module-ballerina-cache
Ballerina cache Module
Language: Ballerina - Size: 2.16 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 113 - Forks: 31

elastic/go-freelru
Language: Go - Size: 123 KB - Last synced at: 3 days ago - Pushed at: 14 days ago - Stars: 229 - Forks: 15

isaacs/node-lru-cache
A fast cache that automatically deletes the least recently used items
Language: TypeScript - Size: 1.76 MB - Last synced at: 4 days ago - Pushed at: 28 days ago - Stars: 5,523 - Forks: 358

arthurprs/quick-cache
Lightweight and high performance concurrent cache
Language: Rust - Size: 215 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 235 - Forks: 19

TwiN/gocache
High performance and lightweight in-memory cache library with LRU and FIFO support as well as memory-usage-based-eviction
Language: Go - Size: 1.17 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 40 - Forks: 5

samber/hot
🌶️ In-memory caching library for read-intensive Go applications
Language: Go - Size: 138 KB - Last synced at: 1 day ago - Pushed at: 6 days ago - Stars: 78 - Forks: 0

vasayxtx/go-lrutree
LRU Tree Cache
Language: Go - Size: 83 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 1 - Forks: 0

orca-zhang/ecache
🦄【轻量级本地内存缓存】🤏代码少于300行⌚️30s接入🚀高性能、极简设计、并发安全🌈支持LRU 和 LRU-2模式 🦖支持分布式一致性 [ecache] Extremely easy, ultra fast, concurrency-safe and support distributed consistency. Similar to bigcache, cachego, freecache, gcache, gocache, groupcache, lrucache.
Language: Go - Size: 949 KB - Last synced at: 4 days ago - Pushed at: 18 days ago - Stars: 248 - Forks: 28

1a1a11a/libCacheSim
a high performance library for building cache simulators
Language: C++ - Size: 92.3 MB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 212 - Forks: 57

alxkm/cache
Simple cache implementation on java
Language: Java - Size: 85.9 KB - Last synced at: 10 days ago - Pushed at: 10 months ago - Stars: 11 - Forks: 3

falsandtru/dw-cache
The highest performance constant complexity cache algorithm.
Language: TypeScript - Size: 311 KB - Last synced at: about 15 hours ago - Pushed at: 9 months ago - Stars: 16 - Forks: 1

Code-Hex/go-generics-cache
A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.
Language: Go - Size: 149 KB - Last synced at: 11 days ago - Pushed at: 3 months ago - Stars: 475 - Forks: 42

Andronovo-bit/HybridCacheLibrary
HybridCacheLibrary - A high-performance, thread-safe caching library in C#, combining the strengths of both LRU and LFU cache eviction strategies. Perfect for managing dynamically sized caches with customizable frequency settings.
Language: C# - Size: 140 KB - Last synced at: 7 days ago - Pushed at: 8 months ago - Stars: 2 - Forks: 0

aio-libs/async-lru
Simple LRU cache for asyncio
Language: Python - Size: 451 KB - Last synced at: 10 days ago - Pushed at: 14 days ago - Stars: 786 - Forks: 59

Sarrthhak/Page_Replacement_Algorithm_Simulator
Page Replacement Algorithm Simulator is a Streamlit-based application that simulates and compares FIFO, LRU, and Optimal algorithms. It displays memory state changes, compares page faults, and provides insights into algorithm performance.
Language: Python - Size: 57.6 KB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 0 - Forks: 0

alenap93/kysely-cache
Cache layer for Kysely
Language: TypeScript - Size: 692 KB - Last synced at: 12 days ago - Pushed at: 16 days ago - Stars: 2 - Forks: 0

youknowone/ring
Python cache interface with clean API and built-in memcache & redis + asyncio support.
Language: Python - Size: 644 KB - Last synced at: 13 days ago - Pushed at: 24 days ago - Stars: 487 - Forks: 36

goburrow/cache
Mango Cache 🥭 - Partial implementation of Guava Cache in Go (golang).
Language: Go - Size: 196 KB - Last synced at: 14 days ago - Pushed at: over 2 years ago - Stars: 594 - Forks: 46

bluele/gcache
An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
Language: Go - Size: 122 KB - Last synced at: 12 days ago - Pushed at: about 1 year ago - Stars: 2,657 - Forks: 275

mgnsk/evcache
Package evcache implements a concurrent key-value cache with capacity overflow eviction, item expiry and deduplication.
Language: Go - Size: 426 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 5 - Forks: 1

ez8-co/linked_hash
🦄 链式哈希 [LRU] Fast, header-only, cross-platform and STL-like linked_hash_map & linked_hash_set for C++. (beats 100% submissions @ leetcode) LRUCache
Language: C++ - Size: 197 KB - Last synced at: 2 days ago - Pushed at: over 2 years ago - Stars: 17 - Forks: 14

streamich/thingies
Kitchen sink of helpful utilities.
Language: TypeScript - Size: 1.63 MB - Last synced at: 2 days ago - Pushed at: 14 days ago - Stars: 52 - Forks: 5

wellwelwel/lru.min
🔥 An extremely fast and efficient LRU cache for JavaScript with high compatibility (including Browsers).
Language: TypeScript - Size: 160 KB - Last synced at: 17 days ago - Pushed at: about 1 month ago - Stars: 24 - Forks: 1

vmihailenco/go-cache-benchmark
Cache benchmark for Golang
Language: Go - Size: 96.7 KB - Last synced at: 22 days ago - Pushed at: over 1 year ago - Stars: 72 - Forks: 13

moeryomenko/ttlcache 📦
Cache library with configurable eviction policy, supported LFU, ARC and LRU.
Language: Go - Size: 61.5 KB - Last synced at: 16 days ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 1

aarni57/lrutrack
Least-recently-used tracking helper in C
Language: C - Size: 31.3 KB - Last synced at: 30 days ago - Pushed at: 30 days ago - Stars: 0 - Forks: 0

tylerreisinger/cache-macro
A procedural attribute macro to automatically cache the results of a function call with given args.
Language: Rust - Size: 46.9 KB - Last synced at: 2 days ago - Pushed at: about 6 years ago - Stars: 65 - Forks: 8

lonelyenvoy/python-memoization
A powerful caching library for Python, with TTL support and multiple algorithm options.
Language: Python - Size: 207 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 238 - Forks: 15

FishGoddess/cachego
一个拥有分片机制的轻量级内存缓存库,API 友好,支持多种数据淘汰机制 - An api friendly memory-based cache
Language: Go - Size: 502 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 32 - Forks: 4

somodidenise/Virtual-Memory-Simulator
C++ Virtual Memory Simulator with a Qt GUI for visualizing address translation, page faults, TLB operations, and page replacement strategies.
Language: C++ - Size: 0 Bytes - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

jamiealquiza/bicache
A hybrid MFU / MRU, TTL, sharded cache for Go (aka LFU / LRU)
Language: Go - Size: 197 KB - Last synced at: 5 days ago - Pushed at: 11 months ago - Stars: 29 - Forks: 4

lukeed/tmp-cache
A least-recently-used cache in 35 lines of code~!
Language: JavaScript - Size: 17.6 KB - Last synced at: about 1 month ago - Pushed at: over 4 years ago - Stars: 177 - Forks: 8

bitfaster/BitFaster.Caching
High performance, thread-safe in-memory caching primitives for .NET
Language: C# - Size: 1.41 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 521 - Forks: 33

arugaz/elysia-cache
Plugin for Elysia that for LRU Caching
Language: TypeScript - Size: 17.6 KB - Last synced at: 14 days ago - Pushed at: over 1 year ago - Stars: 12 - Forks: 0

jedisct1/rust-sieve-cache
SIEVE cache replacement policy for Rust.
Language: Rust - Size: 26.4 KB - Last synced at: 13 days ago - Pushed at: about 2 months ago - Stars: 18 - Forks: 1

toolsetlink/mcache
An in-memory cache library for golang. support: lru,lfu,hash-lru,hash-lfu,arc. 一个高性能本地内存缓存,带有各种内存淘汰算法
Language: Go - Size: 305 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 314 - Forks: 11

GitbookIO/lru-diskcache
A disk cache object that deletes the least-recently-used items
Language: JavaScript - Size: 9.77 KB - Last synced at: 1 day ago - Pushed at: almost 4 years ago - Stars: 11 - Forks: 7

Zekfad/lru_cache
LRU (Least recently used) cache with additional weak map layer.
Language: Dart - Size: 40 KB - Last synced at: 12 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 1

iamsinghrajat/async-cache
A caching solution for asyncio
Language: Python - Size: 67.4 KB - Last synced at: about 17 hours ago - Pushed at: 5 months ago - Stars: 98 - Forks: 23

ricardotondello/LRU
This is a thread safe caching strategy implementation of Least Recently Used (LRU). It defines the policy to evict elements from the cache to make room for new elements when the cache is full, meaning it discards the least recently used items first.
Language: C# - Size: 351 KB - Last synced at: 19 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

NoNameProvided/dscache
Dead simple LRU style in-memory key-value cache with eager key eviction.
Language: TypeScript - Size: 12.7 KB - Last synced at: 8 days ago - Pushed at: almost 4 years ago - Stars: 1 - Forks: 0

kchristidis/cmap
A thread-safe capacity-constrained hash table that evicts keys according to the LRU policy
Language: Go - Size: 8.79 KB - Last synced at: 8 days ago - Pushed at: almost 5 years ago - Stars: 3 - Forks: 1

dasebe/webcachesim
A C++11 simulator for a variety of CDN caching policies.
Language: C++ - Size: 24.5 MB - Last synced at: 22 days ago - Pushed at: over 4 years ago - Stars: 50 - Forks: 58

solkin/disk-lru-cache
💾 Disk LRU cache with persisted journal
Size: 434 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 25 - Forks: 10

jbaldwin/libcappuccino
C++17 Cache Data Structure Library
Language: C++ - Size: 515 KB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 25 - Forks: 10

hakavlad/mg-lru-helper
Control the state of MGLRU
Language: Makefile - Size: 22.5 KB - Last synced at: 15 days ago - Pushed at: almost 2 years ago - Stars: 54 - Forks: 9

royalbhati/LRU-Cache
[WIP] Basic Implementation of LRU Cache in golang
Language: Go - Size: 1.95 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0

ronomon/hash-table
Fast, reliable cuckoo hash table for Node.js.
Language: JavaScript - Size: 45.9 KB - Last synced at: 15 days ago - Pushed at: over 3 years ago - Stars: 303 - Forks: 13

dasebe/optimalwebcaching
Derive the optimal cache hit ratio for Internet request traces with variable object sizes.
Language: C++ - Size: 801 KB - Last synced at: 22 days ago - Pushed at: over 2 years ago - Stars: 41 - Forks: 8

leohowell/redis-lru
LRU cache for Python. Use Redis as backend. Provides a dictionary-like object as well as a method decorator. pip install redis-lru
Language: Python - Size: 23.4 KB - Last synced at: 23 days ago - Pushed at: over 2 years ago - Stars: 43 - Forks: 13

fabiospampinato/picolru
A tiny LRU implementation that strives for simplicity and performance.
Language: JavaScript - Size: 15.6 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 10 - Forks: 0

hurryhuang1007/fn-merge-cache
`FnMergeCache` is a caching utility that allows functions to cache their results based on input arguments, with options for cache lifetime, size limits, error handling, and parameter comparison, while supporting cache invalidation via tags and global revalidation.
Language: TypeScript - Size: 180 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0

cnoelle/lru-cache-idb
A least-recently-used (LRU) cache for web applications, based on IndexedDB
Language: TypeScript - Size: 126 KB - Last synced at: 10 days ago - Pushed at: 7 months ago - Stars: 7 - Forks: 0

jchristn/Caching
Simple FIFO and LRU cache in C#
Language: C# - Size: 5.24 MB - Last synced at: 10 days ago - Pushed at: 3 months ago - Stars: 32 - Forks: 6

Harris-H/fast-cache
cache algorithm implemented based on go, supporting multiple algorithms such as GClock,FIFO,LFU, LRU, LRU-K, 2Q, etc.
Language: Go - Size: 1.05 MB - Last synced at: about 2 months ago - Pushed at: 3 months ago - Stars: 1 - Forks: 0

muthu-kumar-u/LRU-Module
LRU Service with the client and server this can help to manipulate with the recently used data from the client
Language: JavaScript - Size: 92.8 KB - Last synced at: about 1 month ago - Pushed at: 12 months ago - Stars: 2 - Forks: 0

q191201771/libchef
🍀 c++ standalone header-only basic library. || c++头文件实现无第三方依赖基础库
Language: C++ - Size: 52 MB - Last synced at: 12 days ago - Pushed at: over 2 years ago - Stars: 246 - Forks: 46

phleudt/Cache_Simulator
Write-back cache simulator with configurable parameters and performance metrics.
Language: C - Size: 3.23 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

jjeffcaii/dcache
A simple Deno LRU cache utilities.
Language: TypeScript - Size: 9.77 KB - Last synced at: about 14 hours ago - Pushed at: about 4 years ago - Stars: 1 - Forks: 0

kurtextrem/js-sieve
SIEVE in JS, a modern efficient cache algorithm that is simpler than LRU
Language: TypeScript - Size: 17.6 KB - Last synced at: 11 days ago - Pushed at: about 1 year ago - Stars: 16 - Forks: 2

BijanVan/threadsafe-lru
thread-safe implementation of an LRU
Language: Rust - Size: 10.7 KB - Last synced at: 24 days ago - Pushed at: 5 months ago - Stars: 1 - Forks: 0

sonirico/mecachis
LRU, LFU, LFRU caches implementation, 缓存实现
Language: Go - Size: 137 KB - Last synced at: 21 days ago - Pushed at: about 4 years ago - Stars: 8 - Forks: 1

LeandroCesarr/chrono-cache
The modular caching solution for modern applications.
Language: TypeScript - Size: 348 KB - Last synced at: 16 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

notskamr/bun-sqlite-cache
Source code for a Bun SQLite based key-value cache
Language: TypeScript - Size: 33.2 KB - Last synced at: about 20 hours ago - Pushed at: 10 months ago - Stars: 6 - Forks: 1

sagemathinc/local-storage-lru
Simple LRU Cache for browser's localStorage
Language: TypeScript - Size: 555 KB - Last synced at: 7 days ago - Pushed at: 10 months ago - Stars: 8 - Forks: 2

webmafia/lru
LRU cache in Go
Language: Go - Size: 4.88 KB - Last synced at: 14 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

hupe1980/go-llmcache
🧠 Cache implementation for storing and retrieving results of language model (LLM) requests
Language: Go - Size: 58.6 KB - Last synced at: 5 days ago - Pushed at: about 1 year ago - Stars: 7 - Forks: 0

dgilland/cacheout
A caching library for Python
Language: Python - Size: 226 KB - Last synced at: 6 months ago - Pushed at: over 1 year ago - Stars: 425 - Forks: 44

sysulq/dataloader-go
Go implementation of Facebook's DataLoader with 200+ lines of code.
Language: Go - Size: 216 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 51 - Forks: 1

qianbin/directcache
High performance GC-free cache library for Go
Language: Go - Size: 39.1 KB - Last synced at: 8 days ago - Pushed at: over 2 years ago - Stars: 5 - Forks: 1

marmeladema/clru-rs
An LRU cache implementation with constant time operations and weighted semantic.
Language: Rust - Size: 70.3 KB - Last synced at: 6 months ago - Pushed at: 12 months ago - Stars: 39 - Forks: 8

marcalperapoch/lru-cache
LRU Cache implementation in Java
Size: 16.6 KB - Last synced at: 6 months ago - Pushed at: about 8 years ago - Stars: 1 - Forks: 0

feross/memo-async-lru
Memoize Node.js style callback-last functions, using an in-memory LRU store
Language: JavaScript - Size: 11.7 KB - Last synced at: 13 days ago - Pushed at: almost 5 years ago - Stars: 17 - Forks: 1

feross/async-lru
A simple async LRU cache supporting O(1) set, get and eviction of old keys
Language: JavaScript - Size: 19.5 KB - Last synced at: 14 days ago - Pushed at: almost 5 years ago - Stars: 46 - Forks: 1

feross/cache-chunk-store
In-memory LRU (least-recently-used) cache for abstract-chunk-store compliant stores
Language: JavaScript - Size: 43.9 KB - Last synced at: 13 days ago - Pushed at: about 2 years ago - Stars: 28 - Forks: 4

Nicolab/crystal-lru-cache
:gem: key/value LRU cache that supports lifecycle, global size limit and expiration time.
Language: Crystal - Size: 41 KB - Last synced at: 17 days ago - Pushed at: about 4 years ago - Stars: 8 - Forks: 2

careteenL/lru
⚡️A fast, simple Least Recently Used (LRU) Cache
Language: JavaScript - Size: 9.77 KB - Last synced at: 7 months ago - Pushed at: 7 months ago - Stars: 1 - Forks: 0

gozeloglu/cache
LRU-based cache package for Go.
Language: Go - Size: 50.8 KB - Last synced at: about 13 hours ago - Pushed at: about 1 year ago - Stars: 28 - Forks: 4

johnsiilver/golib
Open version of common golang libraries useful to many projects.
Language: Go - Size: 13.1 MB - Last synced at: 5 months ago - Pushed at: over 1 year ago - Stars: 76 - Forks: 9

Traumatism/cacher
Lightweight LRU cache decorators
Language: Python - Size: 23.4 KB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 2 - Forks: 0

zhuichao001/hawker
Common engineering data structures and algorithms, such as linear,tree,linked list,graph,greedy,divide and conquer,dynamic programming, backtracking, depth search, breadth search and so on
Language: C++ - Size: 5.91 MB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 2 - Forks: 1

al8n/caches-rs
This is a Rust implementation for popular caches (support no_std).
Language: Rust - Size: 226 KB - Last synced at: 6 months ago - Pushed at: 12 months ago - Stars: 104 - Forks: 14

phuslu/lru
High performance LRU cache
Language: Go - Size: 181 KB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 184 - Forks: 7

ypinc/abap-caches
Cache implementation in ABAP
Language: ABAP - Size: 32.2 KB - Last synced at: 15 days ago - Pushed at: 9 months ago - Stars: 4 - Forks: 1

Sandhish/Page-Replacement-Algorithms
Simulator of Page Replacement Algorithms like FIFO, LRU, Optimal
Language: JavaScript - Size: 2.93 KB - Last synced at: 29 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

Kwynto/lru
A simple and fast implementation of LRU for caching with old data preemption and constant access time.
Language: Go - Size: 50.8 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 87 - Forks: 3

liltoto/LRU
Simple and powerful LRU cache for Deno
Language: TypeScript - Size: 17.6 KB - Last synced at: 13 days ago - Pushed at: about 4 years ago - Stars: 13 - Forks: 2

BGMP/LRU
LRU Page Replacement Algorithm Implementation written in C
Language: C - Size: 122 KB - Last synced at: 1 day ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 0

sysulq/golang-lru Fork of hashicorp/golang-lru
Golang LRU cache with expire feature.
Language: Go - Size: 78.1 KB - Last synced at: 5 months ago - Pushed at: 10 months ago - Stars: 66 - Forks: 12

falsandtru/bclock
A clock variant cache algorithm 2x faster than LRU.
Language: TypeScript - Size: 72.3 KB - Last synced at: about 1 month ago - Pushed at: 9 months ago - Stars: 1 - Forks: 0

tinovyatkin/tlru
Time aware least recently used (TLRU) cache for Node
Language: TypeScript - Size: 2.04 MB - Last synced at: 16 days ago - Pushed at: over 1 year ago - Stars: 13 - Forks: 2

mchome/flutter_advanced_networkimage 📦
flutter advanced network image provider
Language: Dart - Size: 494 KB - Last synced at: 18 days ago - Pushed at: almost 5 years ago - Stars: 285 - Forks: 181

ashuthe1/kuki-memcache
In-memory Thread Safe Caching Library in Golang with support for multiple eviction policies, Batch Processing and Persistence Storage
Language: Go - Size: 34.2 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 6 - Forks: 0

ashuthe1/memCache
In Memory Thread Safe Database implementing different eviction algorithms
Language: Go - Size: 10.7 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

qddegtya/llpage
📜 Page operation model (in memory) with LRU & lifecycle strategy
Language: JavaScript - Size: 83 KB - Last synced at: 7 days ago - Pushed at: 10 months ago - Stars: 2 - Forks: 0

luoxiu/SuperCache
🚀 [Suspended] Extremely fast memory cache, written in Swift.
Size: 165 KB - Last synced at: 17 days ago - Pushed at: over 4 years ago - Stars: 8 - Forks: 0

codeation/lru
Go asynchronous LRU cache
Language: Go - Size: 25.4 KB - Last synced at: 2 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

qiwik/golru
golru is a small library representing an implementation of the lru-cache written and intended for golang
Language: Go - Size: 32.2 KB - Last synced at: 10 months ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

kangkang66/go-lru
golang lru存储器
Language: Go - Size: 10.7 KB - Last synced at: 10 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0
