Hasty Briefsbeta

Bilingual

<antirez>

8 hours ago
  • Lua scripting is the most successful Redis feature, enabling programmable and fast scripts that are cached and executed using the same interpreter.
  • Two key features requested by users are a proper Lua debugger and script effects replication, both implemented by the author.
  • The debugger is a remote, interactive, client-server tool that uses fork() to avoid blocking the server and enables rollback of dataset changes.
  • Key debugger features include breakpoints, stepping, variable inspection, backtrace, and custom Lua functions like redis.breakpoint() and redis.debug().
  • Script effects replication allows replicating only the write commands resulting from a script, improving efficiency and enabling use of non-deterministic commands like TIME.
  • The feature supports opt-in via redis.replicate_commands(), with advanced control using redis.set_repl() to exclude certain commands from replication.
  • Both features will be available in Redis 3.2, scheduled for release in December 2015.