Synapse sizing and hardware requirements

Synapse sizing follows active users, room size, federation traffic and database load, so no single headcount formula will fit your server. This page explains the drivers, the version floors to check, and when workers become necessary.

On this page

Synapse sizing and hardware requirements start with your users and rooms

Synapse sizing follows active users, room size, federation and database load, so start by counting those for your organization before you buy or reuse any server. Check the published minimums in the Synapse documentation for the exact release you will run, because those floors change between versions. The current release line is v1.163.0, published October 14, 2026, as listed on the Synapse releases page. Read the upgrade notes for every release between your installed version and your target, since platform floors for Python and PostgreSQL move with them. Also confirm with your platform team which operating system and database versions your standards already approve, because an approved-software list can block a supported Synapse release.

A generic sizing table assumes a typical mix of users and rooms, and few organizations match that mix. A deployment with a small group of users in one very large public room loads the server differently from one with many small private rooms and heavy federation. Build a load test from your own expected pattern: logins and sync traffic at peak, message sending, media uploads, joins to large rooms and federation traffic if you plan to federate. Measure CPU, memory, database connections and sync latency during that test, then agree the acceptance criteria with the partner or internal team in writing before the test starts. Ask the partner to describe the test tooling, the data set used and how the results will be reported, so the numbers you approve reflect your workload.

This advice applies to self-hosted Synapse running inside your own infrastructure, such as your cloud accounts, data centers or air-gapped networks, where your team controls the host, the database and the network path. If you use a managed service or a vendor-supplied deployment such as Element Server Suite, the vendor's sizing guidance governs, and you should ask for it in writing. Before the first sizing conversation, gather a user count by role, an inventory of your largest rooms, a decision on whether federation will be open, restricted through federation_domain_whitelist or disabled, and the database host you plan to use. Whether one Synapse process is enough or the deployment needs workers is a separate decision covered later on this page, and it depends on the same inputs.

Which sizing inputs change the plan and what each one loads

This table compares the sizing inputs that change a Synapse plan. For each one it shows the component the input loads first, the symptom that signals it has become the bottleneck, and what to measure before you change the plan. Read the rows against your expected user count, room profile and media habits, since a single input can dominate. The last row covers the Python and PostgreSQL floors, which limit the database and runtime choices available for any sizing decision.

Sizing inputLoads firstBottleneck signMeasure to confirm
Registered and monthly active usersMain process and PostgreSQL for sync and account state, growing with active sync streamsSync response times rise at busy hours while main process CPU stays highActive sync requests, sync response times and main process CPU across a typical week
Joined room count and room sizePostgreSQL first, then the main process for state handling in large roomsSlow event sends and joins in large rooms, with long database queries in logsSlow query logs, state group growth and event rates in the largest rooms
Federation scope and joins to large remote roomsMain process and PostgreSQL for remote state and backfill, plus federation workers if split outJoins to large public rooms take a long time and outbound federation queues growRemote join duration, federation sender queue length and the remote rooms users join
Media upload volume and retentionMedia storage and the media repository, which can move to a dedicated workerDisk use grows faster than message volume and uploads slow for other usersMedia store size by age, upload request rate and free space on the media volume
Message write rateMain process and event persisters, with Redis carrying replication between processesEvent persistence lags behind sends, with waits on the database or a single writerEvent persistence latency, events per second and PostgreSQL write and lock wait times
Runtime and database version floorsPython and PostgreSQL, which set the OS packages and database server you can useAn upgrade fails or is blocked on an unsupported Python or PostgreSQL versionInstalled Python and PostgreSQL versions checked against the upgrade notes for your target release

Only the reverse proxy faces clients and federated servers

Traffic starts at two edges. Client requests arrive at the reverse proxy on port 443. Federation traffic from other servers arrives on the 8448 listener by default, or on 443 when delegation points server names at another host. The proxy hands client routes to the main process and, once you deploy them, to generic workers. Every process connects to Redis, which relays replication between them, and to PostgreSQL for state. Media goes to local or object storage. Check two boundaries: the federation listener should be firewalled, and the Redis replication path should stay on a private network.

