Scaling Matrix beyond community Synapse with Synapse Pro

Synapse Pro and ESS Pro are Element's commercial route for scaling a Matrix homeserver. This page explains what they add over community Synapse workers and how to compare the two.

On this page

Scaling Matrix beyond community Synapse with Synapse Pro: when the hand-tuned route runs out

An operator whose Synapse still runs as one process, or whose hand-built worker layout has become hard to maintain, faces a choice the Matrix ecosystem makes explicit: keep tuning community Synapse with workers, or move to Element's commercial route, which pairs Synapse Pro with Element Server Suite (ESS) Pro. Both paths can serve large deployments. The decision turns on who will carry the operating burden, how much of that burden you want to keep in-house, and whether your licensing position allows you to run the AGPL-3.0 code as you plan to. Before comparing them, confirm the current state of each option directly with Element, since this page does not publish Synapse Pro pricing or feature lists beyond what the public sources support.

Matrix.org lists several homeserver implementations, including Synapse, Dendrite, Conduit and its Rust forks, and Element's commercial Synapse Pro. Synapse is the most widely documented of these and is developed by Element under AGPL-3.0-or-later. Element also sells commercial licenses that grant exceptions to the AGPL terms. On December 13, 2023, Element announced that future Synapse contributions would be licensed under AGPLv3 instead of Apache 2.0, moved the repositories from matrix-org to element-hq, and began selling those AGPL exceptions, with contributors signing a CLA. Legal and procurement teams should read the current license text and the Synapse now lives at element-hq announcement before assuming that a community deployment and a commercial deployment carry the same obligations.

For the scaling decision itself, ask Element for a written description of what Synapse Pro and ESS Pro provide for autoscaling and multi-tenancy, which components are deployed and operated by Element tooling, and what you would still own: worker topology, PostgreSQL, Redis, monitoring and upgrades. Then price your own side of the comparison, including the staff time spent on worker routing and the upgrade work described in Synapse upgrading notes. A quote from a partner should follow from that written scope, and the scope should say which work stays with your team under each option.

Comparing ESS Pro, Synapse Pro and community Synapse

Community Synapse is the AGPL-3.0 distribution of the Synapse homeserver, developed by Element and published on the Element-maintained GitHub project. You get the full worker model: the main process, generic workers, stream writers and Redis replication, all configured by your team. Element does not run this deployment for you, so every scaling decision, routing rule and upgrade is an operator task. The work is recurring because each Synapse release must be read and applied against your topology.

  • Vendor provides: the open-source server code, public documentation for workers, federation and configuration, and community channels.
  • You own: worker layout, Redis, PostgreSQL sizing, reverse proxy routing, monitoring, backups and every upgrade.
  • Upgrade risk: the upgrade notes warn that rolling back can be difficult because of schema changes, so test each release in a staging copy first.
  • Identity: SSO runs through the OIDC, SAML2 or CAS options in the configuration manual, or through Matrix Authentication Service.
  • Confirm: which support, if any, you need from a commercial partner, since community Synapse carries no vendor SLA.

Before choosing this route, confirm that your team can operate the worker topology and the upgrade cycle without a dedicated owner.

Which scaling route fits which situation

This table compares community Synapse with hand-built workers, Synapse Pro under a commercial license, and ESS Pro on Kubernetes across who runs the scaling layer, licensing, deployment target and in-house burden. Read each row as a question to answer for your organization, and treat items marked as questions to confirm as open until Element or a partner gives a written answer.

