1. Partitioning & Sharding advanced Multiple choice

    A collaboration product is sharding its database. Options are hash of message ID, hash of user ID, or workspace ID. Which and why?

    2 min answer shardingslackboundariesisolation
  2. Partitioning & Sharding intermediate Multiple choice

    A marketplace's product database has become the bottleneck for a read-heavy workload. The team proposes sharding immediately. What lower-complexity options should be exhausted first, and in what order?

    2 min answer meeshoshardingread-heavyoptimisation
  3. Partitioning & Sharding advanced

    A messaging platform stores messages partitioned by channel identifier. Some channels are enormously more active than others. Fix the partitioning.

    2 min answer discordpartitioningskewcompound-key
  4. Partitioning & Sharding advanced

    A multi-tenant SaaS platform runs thousands of tenants on a shared relational database, but a handful of tenants now hold most of the data. Should it use shared tables, tenant partitioning, dedicated databases, sharding or a hybrid?

    2 min answer freshworksmulti-tenancyisolationsharding
  5. Partitioning & Sharding advanced

    A workspace product stores every document as a tree of small "block" rows in one enormous table. Growth makes the table unmanageable. Design the sharding strategy - and identify the choice that is effectively irreversible.

    2 min answer shardingshard-keyworkspacesnotion
  6. Partitioning & Sharding advanced

    Your geospatial data is partitioned by city. One city generates 40% of all traffic. What are your options?

    2 min answer uberskewpartitioningscaling