Entry points face the internet; replication and state stay on a private network.

Which resources each Synapse component consumes and what grows them

Each Synapse component draws on a different resource, but the same drivers push several of them at once: active users, room size and federation traffic. Use the metric on each card to find the bottleneck before you add hardware or workers. Read the upgrade notes for every version change, because the PostgreSQL and Python floors can move with a release.

CPU for main process and workers

The main process handles writes and most shared state, so it is often where CPU pressure appears first. Load grows with active users, sync frequency, message volume and joins to large rooms, including rooms hosted on other servers. Watch sustained CPU on the main process and the lag workers report while waiting on it. Before you add workers, read the workers documentation, because each worker type brings its own routing and replication needs. Read the upgrade notes before any version change that touches worker configuration.

Synapse workers docs

Memory for Python processes

Each Synapse process runs as its own Python process, so each worker adds its own memory footprint on the same host. Usage grows with the rooms and users each process handles and with the caches it keeps warm. Track resident memory for each process over several days so that a slow climb shows up before an outage does. Before a version change, measure memory on a staging copy with the same worker layout, because memory use depends on your own load and worker layout.

PostgreSQL size and version

PostgreSQL holds the event history, room state and account data, so its size grows with how long you keep data and how busy your rooms are. Connection demand also rises with each worker, which makes connection pooling part of the sizing work. Watch database growth over weeks, connection counts and slow query logs on the primary. Rolling back can be difficult after database schema changes, so read the upgrade notes before any Synapse release that raises the database floor, and plan PostgreSQL major upgrades as their own change.

Synapse upgrade notes

Redis when workers run

Redis matters once you run workers, because the main process and every worker connect to it to relay replication between processes. Its load follows the number of workers and the volume of replication traffic, which tracks event rate and stream activity. Watch Redis memory, connection counts and latency next to worker lag, since a slow Redis slows every process that depends on it. Confirm which network the replication listener is reachable on before you open any port. Read the upgrade notes before a version change that alters worker settings, and retest replication afterward.

Media storage and retention

Media storage grows with uploads from your users and with remote media that users on your server fetch and keep. Growth depends on file sizes, activity and how long you retain media, so retention settings shape the long-term footprint more than short spikes do. Watch disk use on the media path, its weekly growth and free space under load. Read the configuration manual for the media retention options before you set limits, and confirm with your backup design whether media files are included, because a database backup does not contain them.

Configuration manual

Python runtime floor

The Python runtime sets a floor for each Synapse release, so the host image or virtual environment has to meet it before you upgrade. Runtime version does not grow with load, but it decides which releases you can install and when the environment must be rebuilt. The floor applies to every process, workers included, so check the Python version on every host that runs a Synapse process. Synapse drops support for Python versions once they reach upstream end of life, so plan rebuilds on that schedule. Read the upgrade notes before each change and rebuild the environment in staging first.

When one Synapse process stops being enough

A single Synapse process has run out of room when the symptoms appear under normal load and keep coming back. Watch for slow initial sync and slow /sync responses for users who reconnect, event sending that takes visibly longer to reach other members, and federation queues that keep growing in your monitoring. Each one suggests the main process is saturated on work it cannot split internally. A bigger host helps for a while, since Synapse's CPU and memory use grow with users, rooms and federation traffic, but one process gets only so much benefit from additional cores. A larger machine adds headroom without adding a second place to do the work. Confirm the trend across several weeks of your own metrics before you commit to changes.

Workers split that work by role. The generic worker is the most common first step: it handles client traffic such as sync and event sending, federation traffic and event handling, while the main process keeps the tasks that must run only once. The main process and every worker connect to Redis, which relays replication between them, so Redis becomes a runtime dependency you must size, secure and monitor. Database access also changes, because each process opens its own PostgreSQL connections, so you need to recount connection limits and check whether a connection pooler is needed. Each new process also needs its own logs, metrics and health checks, and requests that used to reach one process now need routing to the right worker. The Synapse workers documentation describes this model in full.

