]> git.saurik.com Git - redis.git/blame - src/SCRIPTING.txt
call lua_gc() for incremental garbage collection. Likely there is to tune this at...
[redis.git] / src / SCRIPTING.txt
CommitLineData
e8092bf6 1Documentation:
2
3 http://antirez.com/post/scripting-branch-released.html
4
3791000f 5TODO:
6
171ef681 7 MULTI/EXEC/...: should we do more than simply ignoring it?
8
67e829dc 9 Prevent Lua from calling itself with redis("eval",...)
171ef681 10
379789cc 11 Implement log() function, and define REDIS_WARNING, REDIS_NOTICE, ...
171ef681 12
13 SCRIPT FLUSH or alike to start a fresh interpreter.
14
15 Max exection time for scripts, even pretty high, but in order to
16 prevent that an instance gets completely freezed by error.
17 Hint: Use a debug hook for this (lua_sethook() with LUA_MASKCOUNT).
18
19Blog post TODO:
20
21 Explain that for now this is just an experiemnt and there is no way to
22 tell if this will ever enter Redis stable, but that since it is pretty
23 self contained it is trivial to rebase with the unstable branch.
24
25 Explain how replication / AOF mix with scripting and why it is this way,
26 and that scripts should be written to don't depend from timing or other
27 external events if you want to use AOF / replication.
28
29 Show how fast it is!
30
31 Mention that dynamically generated scripts are not a good idea.