Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: lua-resty-lrucache  ]

Paket: lua-resty-lrucache (0.15-1)

Links für lua-resty-lrucache

Screenshot

Debian-Ressourcen:

Quellcode-Paket lua-resty-lrucache herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Simple LRU cache for the ngx_lua module

The LRU cache resides completely in the Lua VM and is subject to Lua GC. As such, do not expect it to get shared across the OS process boundary. The upside is that you can cache arbitrary complex Lua values (such as deep nested Lua tables) without the overhead of serialization (as with ngx_lua's shared dictionary API). The downside is that your cache is always limited to the current OS process (i.e. the current Nginx worker process). It does not really make much sense to use this library in the context of init_by_lua because the cache will not get shared by any of the worker processes (unless you just want to "warm up" the cache with predefined items which will get inherited by the workers via fork()).

Andere Pakete mit Bezug zu lua-resty-lrucache

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

lua-resty-lrucache herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 10,3 kB42,0 kB [Liste der Dateien]