Pregunta de entrevista de Tencent

How would you design a cache system