Working with redis plugin