Collection of Lua scripts for use with Redis. There are simple BASH scripts for testing functionality.
BASH script approach borrowed from: http://sunilarora.org/redis-lua-scripting
Move a range(by score) of items from one sorted set to another sorted set.
Move a range(by rank) of items from one sorted set to another sorted set.
Multiply the item scores from one sorted set with item scores from another sorted set. Results are stored in a third set.
Divide the item scores from one sorted set by item scores from another sorted set. Results are stored in a third set.