image

The best option here is A: Shard the search database horizontally.

Why Each Looks Tempting at First

The Failure Modes

Why Horizontal Scaling Wins:

  1. Distributes queries across multiple nodes → no single bottleneck.
  2. Scales linearly with traffic growth.
  3. Handles unpredictable spikes better than vertical scaling.
  4. Proven design: Elasticsearch, Solr, and most large search systems rely on sharding.

Trade-Offs to Keep in Mind

Sharding isn’t the easy choice. But it’s the only choice that scales search reliably past the first traffic spike.