Created by: cyberdelia
Replicate LUA scripts effects rather than using pure scripts, it speeds up replication and avoid potential nasty consistency problems and having to design Lua scripts to be deterministic.
You can read more about this here: https://redis.io/commands/eval#scripts-as-pure-functions