Treat the move as a decision triggered by sustained evidence. Before you start, record your current sync latency, event send delay, federation queue depth and database connection counts, so you can tell whether the first worker helped. Then decide whether one generic worker fits your traffic or whether the load needs a different split. For the move itself, use the sibling topics: load balancing Synapse sync and client traffic across workers for routing, Redis for Synapse worker replication for the replication layer, and the federation sender and media worker topics if outbound federation or media is the bottleneck. Confirm early who will own the Redis service and the new alerts, because those costs recur after the migration is finished.

Synapse sizing and hardware requirements: the sequence to follow

This sequence turns estimates of Synapse capacity into a sizing record your team can review. It starts with your current users, rooms and federation traffic, tests the target release on a staging host with the database it will run on, and ends with a documented decision on whether workers are needed. Each step closes with a check, so the record can be revisited at every upgrade.

  1. Record current users, rooms and federation traffic

    The platform team pulls a baseline from the live homeserver before anything else changes. Record active local users, total joined rooms, the largest rooms by member count and state size, the remote servers your homeserver exchanges events with, and the media storage in use. Take the figures from Synapse's admin API or direct database queries, and note the date and time of each pull. The step is done when a single dated sheet holds every figure, and a second person can reproduce each number from the same source.

  2. Confirm target release and platform floors

    The platform team reads the upgrade notes for every release between the current version and the target. The releases page lists v1.163.0, published October 14, 2026; confirm whether a newer release exists on the day you choose the target. The notes set the floors that affect sizing: Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. The notes also warn that rollback can be difficult after database schema changes, so record your rollback position before upgrading. The step is done when a compatibility table lists the release, PostgreSQL version, Python version and rollback limits, and the database owner signs it off.

  3. Build a staging host with the target database

    The platform team builds a staging host that matches production in release, configuration and database engine. Install the target Synapse release on the PostgreSQL major version you plan to run, and use the same database collation as production so schema and locale behavior match. Set federation_domain_whitelist to an empty list so the staging server cannot federate, and firewall the federation listener as the configuration manual recommends. The step is done when Synapse starts, the database schema updates finish, and the admin API answers on the staging host.

  4. Replay representative traffic against staging

    The platform team generates load on staging that resembles the baseline from the first step. A sanitized copy of production data or a synthetic load generator can supply the rooms, users and message patterns, but personal data should be removed or replaced before it leaves production. Include the heavy patterns your baseline showed: initial syncs for large accounts, bursts of messages into the largest rooms, and joins to remote rooms if federation is active. The step is done when the test runs cover the peak conditions recorded in the first step, and each run has a recorded start time, duration and load profile.

  5. Measure CPU, memory, connections and disk

    The platform team records resource use during each replay run and compares it with the capacity of the host. Track CPU and memory for the Synapse process and the PostgreSQL server, the number of database connections against the pool limit you configured, and the growth of the database and media store across the run. Disk growth shows its effect over time, so repeat the storage measurement after the runs finish. The step is done when a table lists peak and steady-state values for each resource, along with the growth rate for the period you chose.

  6. Decide whether workers are needed

    The platform team uses the measurement table to decide whether a single Synapse process still has enough headroom. If the main process runs close to its CPU or memory limit, or database connections reach the pool limit under peak load, workers become a candidate. A worker deployment adds Redis for replication, and the generic worker handles client, federation and event traffic, so the decision must name who will run Redis and the routing layer. The step is done when a signed decision records either staying single-process with the headroom you accept, or the first worker types you will test and the Redis and monitoring work they require.

  7. Document sizing and set a review date

    The platform team writes the sizing record so that the next person can repeat the reasoning. Include the baseline sheet, the compatibility table, the staging configuration, the replay profiles, the measurements, the growth rate and the decision from the previous step. Set a review date tied to every Synapse upgrade, because schema changes and new releases can change resource use. Add a second review trigger based on the growth rate, so the record is revisited before the host runs out of room. The step is done when the record is stored alongside the server configuration and the review is on the change calendar.

