educative.io

Educative

Doesn't sharding on LocationID mean that every node will be a hot node?

Sharding on region will cause nodes containing hot regions to get hammered. The course recommends sharding on Location ID as a better solution. However, doesn’t this mean that all shards will now have to respond to all requests? Doesn’t that mean that any one node will have to handle as much or more traffic than any node using the region sharding scheme? How is this better?

4 Likes