redis unit of work