lua-resty-mlcache

Layered caching library for OpenResty

$ luarocks install lua-resty-mlcache

This library can be manipulated as a key/value store caching scalar Lua
types and tables, combining the power of the lua_shared_dict API and
lua-resty-lrucache, which results in an extremely performant and flexible
layered caching solution.

Features:

- Caching and negative caching with TTLs.
- Built-in mutex via lua-resty-lock to prevent dog-pile effects to your
database/backend on cache misses.
- Built-in inter-worker communication to propagate cache invalidations and
allow workers to update their L1 (lua-resty-lrucache) caches upon changes
(`set()`, `delete()`).
- Support for split hits and misses caching queues.
- Multiple isolated instances can be created to hold various types of data
while relying on the *same* `lua_shared_dict` L2 cache.

Versions

2.7.0-1319 days ago45,332 downloads
2.6.1-1329 days ago681 downloads
2.6.0-22 years ago147,214 downloads
2.6.0-12 years ago39,528 downloads
2.5.0-14 years ago175,589 downloads
2.4.1-14 years ago1,615,863 downloads
2.4.0-15 years ago71,615 downloads
2.3.0-15 years ago23,909 downloads
2.2.1-26 years ago227 downloads
2.2.1-16 years ago306 downloads
2.2.0-16 years ago21,248 downloads
2.1.0-16 years ago589 downloads
2.0.2-16 years ago21,306 downloads
2.0.1-16 years ago757 downloads
2.0.0-16 years ago60 downloads
1.0.1-17 years ago1,579 downloads
1.0.0-17 years ago1,807 downloads

Dependency for

cmft-base-kong, cmft-kong, edge, kong, kong

Manifests