J.P. Morgan interview question

Designing the scalable API with cache