That said, if Redis can EVAL a script stored as a String or a Hash->Key, the client can deal with registering and versioning scripts.
Awesome work btw - been looking forward to scripting in Redis for a long time
That said, if Redis can EVAL a script stored as a String or a Hash->Key, the client can deal with registering and versioning scripts.
Awesome work btw - been looking forward to scripting in Redis for a long time
Seems like a good idea to get the rest of it sorted before deciding on that bit though.
Basically, 1) does Lua have an "eval" statement and 2) can Redis' EVAL read keys (I assume it can, since that's pretty much what the post says)?
So it seems you can set up your own stored procedures.
Basically you give it a "-ext /path/to/waffles.lua" arg at startup to define a bunch of user defined functions.
Inflexible configuration mechanisms are one of the top pain points in cluster-environments (cloud or not). Kudos to antirez for realizing that and working against it.