Lua Resty Lrucache
Lua-land LRU Cache based on LuaJIT FFI
About
lua-resty-lrucache is a library designed for OpenResty and the ngx_lua module, providing a simple least recently used (LRU) cache. It allows for caching complex Lua values without serialization overhead, but is limited to the current Nginx worker process. The library supports expiration times for cached items and offers two implementations: one using native Lua tables and another using a pure FFI approach for better performance in specific scenarios.
Open Source Health
- Stars
- 461
- Forks
- 114
- License
- Not stated
- Last commit
- 3 months ago
Resources & Links
Related Categories
Vendor
OpenResty
Publisher of OpenResty WAF
Quick Links
Open Source
More by OpenResty
Related Products
Valkey
A flexible distributed key-value database that is optimized for caching and other realtime workloads.
Top category match
Tortilla
Wrapping web APIs made easy.
Top category match
Query
Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
Top category match
Cache
Provides extended PSR-6, PSR-16 (and tags) implementations
Top category match
Picasso
A powerful image downloading and caching library for Android
Top category match