We use Redis' server-side Lua scripting a lot, but we have split the responsibilities. Clients aren't allowed to inject Lua code into Redis. Instead, Lua code is automatically injected into Redis instances by a (custom) Lua script manager, after commits / pushes to a DVCS repository. How we use this client-side: see this diagram for a gist (the Lua scripts return SHA1 checksums themselves).
Therefore we need to call EVALSHA directly, supplying only the SHA1 checksum and the parameters.
Is this possible in StackExchange.Redis? Sidenote: we have no problems using this Lua setup in redis-py (python) from various AIX/Linux servers.
Kind regards, TW
We use Redis' server-side Lua scripting a lot, but we have split the responsibilities. Clients aren't allowed to inject Lua code into Redis. Instead, Lua code is automatically injected into Redis instances by a (custom) Lua script manager, after commits / pushes to a DVCS repository. How we use this client-side: see this diagram for a gist (the Lua scripts return SHA1 checksums themselves).
Therefore we need to call EVALSHA directly, supplying only the SHA1 checksum and the parameters.
Is this possible in StackExchange.Redis? Sidenote: we have no problems using this Lua setup in redis-py (python) from various AIX/Linux servers.
Kind regards, TW