Fill in the blanks and you have a chat server in Redis.