1. Indexing advanced

    A search platform receives continuous document updates while users expect newly published content to appear quickly. How should indexing pipelines, replicas, refresh intervals, cache invalidation and query serving be separated?

    2 min answer elasticsearchfreshnessrefresh
  2. Indexing advanced

    A source-code platform must make code across millions of repositories searchable, where repositories differ enormously in size and activity. Which indexing decisions dominate, and what makes this different from indexing documents?

    2 min answer indexingsearchcode-searchgithub
  3. Indexing advanced

    Prices change continuously based on demand and dates. Search must filter and sort by price over millions of listings. How?

    2 min answer airbnbsearchprecomputationpricing
  4. NoSQL Stores advanced

    A chat platform stores billions of messages in a wide-column database and hits severe tail-latency problems on hot partitions during large-community activity. Analyse why the storage choice is right but the partitioning is wrong, and what the fix looks like.

    2 min answer nosqlwide-columnpartitioningtail-latency
  5. NoSQL Stores advanced

    A professional network computes "people you may know" from the connection graph. Some accounts have hundreds of thousands of connections. What breaks?

    2 min answer linkedingraphskewtraversal
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. Polyglot Persistence advanced

    A delivery platform migrated parts of its data estate to CockroachDB and other parts to Aurora. What evidence distinguishes workloads that justify a distributed SQL database from those better served by a single-writer managed Postgres?

    2 min answer doordashcockroachdbauroradistributed-sql
  12. Polyglot Persistence advanced

    A trading platform is considering a relational database, a key-value store, a time-series store and a search engine. What justifies each, and what is the cost of running four?

    2 min answer zerodhapolyglotdatastore-selectionoperations