Ericsson interview question

How to design a cache for distribute database?