raise "redis cannot be nil" if @redis.nil?