Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Fix replica count and links
Browse files Browse the repository at this point in the history
Fix the number of replicas + link to the actual gitserver deployment + point to S2 instead of sourcegraph.com
  • Loading branch information
rafax authored Nov 16, 2023
1 parent 04b2bee commit b8a70c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ One repository-related responsibility _not_ handled by gitserver is the scheduli

### Production instances

There are currently [20 gitserver instances](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph-cloud@ec7effbc9491e3ee0c77c3d70ac3f2eb8cb34837/-/blob/base/frontend/sourcegraph-frontend.Deployment.yaml?L104-105) in production on Sourcegraph Cloud. This is a static list made available via the `SRC_GIT_SERVERS` environment variable.
There are currently [10 gitserver instances](https://sourcegraph.sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph-cloud@HEAD/-/blob/base/gitserver/gitserver.StatefulSet.yaml?L14) in production on sourcegraph.com.

At the moment, we shard repositories across gitserver instances using a [modular hashing strategy](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@737e98fe5a1c329fd2b8f1366f931941042b5671/-/blob/internal/gitserver/client.go?L118-124) based on the repository name. This is the responsibility of the [gitserver client](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@737e98fe5a1c329fd2b8f1366f931941042b5671/-/blob/internal/gitserver/client.go).

Expand Down

0 comments on commit b8a70c2

Please sign in to comment.