System requirements for a Matrix server?
from iamthetot@piefed.ca to selfhosted@lemmy.world on 13 Feb 14:28
https://piefed.ca/c/selfhosted/p/522527/system-requirements-for-a-matrix-server

Unless I am blind or my search-fu is hugely failing me, I cannot for the life of me find any information on the recommended/minimum specs to self-host the matrix backend services. I’m trying to spin up a VM just to play around with it and see if I like it. Specifically, I’m looking at Synapse or Continuwuity. Any advice?

Looking for vCPUs, memory, storage.

#selfhosted

threaded - newest

ptz@dubvee.org on 13 Feb 14:39 next collapse

Most of the requirements are going to be for the database, and that depends on:

  1. How many active users you expect
  2. How many large rooms you or your users join

I left many of the large Matrix spaces I was in, and mine is now mostly just 1:1 chats or a group chat with a handful of friends. Given that low-usage case, I can run my server on a Pi 3 with 4 GB of RAM quite comfortably. I don’t do that in practice, but I do have that setup as a backup server - it periodically syncs the database from my main server - and works fine. The bottleneck there, really, is the SD card storage since I didn’t want an external SSD hanging off of it.

Even when I was active in several large Matrix spaces/rooms, a USFF Optiplex with a quad core i5, 8 GB of RAM, and a 500GB SSD was more than enough to run it comfortably alongside some other services like LibreTranslate.

Yaky@slrpnk.net on 13 Feb 14:46 next collapse

I have ran Synapse natively on 1 CPU 1GB RAM VPS for years. But it fills up a lot of disk space, eapecially with larger rooms, so get at least 100GB? (I had 20GB on my VPS, and with 4 regular users, was using up 15GB)

If you are looking at (new) official ESS Community, they recommend 2 CPU, 2GB RAM minimum for Kubernetes.

scrubbles@poptalk.scrubbles.tech on 13 Feb 15:02 collapse

You can set it to use object storage instead, much cheaper

iamthetot@piefed.ca on 13 Feb 21:25 collapse

Could you expound on what you mean, or how to go about it? Links to documentation would be appreciated.

normis@infosec.pub on 13 Feb 14:56 next collapse

Conduit, around 100 users, barely breaks 0% usage in a Intel i5 micro PC. RAM is around 1GB used.

poVoq@slrpnk.net on 13 Feb 15:11 next collapse

As others have already alluded to, Matrix is a bit odd in that regard as it runs a distributed database and the resource requirements depend on how much of the matrix network is mirrored on it. A single power-user can cause huge resource use just by connecting to a lot of federated active rooms. On the other hand a server that is mostly used as a private family chat can run on a modern RasberryPI without much problems.

Synapse or Conduwinity etc. makes little difference in praxis as both need to do the same database merging operations.

iamthetot@piefed.ca on 13 Feb 15:16 collapse

I do appreciate that, but even a starting point would be nice.

poVoq@slrpnk.net on 13 Feb 15:25 collapse

Starting point based on what? Do you plan to use it personally to join many large channels from FOSS projects? If so, you need to plan for a relativrly beefy VPS, like 4 core, 8gb ram, 100gb+ ssd storage.

But for small private chats with no federation a cheap minimum VPS can work.

If you want my personal recommendation I would avoid hosting Matrix. A well federated server is costly to run and not really worth the hassle and a small private chat server with bridges etc can be done equally well or better with XMPP.

iamthetot@piefed.ca on 13 Feb 15:28 collapse

I did not ask for a recommendation of if I should use or not use Matrix. I stated in OP that I want to play around with it. I will decide if it’s right for my use-case.

zewm@lemmy.world on 13 Feb 15:18 next collapse

Why the hell people keep saying Continuwity. I can’t find any software with that name. Do they mean Conduit? I’m so confused. The two words are nothing alike.

iamthetot@piefed.ca on 13 Feb 15:28 next collapse

https://continuwuity.org/

zewm@lemmy.world on 13 Feb 15:29 collapse

Ty. I searched on DDG and no results came up. I need to find a new search engine.

iamthetot@piefed.ca on 13 Feb 15:34 collapse

It was genuinely hard for me to find on DDG as well. It kept trying to correct to “continuity” >_>

poVoq@slrpnk.net on 13 Feb 15:31 collapse

continuwuity.org

It’s a fork of a fork or Conduit.

zewm@lemmy.world on 13 Feb 15:32 collapse

Got it.

Decronym@lemmy.decronym.xyz on 13 Feb 15:30 next collapse

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
SSD Solid State Drive mass storage
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)
XMPP Extensible Messaging and Presence Protocol (‘Jabber’) for open instant messaging

5 acronyms in this thread; the most compressed thread commented on today has 9 acronyms.

[Thread #89 for this comm, first seen 13th Feb 2026, 15:30] [FAQ] [Full list] [Contact] [Source code]

Shimitar@downonthestreet.eu on 13 Feb 16:00 next collapse

Continuwuity… Don’t use synapse, too bloated.

iamthetot@piefed.ca on 13 Feb 16:10 next collapse

I’m eager to try out multiple things. Right now I’d settle for whichever I can get set up. The documentation for continuwuity is a little tough for me and my setup right now.

Shimitar@downonthestreet.eu on 13 Feb 17:21 collapse

If that’s hard, good luck with synapse then.

iamthetot@piefed.ca on 13 Feb 18:50 next collapse

Thanks, I’ll probably need it! I seem to be able to follow along a little bit better with Synapse at least, and there’s more troubleshooting stuff out there for it I think because it’s more widely used.

iamthetot@piefed.ca on 13 Feb 21:24 collapse

Welp, I got Synapse deployed before Continuwuity lol

Esjott@feddit.org on 13 Feb 18:34 collapse

This. Its not that hard to setup.

UnpledgedCatnapTipper@piefed.blahaj.zone on 13 Feb 22:20 collapse

I’m struggling a bit. I got the server up and text chat is working great, but the documentation for getting voice calls working is pretty hard to follow.

My searching around has failed to find a more step by step guide for modifying the gigantic sample continuwuity.toml file. It’s so unwieldy, and it feels impossible to know if there are some additional settings that need to be configured that I’m simply missing due to the length of the file.

Any tips, tricks, or guides you’re willing would be appreciated!

HumbleBragger@piefed.social on 13 Feb 16:30 next collapse

I’d like to set up a matrix server on my home server (or a xmpp server) but I haven’t been able to figure how to do that. All the docs talk about setting up a vps with a domain name.I don’t have a vps or a domain name and don’t wanna have to pay monthly to a hobby. (I’m poor in a poor country)

kate@lemmy.uhhoh.com on 13 Feb 16:59 collapse

any internet connected server should do but you will need a domain name as they’re how your matrix server identifies itself to the network

HumbleBragger@piefed.social on 13 Feb 17:10 collapse

Cool! Can I use a ddns like duckdns? I only use my server through a VPN so I haven’t looked into hardening and security stuff to open it to the internet yet. Maybe I’ll just try setting a matrix server soon. Thanks!

kate@lemmy.uhhoh.com on 13 Feb 17:35 collapse

theoretically yeah but you might have some issues with blocklists on other servers. there are cheap domain names available if even $1/yr is an option for you gen.xyz/1111b

edit to add- if you buy a domain from cloudflare or any other domain registrar with an API, you can create your own dynamic DNS by running a script on your server to update the domain’s DNS automatically in a similar way to duckdns. more reading available at github.com/ddclient/ddclient

pfr@piefed.social on 13 Feb 21:49 collapse

Self hosted XMPP easy mode

https://github.com/snikket-im/snikket-selfhosted