You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/deployment/cluster.rst
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ This documentation provides a deployment guide, configuration and compatibility
20
20
- `Mattermost Server <https://docs.mattermost.com/deployment/cluster.html#mattermost-server-configuration>`_ - Configure the cluster settings for the Mattermost application server.
21
21
- `Proxy Server <https://docs.mattermost.com/deployment/cluster.html#proxy-server-configuration>`_ - Configure NGINX or another load balancer to proxy servers in the cluster.
22
22
- `File Storage Location <https://docs.mattermost.com/deployment/cluster.html#file-storage-configuration>`_ - Configure the file storage location to be compatible with a high availability setup.
23
+
- `Rate Limiting <https://docs.mattermost.com/deployment/cluster.html#rate-limiting>`_ - Configure recommended rate limiting settings for a high availability setup.
23
24
- `Database <https://docs.mattermost.com/deployment/cluster.html#database-configuration>`_ - Size and deploy a multi-database configuration for high availability and scaling.
24
25
25
26
- `Troubleshooting <https://docs.mattermost.com/deployment/cluster.html#id14>`_ - **Advice on troubleshooting your high availability setup.**
@@ -146,6 +147,19 @@ If you’re using the Compliance Reports feature in Enterprise Edition E20, you
146
147
147
148
Migrating to NAS or S3 from local storage is beyond the scope of this document.
148
149
150
+
Rate Limiting Configuration
151
+
----------------------------------------
152
+
153
+
It is recommended to enable rate limiting with the following configuration settings:
154
+
155
+
- **Maximum Queries per Second**: 10
156
+
- **Maximum Burst Size**: 100
157
+
- **Memory Store Size**: Set to the number of users in the system
158
+
- **Vary rate limit by remote address**: Set to ``true`` if you're using a proxy
159
+
- **Vary rate limit by HTTP header**: Set to ``true`` if you're using a proxy
160
+
161
+
Please refer to our `Configuration Settings documentation <https://docs.mattermost.com/administration/config-settings.html#rate-limiting>`_ for more details on these settings.
162
+
149
163
Database Configuration
150
164
------------------------------------
151
165
Scaling the database can be accomplished by utilizing the read-replica feature. The Mattermost server can be set up to use one "master" database and up to 8 read replica databases. Mattermost distributes read requests across all databases, and sends write requests to the master database, and those changes are then sent to update the read replicas.
0 commit comments