Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content
Isn't this true for all types of partitioning?"""Partitioning based on the maxim...

Junaid Effendi

Aug 19, 2022

Isn't this true for all types of partitioning?

""" Partitioning based on the maximum capacity can still lead us to hotspots, e.g., if there are a lot of queries for terms starting with ‘cap’, the server holding it will have a high load compared to others. """

Even with hash, cap will produce same hash thus same server so hotspot can still occur?

1

0

Comments
Comments
D
DogBiscuit 3 years ago

Each subtree generates a different hash, so "captain" could be stored separately from "caption" or "cap". If you partition by max capacity, they would all be on the same server.