added curve example using redis

Signed-off-by: Hendrik Beskow <hendrik@beskow.de>