Redis interview question

How to optimize for speed and scalability