Redis Lua Script Practice

0. Integration with Spring Framework


1. Lua Script Management in SVN (or other version control tool)


2. Lua Script Management in Production Redis Server


3. Automatic Test (Unit Test, Integration Test)

In our projects, we will integrate lua script with Spring framework, so, I'd like to use jUnit with Mockito and EasyTest to conduct the automatic integration tests, my team don't have to learn busted or luaunit or any other lua unit test framework, perfect.

4. JSON

Fortunately, The Redis Lua interpreter loads seven libraries: base, table, string, math, debug, cjson, and cmsgpack. And cjson has excellent performance.


To Be Continued.

Reference:

[1] Redis in Action

[2] Programming in Lua

[3] http://www.redisgreen.net/blog/intro-to-lua-for-redis-programmers/

你可能感兴趣的:(Redis Lua Script Practice)