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
258b381f
Commit
258b381f
authored
Nov 10, 2020
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Redis LRU cache to reference architectures
parent
11a03556
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
doc/administration/reference_architectures/10k_users.md
doc/administration/reference_architectures/10k_users.md
+12
-0
doc/administration/reference_architectures/25k_users.md
doc/administration/reference_architectures/25k_users.md
+13
-1
doc/administration/reference_architectures/50k_users.md
doc/administration/reference_architectures/50k_users.md
+12
-0
No files found.
doc/administration/reference_architectures/10k_users.md
View file @
258b381f
...
...
@@ -836,6 +836,12 @@ a node and change its status from primary to replica (and vice versa).
# Set up password authentication for Redis (use the same password in all nodes).
redis
[
'password'
]
=
'REDIS_PRIMARY_PASSWORD_OF_FIRST_CLUSTER'
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
@@ -897,6 +903,12 @@ You can specify multiple roles, like sentinel and Redis, as:
# to `6379`.
#redis['master_port'] = 6379
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
doc/administration/reference_architectures/25k_users.md
View file @
258b381f
...
...
@@ -836,6 +836,12 @@ a node and change its status from primary to replica (and vice versa).
# Set up password authentication for Redis (use the same password in all nodes).
redis
[
'password'
]
=
'REDIS_PRIMARY_PASSWORD_OF_FIRST_CLUSTER'
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
@@ -897,6 +903,12 @@ You can specify multiple roles, like sentinel and Redis, as:
# to `6379`.
#redis['master_port'] = 6379
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
@@ -1225,7 +1237,7 @@ To configure the Sentinel Queues server:
1.
SSH in to the server that will host Sentinel.
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to both follow _only_ installation steps 1 and 2
on the page, and to select the correct Omnibus package, with the same version
on the page, and to select the correct Omnibus
GitLab
package, with the same version
and type (Community or Enterprise editions) as your current install.
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
...
...
doc/administration/reference_architectures/50k_users.md
View file @
258b381f
...
...
@@ -836,6 +836,12 @@ a node and change its status from primary to replica (and vice versa).
# Set up password authentication for Redis (use the same password in all nodes).
redis
[
'password'
]
=
'REDIS_PRIMARY_PASSWORD_OF_FIRST_CLUSTER'
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
@@ -897,6 +903,12 @@ You can specify multiple roles, like sentinel and Redis, as:
# to `6379`.
#redis['master_port'] = 6379
# Set the Redis Cache instance as an LRU
# 90% of available RAM in MB
redis
[
'maxmemory'
]
=
'13500mb'
redis
[
'maxmemory_policy'
]
=
"allkeys-lru"
redis
[
'maxmemory_samples'
]
=
5
## Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
...
...
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