interview design question: how to design a high through put queue system# JobHunting - 待字闺中
x*y
1 楼
assuming you are in a team that is developing queue system, how to design
this system to satisfy:
1. FIFO
2. Scalability. the request could be very large up to millions message per
second
3. Ordering: when input request has message 1 and message 2, client should
get the messages in same sequence.
what data structure you will use? how to satisfy such distributed high scale
problem?
this system to satisfy:
1. FIFO
2. Scalability. the request could be very large up to millions message per
second
3. Ordering: when input request has message 1 and message 2, client should
get the messages in same sequence.
what data structure you will use? how to satisfy such distributed high scale
problem?