Decision factorCommunity Synapse workersSynapse Pro (commercial license)ESS Pro on Kubernetes
Who runs the scaling layerYour team designs, configures and maintains every worker, Redis and routing ruleYour team runs Synapse Pro, with the licensed edition supplied by ElementElement Server Suite deploys the scaling layer through Helm charts, with your team operating the cluster
Licensing modelSynapse is licensed under AGPL-3.0, with no commercial license needed for community useCommercial licenses are available from Element as an alternative to AGPL-3.0 termsESS Pro is sold for professional and government use; confirm the exact license terms in writing with Element
Support modelCommunity support and your own internal expertise; confirm any paid support options directlyVendor support terms to confirm with Element before purchaseVendor support terms to confirm with Element, including what is covered for Helm chart upgrades
Deployment targetAny environment you can configure, with Redis and PostgreSQL alongside SynapseConfirm which deployment methods Element supports for Synapse Pro outside ESSKubernetes with Helm charts in infrastructure you control
Operational burden kept in-houseHigh: worker types, stream writers, routing maps and replication are all hand-tunedConfirm with Element which tuning and upgrade work stays with your teamLower for scaling configuration, but Kubernetes, storage and database operations remain yours
Upgrade and rollback responsibilityYour team reads every upgrade note and plans for schema changes that make rollback difficultConfirm how Element handles upgrade notes and rollback support for licensed releasesConfirm how chart versions map to Synapse releases and who tests them
When it fitsSmall to mid-sized deployments with a team that already runs PostgreSQL, Redis and Synapse internalsOrganizations that need commercial licensing terms and are comfortable running Synapse with a vendor agreementProfessional or government deployments that already run Kubernetes and want vendor-packaged scaling and identity components
Main question to confirmWhich worker layout your traffic pattern needs before adding more processesWhether the commercial license alone changes any scaling capability, or only the termsWhether ESS Pro autoscaling and multi-tenancy meet your tenant model and your Kubernetes platform rules

How the scaled Synapse pieces connect

The flow starts with clients and federated servers reaching a reverse proxy on the public edge. The proxy hands each request to a generic worker or a specialized worker inside the private worker network, and every process exchanges replication events through Redis. The main process, workers and federation listener all share one PostgreSQL database in the data tier. Check that the federation listener sits behind a firewall boundary, that the replication path stays private, and that each route you send through the proxy has a matching worker.

Edge, worker network and data tier, with Redis carrying replication between processes.

How to evaluate and move to a commercial scaling route

This sequence tests whether a commercial Synapse route is justified by measured load, then moves configuration, database and identity onto it with a staged cutover and monitoring that show the result is holding.

  1. Measure current load and bottlenecks

    The Synapse operator collects a baseline before any purchasing conversation: CPU and memory per process, PostgreSQL load and connection counts, Redis latency, request latency for /sync and event sending, and federation queue depth. Record peak hours and the rooms that drive the most traffic. The step is complete when the team can name the specific process or database that limits throughput, supported by a dated set of graphs rather than impressions. Without this record, a commercial route cannot be compared with a tuned community setup.

  2. Confirm which worker types are already needed

    Using the baseline, the platform team checks whether the bottleneck can be removed with community workers, such as generic workers for client and federation traffic, dedicated stream writers, or separate federation sender and pusher processes. Each worker type is tied to a measured symptom. The output is a short list of workers already in place or still missing, with the expected effect of each. If the bottleneck is solved by community workers, the commercial route may not be needed yet.

  3. Get written scope from Element

    Ask Element, in writing, which features are included in Synapse Pro or ESS Pro for autoscaling, multi-tenancy, support terms, upgrade handling and the packaged Kubernetes deployment. Request the license terms that apply to your use, including the AGPL position for any modifications you run. The step closes when the vendor's written statement lists each capability you depend on, with the version it applies to. Treat verbal claims about autoscaling or tenancy as unconfirmed until they appear in that document.

  4. Check platform prerequisites before migration

    Verify the target Synapse version against its platform floors. Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. Confirm the operating system, container runtime or Kubernetes version against the ESS requirements in the vendor documentation. Check that the current database is on a supported major version and that a recent, tested backup exists. The step is complete when every prerequisite is confirmed in the target environment, not only in the plan.

  5. Plan configuration, database and identity migration

    Map the existing homeserver.yaml, worker configuration, reverse proxy routing and replication secrets to the target deployment, noting which settings the commercial packaging manages itself. Plan the database path on the same PostgreSQL instance or a new one, including schema upgrade order. For sign-in, decide whether Matrix Authentication Service will front an upstream identity provider such as Keycloak, Microsoft Entra ID, Google or Authentik. SAML sources need a bridge such as Dex because MAS does not support SAML directly. The output is a runbook with each config key mapped to its new location.

  6. Run a staged cutover with rollback limits

    Rehearse the upgrade on a copy of production data, then cut over in stages, starting with a non-production or limited user group if the environment allows. Read the upgrade notes for every version crossed, since the notes warn that rolling back can be difficult because of database schema changes. Decide before cutover what the rollback point is, and whether it is a restore from backup rather than a downgrade. The step closes when the rehearsal completes with recorded timings and the rollback decision is signed off by the owner.

  7. Verify with monitoring and compare against the baseline

    After cutover, repeat the measurements from the first step under similar load and compare them with the baseline. Check /sync latency, event persistence lag, federation queue depth, database connection use and error rates per worker. Confirm that federation and media behave as expected from an external host, and that sign-in through MAS and the upstream provider works for new and existing accounts. The step is complete when the comparison is written down, the alerts are active, and the team has agreed which metrics would trigger a rollback.

