Skip to content

Commit

Permalink
Incorporated reviewer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cwarnermm committed Jan 10, 2025
1 parent 97f588e commit fa94eee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions source/configure/environment-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4197,7 +4197,7 @@ Redis cache backend
.. include:: ../_static/badges/ent-selfhosted.rst
:start-after: :nosearch:

From Mattermost v10.4, `Redis <https://redis.io/>`_ (Remote Dictionary Server) can be configured as an alternative cache backend for all Mattermost Enterprise customers. Redis is an open-source, in-memory data structure store that can be used as a database, cache, and message broker. It supports various data structures and is a top choice for its performance because its able to store data in memory and provide very quick data access.
From Mattermost v10.4, Mattermost Enterprise customers can configure `Redis <https://redis.io/>`_ (Remote Dictionary Server) as an alternative cache backend. Redis is an open-source, in-memory data structure store that can be used as a database, cache, and message broker. It supports various data structures and is a top choice for its performance because its able to store data in memory and provide very quick data access.

Using Redis as a caching solution can help ensure that Mattermost for enterprise-level deployments with high concurrency and large user bases remains performant and efficient, even under heavy usage.

Expand Down Expand Up @@ -4262,15 +4262,17 @@ Redis password
:systemconsole: N/A
:configjson: RedisDB
:environment: MM_CACHESETTINGS_REDISDB
:description: Specify the databse of the Redis host. Typically set to 0.
:description: Specify the databse of the Redis host. Zero-indexed number up to 15. Typically set to 0. Redis allows a maximum of 16 databases.

Redis database
^^^^^^^^^^^^^^

+-----------------------------------------------+---------------------------------------------------------------------------+
| The database of the Redis host. | - System Config path: **N/A** |
| | - ``config.json setting``: ``CacheSettings`` > ``RedisDB,`` |
| Typically set to ``0``. | - Environment variable: ``MM_CACHESETTINGS_REDISDB`` |
| Zero-indexed number up to 15. Typically set | - Environment variable: ``MM_CACHESETTINGS_REDISDB`` |
| to ``0``. Redis allows a maximum of 16 | |
| databases. | |
+-----------------------------------------------+---------------------------------------------------------------------------+

.. config:setting:: redis-cache-type
Expand Down
3 changes: 2 additions & 1 deletion source/scale/scale-to-100000-users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ This page describes the Mattermost reference architecture designed for the load
- **Database Configuration**: writer, multiple readers

.. note::
Usage of CPU, RAM, and storage space can vary significantly based on user behavior. These hardware recommendations are based on traditional deployments and may grow or shrink depending on how active your users are.
- Usage of CPU, RAM, and storage space can vary significantly based on user behavior. These hardware recommendations are based on traditional deployments and may grow or shrink depending on how active your users are.
- From Mattermost v10.4, Mattermost Enterprise customers can configure `Redis <https://redis.io/>`_ (Remote Dictionary Server) as an alternative cache backend. Using Redis can help ensure that Mattermost remains performant and efficient, even under heavy usage. See the :ref:`Redis cache backend <configure/environment-configuration-settings:redis cache backend>` configuration settings documentation for details.

Requirements
------------
Expand Down

0 comments on commit fa94eee

Please sign in to comment.