Tencent Interview Question

How would you design a cache system