Security and operations that stay with you under either route

Moving to Synapse Pro or ESS Pro changes who packages, scales and automates the homeserver. It does not change who decides which domains can federate, which listeners are reachable, how identity is trusted and when an upgrade is safe. The cards below cover the controls that remain your responsibility under either route.

Restrict federation to named domains

The federation_domain_whitelist setting limits federation to the domains you list, and an empty list disables federation entirely. Treat it as a policy decision made before go-live, not a default to revisit later. The Synapse docs also recommend firewalling the federation listener, so the allowlist and the network rule should agree. Check both after every change to the reverse proxy or the ESS values file, since a rebuilt ingress can quietly re-expose port 8448.

Configuration manual

Keep the replication listener private

Worker replication runs over a listener that must never be reachable from clients, federation peers or the public internet. Whether you run community Synapse or ESS, confirm that the replication port is bound to a private network and that only the main process and its workers can reach it. Verify this from outside the cluster with a port scan, not only from the configuration file, because container networking and Kubernetes services often expose more than the config intends.

Route identity through MAS and upstream OIDC

Matrix Authentication Service sits between your users and Synapse and delegates sign-in to an upstream provider such as Keycloak, Microsoft Entra ID, Google or Authentik. MAS does not support SAML directly, so a SAML estate needs a bridge such as Dex. Decide who owns deprovisioning: a disabled upstream account must lead to revoked Matrix sessions, and you should test that path rather than assume it. Document which provider is authoritative for each user class.

MAS upstream providers

Plan for schema-driven rollback limits

The Synapse upgrade notes warn that rolling back can be difficult because releases change the database schema. A restore from backup is therefore the realistic rollback, which means the backup must be tested against the exact version you are moving from. Read the notes for every release between your current version and the target, not only the last one. Schedule upgrades in a staging copy of the database first, and record how long a restore takes so the rollback window is known before the change window opens.

Synapse upgrade notes

Track Python and PostgreSQL floors

Synapse raises its platform floors over time. Version 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer. Synapse also drops support for Python and PostgreSQL versions once they reach upstream end of life, so an operating system that is still supported can fall below the floor of the next release. Put the floors on your patch calendar and confirm with the vendor or in your own environment which platform versions a planned Synapse upgrade needs.

Audit admin and ESS access

Admin API tokens, the Synapse admin accounts, MAS administrative users and ESS operator access each grant broad power over rooms, users and media. Keep a named list of who holds each role, review it on a schedule, and confirm that admin actions are logged somewhere your security team reads. ESS includes auditing features, so ask what it records, where it stores the logs and how long they are kept. Under either route, the audit trail and the access review remain your obligation.

Questions buyers ask before scaling Synapse

What does Synapse Pro cost, and what drives the quote?

Synapse Pro is a commercial offering from Element, and its price is set by Element and its licensing terms, not by DeployOpen. Ask Element directly for current pricing and what the subscription covers. Recurring costs typically include the license or subscription itself, support terms and the infrastructure you run it on. One-time costs include the migration of your existing workers and configuration. For a DeployOpen engagement, the quote follows from a written scope that lists the environment, worker layout, databases, identity integration, testing and handover. Ask for the quote to separate one-time implementation work from any recurring retainer for upgrades and support.

How long does a move from hand-tuned workers take?

Duration depends on the scope and your environment, so there is no fixed figure to plan against. The main drivers are how many worker types you run, whether Redis and PostgreSQL are already sized for replication, how much routing logic must move to a new platform, whether Kubernetes is involved, and how many change windows your operations team allows. Before agreeing a timeline, ask the partner to list the phases, the environments they will test in and the rollback steps for each cutover. A written timeline should follow from that list.

