Sourcegraph Resource Estimator
Updating the form below will recalculate an estimate for the resources you can use to configure your Sourcegraph deployment.
Additional information
Limitations
- The estimator does not support instances with more than 50,000 users or 5,000,000 repositories.
How to update a resource in your deployment?
- For docker-compose deployments, edit your docker-compose.yml file and set
cpus
andmem_limit
to the limits shown above - For Helm deployments, create an override file (or update your existing override file) with the new values shown above
- For non-Helm Kubernetes deployments, we recommend using Kustomize to generate manifests with the values shown above. Please refer to our Kustomize overlay for resources update for detail
What is engagement rate?
(Deprecated) Engagement rate refers to the percentage of users who use Sourcegraph regularly. It is generally used for existing deployments to estimate resources.
If you plan to enforce repository permissions on Sourcegraph
Repository permissions on Sourcegraph can have a noticeable impact on search performance if you have a large number of users and/or repositories on your code host. We suggest setting your authorization ttl values as high as you are comfortable setting it in order to reduce the chance of this (e.g. to 72h) in the repository permission configuration.
What kind of data can be regenerated without backup?
See our docs on Persistent data backup in Kubernetes for more detail.
How does Sourcegraph scale?
Click here to learn more about how each Sourcegraph service scales.