Grokking the System Design Interview
0% completed
Data Partitioning
.....
.....
.....
Like the course? Get enrolled and start learning!
A
Anonymous
· 3 years ago
Show 1 reply
A
Anonymous
· 4 years ago
For round robin you should mention that the order of data coming in determines which partition it lands in. Otherwise people don't know what "i" means.
A
Anonymous
· 4 years ago
Also hashed based partitioning is incorrect. If you were to use ID then you could end up lopsided if the IDs are heavily weighted to one partition unless IDs are randomly generated. Instead you should always hash the ID so that it's evenly distributed.
A
Anonymous
· 4 years ago
You should mention that vertical partitioning means partition by column
Reading Progress
0%