implement callbacks with redis backend