introduced coproc-redis approach
refactored (untested)