How Synapse sizing and hardware requirements change by deployment situation

A small internal homeserver serves a known group of staff and a limited set of rooms, and federation is often disabled or restricted to a short list of partner domains. Load usually comes from how many people are active at the same time, how often their clients sync, and how much media they upload, not from the total number of accounts. The single main process and its database on the same host often carry the whole workload.

  • Dominant inputs: Concurrent active users and sync frequency matter more than registered accounts, because idle accounts cost little. Media uploads can add storage and memory pressure faster than text traffic does.
  • Component to size first: Start with the main Synapse process and PostgreSQL. Watch CPU and database load during normal working hours before you add anything.
  • Federation footprint: An allowlist or disabled federation keeps inbound and outbound load small. Confirm the list of partner domains with the people who own those relationships, because each change alters the load profile.
  • When workers or Synapse Pro become relevant: This is rarely needed at this scale. Revisit the question if sync latency rises at peak hours even after database tuning, and read the Synapse workers documentation to see what a split would involve.

Before changing hardware, check your peak active user pattern, media growth and the sync delays your users actually report.

Security and operational risks of an undersized or misplaced Synapse server

Synapse runs a small set of components, and each one fails in its own way when it is undersized or left open. The cards below name the control for each risk, the owner who checks it, and the signal that shows a problem early.

Unfirewalled federation listener

Synapse federates on port 8448 by default, and the configuration manual recommends firewall the federation listener in addition to setting federation_domain_whitelist. Without that firewall rule, any remote server can open connections to a host sized for your own users, which adds load and widens the attack surface. Allow inbound traffic only from the peers your federation policy names, and confirm the firewall list matches the whitelist. Owner: the network security team reviews the rule after every firewall or delegation change. Signal: connection counts and request logs from origins outside the approved list.

Federation docs

Replication and Redis exposed

Workers and the main process exchange replication traffic through Redis, so the replication listener and Redis give a direct path into the cluster. If either one is reachable outside a private network, anyone on that path can read or disturb inter-process traffic. Keep Redis on a private network, require authentication, and allow connections only from Synapse hosts. Owner: platform engineering maintains the firewall rules and the Redis configuration. Signal: connection attempts from outside the worker subnet and authentication failures in Redis logs.

Workers docs

PostgreSQL disk exhaustion

PostgreSQL is the recommended production database for Synapse, and its size grows with events, room state and media metadata. A full database volume stops writes until space is recovered, so storage needs headroom for growth across the life of the server. Set alerts on free space and on the growth rate of the database volume, and schedule retention and media cleanup jobs that run on a fixed cadence. Owner: the database administrator reviews the trend and approves any storage expansion. Signal: free space trend on the database volume and table growth over time.

Upgrades that are hard to roll back

The upgrade notes warn that rolling back can be difficult because schema changes between releases alter the database. Treat each upgrade as a schema change that makes rollback difficult: take a verified PostgreSQL backup and a copy of the media store, then rehearse the exact target version on a copy of production. Read the upgrade notes for every release between your current and target versions. Owner: the change manager approves the window only after a restore test succeeds. Signal: background database update progress and errors in the logs after restart.

Upgrade notes

Outages from end-of-life platforms

Synapse drops support for Python and PostgreSQL versions once they reach upstream end of life, so a release can raise the minimum platform. Synapse 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer. A host that stays on an older interpreter or database fails after an otherwise routine upgrade. Keep an inventory of Python and PostgreSQL versions on every Synapse and worker host, and check it against the upgrade notes before each release. Owner: the platform team maintains the inventory and alerts on any host below the minimum. Signal: version drift reports that flag hosts below the floor.

Synapse releases

Questions teams ask about Synapse hardware requirements and sizing work

How much does a Synapse sizing review cost, and what is one-time versus recurring?

