EVAL), you load the script once as a
“library” and call the functions it registers.
Currently,
LUA is the only supported engine.#!lua name=<library_name> shebang.
Inside the script, use redis.register_function to expose your functions.
The registered functions can be called with the FCALL command.
Arguments
The load options.
Response
The name of the loaded library.