Database / ValKey Interview questions
What are Valkey modules and how do you load one?
Modules are shared libraries that extend the server with new commands, data types, or behavior, running in the same process as Valkey itself rather than as a separate service.
# In valkey.conf loadmodule /path/to/module.so # Or at runtime MODULE LOAD /path/to/module.so MODULE LIST
Because a module executes in-process, it has deep access to the server's internals, but a bug in a poorly vetted module can destabilize or crash the entire server, so module provenance matters more than with an external plugin.
More Related questions...