Michaels interview question

How does Redis work? How to improve performance.