design a system supporting massive data storage and query

前端 未结 4 1042
情歌与酒
情歌与酒 2020-12-23 08:47

I was asked by the interviewer to design a system to store gigabytes of data and the system also has to support some kind of query.

Description:

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 09:08

    It will be an interval tree which is also a B-Tree. An interval tree because all the queries have input as time interval only, and B-Tree due to the size of the input(billions).

提交回复
热议问题