2011-05-02 00:44:02 +02:00
|
|
|
Documentation:
|
|
|
|
|
|
|
|
http://antirez.com/post/scripting-branch-released.html
|
|
|
|
|
2011-05-01 15:26:47 +02:00
|
|
|
TODO:
|
|
|
|
|
2011-05-02 00:12:37 +02:00
|
|
|
MULTI/EXEC/...: should we do more than simply ignoring it?
|
|
|
|
|
2011-05-01 15:50:33 +02:00
|
|
|
Prevent Lua from calling itself with redis("eval",...)
|
2011-05-02 00:12:37 +02:00
|
|
|
|
2011-05-01 23:43:10 +02:00
|
|
|
Implement log() function, and define REDIS_WARNING, REDIS_NOTICE, ...
|
2011-05-02 00:12:37 +02:00
|
|
|
|
|
|
|
SCRIPT FLUSH or alike to start a fresh interpreter.
|
|
|
|
|
|
|
|
Max exection time for scripts, even pretty high, but in order to
|
|
|
|
prevent that an instance gets completely freezed by error.
|
|
|
|
Hint: Use a debug hook for this (lua_sethook() with LUA_MASKCOUNT).
|
|
|
|
|
|
|
|
Blog post TODO:
|
|
|
|
|
|
|
|
Explain that for now this is just an experiemnt and there is no way to
|
|
|
|
tell if this will ever enter Redis stable, but that since it is pretty
|
|
|
|
self contained it is trivial to rebase with the unstable branch.
|
|
|
|
|
|
|
|
Explain how replication / AOF mix with scripting and why it is this way,
|
|
|
|
and that scripts should be written to don't depend from timing or other
|
|
|
|
external events if you want to use AOF / replication.
|
|
|
|
|
|
|
|
Show how fast it is!
|
|
|
|
|
|
|
|
Mention that dynamically generated scripts are not a good idea.
|