Skip to content

Scale Mattermost up to 80,000 users

import Inc0_lifetime_storage from './lifetime-storage.mdx'; import Inc1_estimated_storage_per_user_per_month from './estimated-storage-per-user-per-month.mdx'; import Inc2_additional_ha_considerations from './additional-ha-considerations.mdx';

This page describes the Mattermost reference architecture designed for the load of up to 80,000 concurrent users. Unsure which reference architecture to use? See the scaling for enterprise documentation for details.

  • High Availability: Required
  • Database Configuration: writer, multiple readers

  • 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.
  • While the following Elasticsearch specifications may be more than sufficient for some use cases, we have not extensively tested configurations with lower resource allocations for this user scale. If cost optimization is a priority, admins may choose to experiment with smaller configurations, but we recommend starting with the tested specifications to ensure system stability and performance. Keep in mind that under-provisioning can lead to degraded user experience and additional troubleshooting effort.

Requirements

Resource Type Nodes vCPU/Memory (GiB) AWS Instance Azure Instance
Mattermost Application 4 16/32 c7i.4xlarge F16s v2
RDS Writer 1 16/128 db.r7g.4xlarge E16ds v5
RDS Reader 3 16/128 db.r7g.4xlarge E16ds v5
Elasticsearch cluster 4 8/64 r6g.2xlarge.search E8ads v6
Proxy 1 16/64 m7i.4xlarge D16s v6

Lifetime storage

Estimated storage per user, per month

Example

A 80000-person team with medium usage (with a safety factor of 2x) would require between 10.56TB 1 and 52.8TB 2 of free space per annum.

1 80000 users * 5 MB * 12 months * 2x safety factor

2 80000 users * 25 MB * 12 months * 2x safety factor

We strongly recommend that you review storage utilization at least quarterly to ensure adequate free space is available.

Additional considerations