---
title: "Discussion on \"Database Sharding in System Design Interviews: Choosing a Shard Key, Avoiding Hotspots, and the Follow-ups Interviewers Ask\" | Hashnode"
description: "Discussion on \"Database Sharding in System Design Interviews: Choosing a Shard Key, Avoiding Hotspots, and the Follow-ups Interviewers Ask\". When to shard (and when not to), hash vs range vs directory sharding, celebrity hotspots, cross-shard queries, resharding without downtime, plus five follow-up questions with crisp answers"
url: "https://hashnode.com/posts/database-sharding-in-system-design-interviews-choosing-a-shard-key-avoiding-hotspots-and-the-follow-ups-interviewers-ask/6aebbdf3121539caac2e9601"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Database Sharding in System Design Interviews: Choosing a Shard Key, Avoiding Hotspots, and the Follow-ups Interviewers Ask](https://devinterviewmasterhq.hashnode.dev/database-sharding-in-system-design-interviews-choosing-a-shard-key-avoiding-hotspots-and-the-follow-ups-interviewers-ask?utm_source=hashnode&utm_medium=feed)

When to shard (and when not to), hash vs range vs directory sharding, celebrity hotspots, cross-shard queries, resharding without downtime, plus five follow-up questions with crisp answers

Nov 4 · 8 min read · devinterviewmasterhq.hashnode.dev  
Read the article

-   [#interview-preparation](https://hashnode.com/tag/interview-preparation)
-   [#databases](https://hashnode.com/tag/databases)
-   [#backend](https://hashnode.com/tag/backend)
-   [#system-design](https://hashnode.com/tag/system-design)

## Written by

[DevInterviewMaster](https://hashnode.com/@devinterviewmaster)

@devinterviewmaster

  
[View profile](https://hashnode.com/@devinterviewmaster)

AI tutor for tech interviews, in English or Hinglish

AI tutor for tech interviews, in English or Hinglish. https://devinterviewmaster.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
