Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bab2d757
Commit
bab2d757
authored
Feb 11, 2022
by
Evan Read
Committed by
Russell Dickenson
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide information on latency for Gitaly Cluster
parent
32a93d55
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
+23
-7
doc/administration/gitaly/faq.md
doc/administration/gitaly/faq.md
+4
-4
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+19
-3
No files found.
doc/administration/gitaly/faq.md
View file @
bab2d757
...
...
@@ -24,8 +24,8 @@ Gitaly Cluster and [Geo](../geo/index.md) both provide redundancy. However the r
The following table outlines the major differences between Gitaly Cluster and Geo:
| Tool | Nodes | Locations | Latency tolerance | Failover | Consistency | Provides redundancy for |
|:---------------|:---------|:----------|:-------------------
|:----------------------------------------------------------------------------|:---
--------------------------------------|:------------------------|
| Gitaly Cluster | Multiple | Single |
Approximately 1 ms |
[
Automatic
](
praefect.md#automatic-failover-and-primary-election-strategies
)
|
[
Strong
](
index.md#strong-consistency
)
| Data storage in Git |
|:---------------|:---------|:----------|:-------------------
-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------|:
--------------------------------------|:------------------------|
| Gitaly Cluster | Multiple | Single |
[
Less than 1 second, ideally single-digit milliseconds
](
praefect.md#network-latency-and-connectivity
)
|
[
Automatic
](
praefect.md#automatic-failover-and-primary-election-strategies
)
|
[
Strong
](
index.md#strong-consistency
)
| Data storage in Git |
| Geo | Multiple | Multiple | Up to one minute |
[
Manual
](
../geo/disaster_recovery/index.md
)
| Eventual | Entire GitLab instance |
For more information, see:
...
...
doc/administration/gitaly/praefect.md
View file @
bab2d757
...
...
@@ -39,10 +39,26 @@ NOTE:
If not set in GitLab, feature flags are read as false from the console and Praefect uses their
default value. The default value depends on the GitLab version.
### Network connectivity
### Network
latency and
connectivity
Gitaly Cluster
[
components
](
index.md#components
)
need to communicate with each other over many
routes. Your firewall rules must allow the following for Gitaly Cluster to function properly:
Network latency for Gitaly Cluster should ideally be measurable in single-digit milliseconds. Latency is particularly
important for:
-
Gitaly node health checks. Nodes must be able to respond within 1 second.
-
Reference transactions that enforce
[
strong consistency
](
index.md#strong-consistency
)
. Lower latencies mean Gitaly
nodes can agree on changes faster.
Achieving acceptable latency between Gitaly nodes:
-
On physical networks generally means high bandwidth, single location connections.
-
On the cloud generally means within the same region, including allowing cross availability zone replication. These links
are designed for this type of synchronization. Latency of less than 2ms should be sufficient for Gitaly Cluster.
If you can't provide low network latencies for replication (for example, between distant locations), consider Geo. For
more information, see
[
How does Gitaly Cluster compare to Geo
](
faq.md#how-does-gitaly-cluster-compare-to-geo
)
.
Gitaly Cluster
[
components
](
index.md#components
)
communicate with each other over many routes. Your firewall rules must
allow the following for Gitaly Cluster to function properly:
| From | To | Default port | TLS port |
|:-----------------------|:-----------------------|:-------------|:---------|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment