kevy4.0

SCRIPT

Manage the process-wide Lua script cache.

SCRIPT LOAD script | EXISTS sha1 [sha1 ...] | FLUSH [ASYNC|SYNC]
Group
Scripting
Since
1.0.0
Arity
at least 2
Flags
readonly

Complexity

LOAD: O(len(script)). EXISTS: O(k). FLUSH: O(cached scripts)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

LOAD / EXISTS / FLUSH only — SCRIPT KILL does not exist, by design: there is no -BUSY state to interrupt because an over-budget script self-aborts

See also

EVALEVALSHA

← All commands