Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 626
Which storage layout best supports 'latest 50 messages in a chat room' at massive scale?
A
A key per message with no grouping
B
One global table ordered by insertion, scanned with OFFSET
C
Partition by room_id, cluster by message time/ID descending, read a single partition slice
D
A full-text index over all messages