Can our internal team scale Synapse without a partner?

A capable internal team can run community Synapse with workers, but it needs working knowledge of several systems at once. Engineers should understand the worker types and the instance_map and stream_writers settings in the Synapse workers documentation, operate Redis for replication with authentication and a private listener, tune PostgreSQL connections and backups, and route client and federation traffic correctly with a reverse proxy. If you run on Kubernetes, they also need Helm, storage and rolling-update skills. Check these skills against your on-call rota before deciding. Partners are most useful for the parts your team has not yet operated under load.

Is ESS Pro required to run Synapse on Kubernetes?

No. Element Server Suite is one way to deploy Synapse on Kubernetes, using Helm charts, and it bundles Synapse Pro, Matrix Authentication Service, LDAP and SCIM integration and auditing. Community Synapse can also run on Kubernetes through other charts or your own manifests, but you then own the worker topology, Redis, and upgrade sequencing. ESS Community is documented as free for non-professional deployments and evaluations, so check its terms against your use. Confirm on the Element server suite page which edition covers your organization before you choose.

What does the work need from our organization?

The work needs named owners on your side, access to the environments, and decisions made early. Typical inputs include the current Synapse version and database, your server name and federation policy, your identity provider and the claims it sends, the Redis and PostgreSQL platforms you will use, network rules between the proxy, workers and replication listener, and a test environment that resembles production. You also need a change window and someone who can approve upgrades. Ask the partner for a written list of inputs before the scope is signed, so gaps surface before the build starts.

How does licensing differ between AGPL use and commercial exceptions?

Synapse is distributed under AGPL-3.0, and Element sells commercial licenses as an alternative. Under AGPL, you can run and modify Synapse, but obligations apply when you make a modified version available to users over a network, so your legal team should review how you use it. Element announced on December 13, 2023 that future contributions would be licensed under AGPLv3 and that it sells AGPL exceptions, with contributors signing a CLA. Synapse Pro and ESS Pro are commercial products, so confirm the terms in writing with Element and have counsel review whether an exception is needed for your modifications.

How do we compare a partner's scope with Element's offering?

Compare the partner's written scope against the same questions you would ask Element: what is deployed, who operates it after handover, how upgrades and rollbacks are handled, which components are supported, and what happens during an incident. A DeployOpen scope would cover planning, implementation, testing, documentation and optional retainers, and it works on infrastructure you control. Ask Element what its subscription includes in support and roadmap commitments, then ask the partner which of those items they will deliver and which depend on your vendor relationship. Put both answers side by side in the same table before deciding.

How DeployOpen scopes and supports Matrix scaling work

DeployOpen approaches Synapse Pro and scaling decisions as a written scope before any build starts. We plan, implement, test, document and support self-hosted Matrix platforms inside infrastructure you control, so the scaling route you choose is one your own teams can review and run.

How we scope

  • Engagements are fixed-scope, with the scaling route, deliverables and timelines agreed in writing before work starts.
  • The written scope states which homeserver, worker layout and Redis design the work covers, and which parts stay with your team.
  • We confirm the commercial licensing, ESS or Synapse Pro entitlement and support terms with the vendor before the quote is finalized.

How we build

  • We implement the chosen worker topology, Redis replication and request routing in your cloud accounts, data centers or isolated networks.
  • We test load routing, federation behavior and failover against the scope, and record the results in a findings report.
  • We cover identity integration, backup and restore checks and monitoring so the platform can be reviewed by your security and compliance teams.

How we hand over

  • You receive architecture documentation, runbooks for upgrades and rollbacks, and configuration records kept in your own repositories.
  • Your operators are trained on the worker set, routing rules and the database upgrade notes that apply to your Synapse version.
  • Handover includes a list of open items, such as room complexity limits or federation rules, that need decisions from your governance owners.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so scaling changes can be reviewed as Synapse releases ship.
  • Retainers can cover upgrade planning against each set of Synapse upgrade notes, including Python and PostgreSQL version floors.
  • Before any scaling change goes live, we retest the affected routes and confirm the rollback path with your team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.