Skip to content
Discussion options

You must be logged in to vote

It is present in valkey for scripting purposes, what you can do is:

  1. Use https://github.com/valkey-io/valkey-luajit (This requires Valkey 9.1, LuaJIT is a Just-In-Time Compiler for Lua with Lua 5.1 API and is supported currently)
  2. Build Valkey from source with make BUILD_LUA=no parameters.
  3. Restrict access by users to scripting with ACL SETUSER username -@scripting

Also note that Valkey 9.1 moves the Lua scripting engine into its own module, decoupling it from the core server. By extracting Lua into a module, Valkey reduces its security surface area and gives operators the option to disable Lua entirely if it is not required.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zuiderkwast
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants