MarketplaceDatabase CachingLua Resty Lrucache
Lua Resty Lrucache
Database CachingCache & Key-Value Stores

Lua Resty Lrucache

Lua-land LRU Cache based on LuaJIT FFI

Open Source

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

Not enough history
Stars
461
Forks
114
License
Not stated
Last commit
3 months ago
Lua

Related Categories