A sizing review is priced by the time it takes to measure your live homeserver, model its growth, test changes in a non-production environment and write the recommendations, so the scope agreed in writing decides the figure. The main cost components are the reviewer's time for data collection and analysis, load testing and any staging capacity you provide, and the written report and follow-up session. Most of this is one-time. Recurring costs sit elsewhere: the servers, PostgreSQL, Redis and storage you run, any Element commercial license if you choose Synapse Pro, and optional retainer support for upgrades and re-sizing as your user count changes. Ask each bidder to split the quote into one-time work, recurring support and infrastructure you will pay directly, and to state which environments and load tests are included.

How long does a Synapse sizing review take, and what sets its length?

Duration depends on how much of your environment the reviewer must measure and how many changes need testing in a non-production copy. The main drivers are the number of Synapse processes and workers already running, whether metrics and database statistics are already collected, the size of the staging host you can provide, and how quickly your change windows allow test restarts. A review that starts from clean monitoring usually takes longer than one that builds on existing dashboards, since the first step is collecting evidence. Upgrade work or a planned move to workers adds test cycles. The schedule should follow the written scope, and the reviewer should name the dependencies on your side, such as access approvals and change freeze dates. Ask for the expected sequence of milestones and what you must supply at each one.

What does a Synapse sizing review need from our team?

The work needs access to your current monitoring data, database statistics and a staging host, plus agreed change windows. Provide the following:

  • Metrics from your monitoring stack covering CPU, memory, database load and media storage across a representative period
  • Database statistics on user counts, room counts, room sizes and table growth
  • A staging host with PostgreSQL, and Redis if workers are in scope, sized close enough to production to make load results meaningful
  • Change windows for test restarts and a named owner who approves configuration changes

Ask the reviewer to list each item, its owner and the date it is needed.

Can our own team size Synapse without an outside partner?

Yes, if your team already runs Synapse in production and can read database and monitoring data, change configuration and run load tests in staging. Your staff know your users' habits, which a reviewer must learn, but sizing is a repeated cycle of measuring, changing and testing, and that cycle competes with other work for time. Consider an outside review if no one in-house has operated a Synapse deployment with workers, if a major upgrade is due, or if your team cannot give the measurement period enough attention. Compare the two options by listing the skills required, the staging capacity needed and the staff hours each path would absorb. An outside reviewer works from a written scope and delivers written recommendations that match it.

When do Synapse deployments need worker processes?

Workers become necessary when a single Synapse process can no longer serve its share of requests and events within acceptable latency, and your monitoring shows it before users complain. Typical signals include sustained high CPU on the main process, slow sync and event sending during busy periods, and growing backlogs in federation or background work. Once you split the process, every worker connects to Redis, which relays replication between them, so Redis, PostgreSQL connection capacity and request routing become part of the sizing. The generic worker handles client, federation and event traffic, and specialized workers take over tasks such as media or outbound federation. The Synapse workers documentation explains the process types. Confirm the threshold with your own data before you commit to the change.

Does a Synapse version upgrade change the hardware sizing?

A version upgrade can change the sizing picture, so re-check it before and after the change. Recent releases raise 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, so the platform may need work before Synapse itself. The upgrade notes also warn that rollback can be difficult because of database schema changes, which makes a tested backup and restore plan essential. Read every set of upgrade notes between your current and target versions, since each may add requirements. Measure the target release in staging with production-like data, and ask the reviewer to confirm whether any changed setting affects memory or database load.

What user and room data should we share during a Synapse sizing review?

Share aggregate counts, table sizes and resource metrics, since sizing depends on how many users, rooms and members exist and how fast the database grows. Message content and personal data are not needed for most sizing questions. Where a query touches user identifiers, agree in writing who runs it, where the output is stored, how long it is kept and how it is deleted. A load test should run on a staging copy with access controls, and where possible on pseudonymized or synthetic data, because a raw copy of production contains messages. Your data protection lead should approve access before work starts, and the reviewer should record each access point in the scope.

