Adding prefix as config variable, logging errors and using bytes instead of a string for redis storage