gategroup interview question

How to design a specific function in a scalable systems