Trying to implement redis