Skip to content

Improve scaling documentation

Created by: slimsag

https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/scale.md

  • There is no mention of how to scale the symbols service. For ~12k repos we currently advise 4 symbols service replicas.
  • The number of searcher replicas suggested are too high: For ~12k repos we currently advise using 20 searchers, and the suggested amount for that would appear to be more than 20 because for 5k repos we suggest 20.
  • The number of gitserver replicas suggested are too high. For ~12k repos we currently advise using 6 gitservers, and the suggested amount for that would appear to be around ~15 because for 5k repos we suggest 8.

For sourcegraph/server:

  • Here’s another question. We have over 1000 projects. How well can Sourcegraph scale with a single instance? How long until my hardware no longer makes a difference? I currently have Sourcegraph running on an 8-core machine with 16 GB of RAM.