Limits to confirm before you buy or reuse hardware

Published minimums describe one release, so they help only once you match them to the version, database, federation pattern and load you plan to run. The six cards below cover the checks that connect those inputs to the hardware or cloud instance you buy or reuse.

Published minimums for the chosen release

Synapse publishes minimum resource guidance in its documentation, and those figures are tied to a specific release. Check the documented minimums for the exact version you plan to run, then confirm them against the upgrade notes for every release you will pass through. Record the version and date you checked, so the sizing record can be reviewed when the release changes.

Synapse documentation

PostgreSQL and Python support

Newer Synapse releases drop support for database and Python versions once they reach upstream end of life, so a server that runs today can need a database or runtime upgrade before its next Synapse upgrade. Confirm that your PostgreSQL and Python versions remain supported for the release you target, including the minimums in its upgrade notes. Plan any PostgreSQL major upgrade as its own project with backups and a rollback path, because schema changes between releases can make rollback difficult.

Synapse upgrade notes

Federation footprint and large rooms

Federation load depends on who your users talk to as well as how many users you host. Count the remote servers your users already share rooms with, and identify the large remote rooms users may join, since a join to a big room brings state and traffic that a local user count does not show. Confirm the federation design you plan to use, including whether federation_domain_whitelist should limit federation to listed domains and how port 8448 or delegation is exposed.

Synapse federation docs

Media retention and storage growth

Media uploads, thumbnails and database rows grow for as long as your retention policy allows, so storage sizing depends on policy as much as on user count. Write down the media retention and deletion policy before you size disks, then estimate growth from expected upload patterns. Test media cleanup on a copy of the server, and confirm that backups cover the media store and fit the storage you plan to buy or reuse.

ESS Pro or Synapse Pro changes the plan

Synapse is AGPL-3.0 licensed and Element sells commercial licenses, while ESS Community is free for non-professional deployments and evaluations. ESS packages Synapse Pro, MAS, LDAP and SCIM integration and auditing, so the edition you choose can change the component list and the hardware plan. Confirm with Element or your partner which edition applies before you size, because sizing done for community Synapse may not carry over.

Element Server Suite

Hardware matches the load test

A load test only predicts production when the target hardware or cloud instance matches the tested profile. Compare CPU architecture, core count, memory, disk type, network path and database placement with the test run, and note every difference. Repeat the test with the database and Redis layout you will run, because a change in either can move the bottleneck, and store the results with the sizing record so the next upgrade starts from measured data.

How DeployOpen scopes and delivers Synapse sizing work

DeployOpen sizes a Synapse homeserver from the inputs that actually drive load: user count, room sizes, federation traffic and growth. We size the server in your own infrastructure, document the assumptions behind each figure, and confirm them with monitoring before and after go-live. Engagements are fixed-scope, with the written scope fixing what is measured, built and delivered.

How we scope

  • Written scope names the Synapse version, PostgreSQL target, worker plan and hardware platform in your infrastructure.
  • We collect user counts, room sizes, federation peers and growth assumptions before any hardware is chosen.
  • We confirm the supported PostgreSQL and Python floors for your target Synapse release before sizing the database tier.

How we build

  • We stand up a staging homeserver that mirrors production settings, including PostgreSQL, media storage and reverse proxy.
  • Load tests replay representative sync, login, send and federation traffic against the planned process layout.
  • If workers are needed, Redis replication and routing changes are built and tested before traffic moves.

How we hand over

  • A sizing record states each assumption, the measured baseline, and the thresholds that trigger a new worker or larger database.
  • Monitoring covers database growth, memory, sync latency and federation backlog, using metrics your Synapse build exposes.
  • Runbooks cover upgrade notes, rollback limits from schema changes and the restore steps your team will run.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainer reviews re-check sizing as user counts, room sizes and federation peers change over time.
  • Each Synapse upgrade is planned against its upgrade notes, with a staged rollout and a tested restore point.

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.