Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 875 Bytes

1.md

File metadata and controls

5 lines (4 loc) · 875 Bytes

Imagine you are building some sort of service that will be called by up to 1000 client applications to get simple end-of-day stock price information (open, close, high, low). You may assume that you already have the data, and you can store it in any format you wish. How would you design the client-facing service which provides the information toclientapplications?Youareresponsibleforthedevelopment,rollout, and ongoing monitoring and maintenance of the feed. Describe the different methods you considered and why you would recommend your approach. Your service can use any technologies you wish,and can distribute the information to the client applications In any mechanism you choose.

  1. Simple text format. Hard to extend and parse.
  2. Database. Too complicated.
  3. XML or Json. C++ and JAVA have XML Parser, easy to add new attribute. But need to parse the whole file.