Mattermost sizing: how reference architectures map to your user count
A team that has outgrown one Mattermost server should start from the published reference architectures, which cover deployments from 200 up to 200,000 concurrent users, and then validate the choice with a pilot on your own workload before buying hardware. The reference architectures are the starting map, not a guarantee. Confirm the current sizing tables and any figure you plan to rely on directly with Mattermost, because the reference pages are the authoritative source for node counts and specifications, and they change with server versions.
The layout follows from how Mattermost is built. It runs as a single Linux binary backed by PostgreSQL, so sizing is mainly a question of how many application nodes you run, how the PostgreSQL primary and any readers are provisioned, and where file storage lives. Clustering the application servers requires shared file storage on Amazon S3, an S3-compatible service or NAS mounted on every node, so storage design is part of the sizing decision, not an afterthought. Plan the proxy and load balancer tier at the same time, because redundant load balancers are part of the high availability design.
High availability, database read replicas and search replicas are Enterprise-tier features according to the Mattermost pricing page, so confirm your plan before you design around them. Ask Mattermost which reference architecture matches your concurrent user count, which components it assumes at that tier, and which plan covers each one. Then run a pilot with realistic message volume, file uploads and integrations, and measure database load and response times against the reference targets before committing to the production layout.
What changes as concurrent users grow
Application nodes run the Mattermost server and handle API requests, real-time connections and file uploads. Adding nodes is the usual response to growth in active sessions, because each node serves a share of connected clients. In a high availability cluster, nodes coordinate through the database and shared file storage, so every node must run the same server version and configuration. Redundant application servers are part of the high availability cluster documentation, and clustering is limited to the Enterprise and Enterprise Advanced plans.
- Connection counts: Each browser, desktop and mobile session holds connections to a node, so active sessions drive node count more than total accounts do.
- Version parity: All nodes must run the same server version, which turns each upgrade into a coordinated rolling change.
- Configuration consistency: Settings must match on every node. Confirm how your team distributes configuration changes and checks for drift.
- Redundancy: Keep at least one node beyond peak need so a failed node does not remove capacity during business hours.
- License scope: Clustering requires a qualifying plan, which affects the quote as much as the hardware does.
Ask for the node count and the version-control process the reference architecture assumes, then check both against a pilot load.
PostgreSQL is the single database behind Mattermost, and it is usually the first component to need planning beyond one server. Every post, edit, reaction and membership change is a write that goes to the primary database. Read-heavy activity, such as loading channels, search and API calls, can be spread across read replicas. Mattermost documents read and search replicas as a way to scale concurrent users and reduce latency, with reads distributed across replicas and writes sent to the primary. Replicas reduce read load on the primary but never remove the need to size the primary for writes.
- Primary writer: Sizing depends on write volume, storage speed and memory. Ask for the primary specification the reference architecture gives for your user band.
- Read replicas: They take read load off the primary. They are worth adding when read traffic, not write traffic, is the constraint.
- Replication lag: Replicas can return slightly older data. Decide how much delay users and integrations can tolerate.
- Connection totals: Each application node opens database connections, so total connections grow with node count. Plan pooling and connection limits together.
- Failover testing: High availability includes redundant database servers. Test promotion and recovery in the pilot, not during an incident.
Confirm the topology, replica settings and failover test steps before you commit to a database layout.
Search and proxies are the components that change shape most as usage grows. Smaller deployments can rely on database search, but heavy search traffic adds load to the same database that handles writes. Dedicated search nodes, such as Elasticsearch or OpenSearch, move that work to a separate service with its own sizing, licensing and patching. Load balancers sit in front of the application nodes, distribute requests and must be redundant in a high availability design. They also need to pass real-time traffic correctly, so the proxy configuration has to be verified, not assumed.
- Database search: Adequate while search load is light. Watch query time on the primary as volume rises.
- Dedicated search engine: Separate hosts, versions and maintenance windows. Sibling topics in this group cover the options.
- Search replicas: They isolate search queries from write and standard read traffic on the database.
- Redundant load balancers: Two or more proxies remove a single entry point. Confirm the vendor's proxy requirements in the high availability documentation.
- Health checks: Proxies should stop routing to unhealthy nodes. Confirm the health check path, timeouts and session handling during the pilot.
Before sizing search and proxies, confirm which search engine your team will operate and which load balancer product your platform team supports.
Every node in a high availability cluster needs the same file storage. Mattermost documents Amazon S3, an S3-compatible service or a NAS mounted on each node as the supported options. Local file system storage does not work correctly in a cluster and risks corrupting files, so it cannot be used for uploaded files in a clustered design. File capacity grows with uploads and retention, which makes storage a separate sizing exercise from compute. The storage option also affects latency, operations and backup scope, so the choice should be made before the pilot begins.
- Identical storage on every node: Each node reads and writes the same files, so every node must point at the same bucket or mount.
- No local disks for files: Local storage on a cluster node is the documented corruption risk. Keep it out of the design.
- Object or NAS trade-offs: S3, S3-compatible and NAS options differ in latency, operations and skills needed. Test the option you choose under pilot load.
- Growth modeling: Capacity follows upload volume and retention periods. Model both before purchasing.
- Backup scope: Shared file storage must be part of the backup and restore plan. Confirm how your team will capture it.
Confirm the storage option, mount or bucket layout and backup method with your storage team before the cluster is built.
How the application, database, search and proxy tiers connect
This illustrative diagram starts with users reaching a pair of redundant load balancers, which pass requests to several Mattermost application nodes. Those nodes share file storage on S3, an S3-compatible service or NAS, and send all writes to the primary PostgreSQL database while distributing reads across read replicas. Search queries go to search replicas or a search service. Check that every node mounts the same shared storage, that writes never target a replica, and that the proxy tier is redundant too, since Mattermost high availability depends on all three tiers being redundant.
Illustrative component view of request, storage, database and search paths in a clustered deployment.
Which sizing path fits which situation
This table compares the main sizing paths for a Mattermost deployment, from a single server to clustered, replicated and containerized setups. Read each row against your user count, your availability target and your plan tier, since high availability and FIPS require Enterprise and air-gapped deployment requires Enterprise Advanced. The main takeaway is that most organizations should choose the simplest path that meets their availability and compliance needs, then confirm the choice with a pilot.
| Sizing path | When it fits | Main trade-off | Plan tier to confirm |
|---|---|---|---|
| Single server, no high availability | Smaller teams where a planned maintenance window and a restore from backup are acceptable | One application node and one database means any failure stops messaging until recovery | Professional or Enterprise, depending on SSO and compliance needs |
| Clustered application servers with redundant database and load balancers | Larger user bases or uptime requirements that a single node cannot meet | Shared file storage, a redundant database and load balancing add build and operating effort | Enterprise or Enterprise Advanced for high availability clustering |
| Adding database read replicas | Read-heavy load that the primary database is struggling to serve | Replication lag and replica configuration must be monitored, and writes still go to the primary | Confirm availability on your plan with Mattermost sales |
| Adding search replicas or a dedicated search service | Search queries that compete with normal traffic or search volume that database search cannot handle | Another service to size, secure, back up and upgrade, with licensing to confirm | Confirm against the Mattermost enterprise search guidance |
| Linux or containers on virtual machines | Teams that run standard server operations and want direct control of the binary and PostgreSQL | Node count, patching and proxy configuration are handled by your team | Available on any plan that supports your architecture |
| Kubernetes | Organizations that already operate clusters and standardize delivery through them | Requires cluster skills, persistent storage planning and a tested upgrade path | Confirm which Enterprise features your chosen deployment method supports |
| Air-gapped or compliance-framework deployment | Networks without internet access or frameworks that require FIPS-compliant builds | Offline updates, image mirroring and evidence collection take additional planning | Enterprise Advanced for air-gapped deployment, Enterprise for FIPS 140-3 compliance |
How to size a Mattermost deployment from the reference architecture
This sequence takes a team from an estimate of concurrent users to a load-tested Mattermost layout with defined application, database, search and proxy roles, so the production build rests on evidence rather than guesswork.
Confirm concurrent users and usage profile
Work with the business owner and IT lead to establish how many users will be active at the same time, not just how many accounts exist. Record the expected messaging, file sharing, integration and call activity, and note any peak periods such as shift changes or incident response. Ask Mattermost or your partner to confirm which reference architecture band your figure falls into. This step is done when you have a written concurrent-user number with its usage assumptions, signed off by the people who will own the service.
Select the matching reference architecture
Using the concurrent-user figure, identify the published reference architecture that covers your band, from 200 up to 200,000 concurrent users. Read the sizing tables in the current Mattermost deployment planning documentation for the server version you intend to run, since sizing guidance can change between releases. Check that the architecture lists the application node count, database writer and reader layout, search nodes and proxy components you will need. This step is done when the chosen band and its component list are recorded in the design document.
Confirm plan tier and high availability needs
Mattermost high availability is documented as available only on the Enterprise and Enterprise Advanced plans, so confirm the tier before drawing the architecture. High availability requires redundant application servers, redundant database servers and redundant load balancers. Decide whether an outage window is acceptable for your users and whether a single-node build is enough at your scale. Confirm the plan with Mattermost sales, because pricing is not published and quotes depend on seat counts. This step is done when the plan and availability target are written down and approved.
Choose shared file storage for every node
A high availability cluster needs shared file storage that every application node mounts, either Amazon S3, an S3-compatible service or NAS. Local file system storage is documented as unsuitable for clustering and risks file corruption, so it cannot be used as a substitute. Confirm with your storage team the throughput, latency and capacity the chosen service will deliver, and review growth expectations for uploaded files. This step is done when the shared storage target is provisioned or contracted and a test node can read and write to it.
Map application, database, search and proxy roles
Assign each component in the reference architecture to a concrete host or service: application nodes, the primary PostgreSQL database that receives writes, read replicas that serve reads, search nodes if database search is no longer enough, and the load balancers or proxies that front the application. Document the network paths between them and the ports each role must reach. Record the replica and search configuration you plan to enable, since Mattermost documents that reads are distributed across replicas while writes go to the primary. This step is done when a role diagram exists and every component has an owner and a host.
Pick the deployment platform
Choose how the roles will run: Kubernetes, Linux servers or containers. Mattermost documents deployment on all three, and the choice affects how nodes are added, patched and recovered. Confirm that your platform team can operate the choice, and check the Mattermost deployment planning guidance for any requirements specific to your environment, including air-gapped or compliance-framework starting points if they apply. This step is done when the platform is selected, its build standard is documented, and the team responsible for day-two operation has accepted it.
Build a pilot environment
Stand up a pilot that mirrors the chosen architecture at a smaller scale, using the same plan tier, shared storage type, database layout and proxy configuration as production. Install the server version you intend to run, connect the database writer and readers, and verify that a clean login, message post and file upload succeed through the load balancer. Confirm that writes reach the primary database and that read traffic reaches the replicas, using the database and Mattermost monitoring you have enabled. This step is done when those routing checks pass and the pilot configuration matches the production design.
Load test against expected usage and review results
Run a load test that simulates the concurrent-user profile from the first step, including messaging, file uploads, search and integration traffic. Measure response times, database load on the primary and replicas, application node resource use and storage throughput. Compare the results to the sizing you selected and note where any component approaches its limit. Share the findings with the business and platform owners and decide whether the production layout needs more nodes, replicas or search capacity. This step is done when a written load test report is approved and the production build list reflects its findings.
Why a pilot comes before you buy the production layout
A reference architecture is a starting point, not a measured answer for your users. A short pilot on the same platform choices you plan to run in production shows whether the sizing holds, and it gives your team a rehearsal of the operations that matter most after go-live.
Real concurrency and peak behavior
Reference architectures are written around concurrent users, but your peak comes from your work patterns: morning log-ins, shift changes, incident channels and bot traffic. Replay a realistic load profile from your own user base against the planned application nodes and proxies. Record CPU, memory, database connections and response times at peak, not only the average. Confirm the load-test method and the metrics to watch with Mattermost before you treat the results as sizing evidence.
File storage throughput on the chosen backend
A high availability cluster needs shared storage on Amazon S3, an S3-compatible service or NAS mounted on every node, and local file system storage will not work correctly. Measure upload and download throughput on the exact backend you intend to buy, under concurrent use from several nodes. Include file sizes your users really share, since large attachments stress storage differently from text posts. Confirm the supported configuration in the high availability documentation before you commit to hardware.
High availability docsDatabase read distribution
Mattermost sends writes to the primary database and can distribute reads across read replicas. A pilot should show how much read traffic actually moves to replicas and whether the primary still carries the write load at peak. Watch replication lag during busy periods, because a lagging replica changes what users see. Check the replica count and connection settings that your chosen architecture expects before you size the production writer and readers.
Search behavior with realistic post volume
Database search can behave well with a small history and poorly with years of posts. Load a copy of your realistic post volume, including long-running channels and heavy file attachments, then run the search queries your users will use every day. Time the results and note whether search traffic affects the rest of the deployment. This pilot result tells you whether the search nodes in a reference architecture are needed now or later.
Upgrade rehearsal on the release cadence
Mattermost releases server versions in binary form on the 16th of each month, and Extended Support Releases follow a longer support window. Practice a full upgrade on the pilot cluster, including database migrations, config changes and plugin compatibility, before the production date is set. Record how long the upgrade takes and what breaks. Choose the cadence you will run in production based on the support end dates of each release, and confirm the current schedule on the releases page.
Server releases pageQuestions buyers ask before sizing Mattermost
How much does a Mattermost sizing exercise cost?
Cost depends on the scope of the sizing work, the number of environments, the length of the pilot and the Mattermost plan tier you need. A sizing exercise covers collecting user counts, concurrency and usage patterns, mapping them to a reference architecture, and documenting the servers, database, proxy and storage that result. Who is paid for what matters: a partner charges for analysis and documentation, while Mattermost licensing is a separate prepaid annual subscription based on seat licenses, and its pricing page lists no public prices. Ask for a written quote that separates the sizing work, any pilot build, and infrastructure you will buy yourself. DeployOpen does not publish a price list, so a quote follows from the written scope.
How long do a Mattermost pilot and production build take?
Duration is set by the number of environments, the size of the target user base, how much integration and identity work is included, and how quickly your team can provide servers, storage and approvals. A pilot is usually a smaller build that tests the chosen architecture with real usage patterns before production is sized. Production adds high availability components, shared file storage, backups and monitoring, each of which depends on infrastructure lead times. No duration is fixed here. Ask for a timeline in the written scope with milestones for pilot exit criteria and production cutover, and confirm which dependencies sit with your team.
What does the work need from our team?
Most of the effort falls on your infrastructure, identity and change control teams, so plan for their time before the build starts. The work typically needs:
- Network design and firewall rules between application nodes, database, search, proxies and users
- Shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node
- Identity provider access for SSO and user sync, such as SAML or AD/LDAP settings
- Change windows, approvals and a named owner for each production change
High availability clustering is available only on the Enterprise and Enterprise Advanced plans, so confirm your plan tier early because it determines which architecture is allowed.
Can our internal team size Mattermost without outside help?
Yes, a capable platform or infrastructure team can size Mattermost using the published reference architectures, provided it has time to test and the skills to run PostgreSQL, Linux, load balancing and shared storage. The harder part is validating assumptions: peak concurrency, message volume, file uploads and integration traffic often differ from estimates. An internal team should run a pilot that measures these values before committing to hardware. A partner can add an outside review of the architecture, a documented build sequence and a second set of eyes on failure modes. Decide based on your team's capacity over the pilot period and who will own the platform afterward.
Do Mattermost reference architectures change between releases?
Reference architectures can change as the server changes, so check them against the release you plan to deploy. Mattermost ships a new server version in binary form on the 16th of each month, and it publishes Extended Support Releases with defined support windows. The current Extended Support Release is v11.7, supported until 2027-05-15, and v10.11 reached end of life on 2026-08-15. Because support ends on fixed dates, size for the version you will run for the whole planning horizon and schedule upgrades before end of support. Confirm the architecture guidance for your chosen release in the Mattermost server deployment planning docs before finalizing hardware.
Which mistakes in sizing cause the most production trouble?
The most common problems come from undersized databases, local file storage in a cluster, and skipped load testing. A database with too little memory or I/O becomes the bottleneck long before application nodes are busy. A high availability cluster will not work correctly with local file storage and risks corrupting files, so shared storage must be in the design from the start. Teams also size only for average users and miss peak concurrency during meetings or incident response. Ask any partner to show how they measured peak load in the pilot and which metrics will trigger adding a read replica, search node or application node.
Does a sizing engagement include security and compliance requirements?
Sizing decisions affect security and compliance because they determine where data sits, how it is replicated and which plan features you need. For example, FIPS 140-3 compliance and air-gapped deployment are available in specific Mattermost plan tiers, so those requirements can change the architecture and the subscription you buy. Records, retention and legal hold needs also affect storage growth. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications; independent auditors and certification bodies do that work. Confirm which controls your assessor will review and include them in the written scope.
What to ask Mattermost and your partner before committing
Start with the reference architecture question, because every other cost follows from it. Ask Mattermost which published reference architecture matches your peak concurrent users, your message volume and your growth over the next budget cycle, and ask them to state in writing which node counts, database sizing and search tier they assume. Then ask the same question of any implementation partner, and compare their answer with the documented architecture for your user band. If the two differ, ask why. A partner who cannot explain the gap is not yet working from your numbers.
Next, confirm the license tier against the architecture you chose. Mattermost's pricing page places high availability clustering in the Enterprise plan and above, and it places FIPS 140-3 compliance and air-gapped deployment in higher tiers, so confirm which plan includes the redundant application servers, database readers and search replicas you need. Confirm also whether the seat count in the quote covers your full user population or only active users, how seat licenses are true-ended at renewal, and whether the subscription is prepaid annually. Ask your partner to list which setup work is one-time (cluster build, load testing, cutover) and which recurs (patching, upgrades, monitoring, support), so the quote separates those costs cleanly.
Finally, require a written pilot plan with measurable exit criteria before any production commitment. The pilot should load a realistic share of your target users, run your own message, file and search patterns, and record latency, database connection use, search response times and storage growth at peak. Ask who runs the load generator, where results are stored and what counts as a pass. Make the quote a fixed-scope document built from that pilot: the scope, deliverables, environments, acceptance tests and timeline should be agreed in writing before work starts, and any change to the architecture should trigger a revised quote, not an informal expansion.
How DeployOpen delivers Mattermost sizing and high availability
DeployOpen starts Mattermost sizing from your user numbers, usage profile and availability requirements, then maps them to the published reference architectures before any server is ordered. We build and test the chosen design inside your own infrastructure, so your team can review every node, database role and storage path before production users arrive.
How we scope
- We confirm concurrent user counts, peak usage, regions and availability targets before choosing a reference architecture.
- The written scope lists application nodes, database writer and reader roles, search and proxy components, and the infrastructure each one runs on.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and a quote follows from that scope.
How we build
- We deploy a pilot environment in your cloud account, data center or air-gapped network to measure real load against the sizing assumptions.
- High availability builds include shared file storage on S3, an S3-compatible service or NAS mounted on every application node.
- Load tests, failover tests and database replica checks run against the pilot before the production sizing is approved.
How we hand over
- Handover documents the sizing decision, server specifications, database topology and the assumptions behind each node count.
- Runbooks cover scaling triggers, replica routing, failover steps and the monitoring signals your operations team should watch.
- Your team receives a configuration baseline, with the Enterprise or Enterprise Advanced plan requirements confirmed in writing.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainer work can cover re-sizing as user counts grow, reviewing planned release upgrades and retesting failover after changes.
- Ask any partner to confirm which Mattermost version and support window their design targets before signing a retainer.

