4 ms·
So how much of a vps you need to host like 100k users? More users? I tried to look but couldnt find much information.
by 2Gkashmiri 6y ago
So how much of a vps you need to host like 100k users? More users?
I tried to look but couldnt find much information.
- kitkat_new 6y agoprobably twice as much as the German military for 50k
- RL_Quine 6y agoYou would need a serious dedicated server if it was possible at all. Matrix as a protocol is excessively resource hungry, there’s a reason the default matrix.org server runs like treacle.
- 2Gkashmiri 6y agoSo whats the idea for matrix to scale? If they want more people to join servers other than matrix.org, how will it happen?
- feanaro 6y agoThe reference implementation (Synapse) is written in Python. There's a next-gen golang server in development called Dendrite and also Conduit, which is written in Rust. Both of those are expected to have better performance.
- stryan 6y agoBesides what others said, I believe you can now shard Synapse and scale horizontally (part of why matrix.org has gotten faster recently).
- RL_Quine 6y agoMatrix.org still has message latency of over 30 seconds pretty regularly unfortunately.
- skinkestek 6y agoA dedicated server or two for the communication for 100 000 people seems completely reasonable IMO. They probably don't need to be expensive either.
- justaj 6y agoDepends on what server implementation you're going to go for. Synapse is the reference implementation currently, but also the most resource hungry. For 100k users I would be looking at 24gb RAM and 256GB+ storage space. Along with multiple cores. If you don't need as much features, then you can try Dendrite which can have 5x to 10x less resource usage than Synapse.
- cvwright 6y agoI’d be surprised if 24gb is sufficient for 100k users. Back when they switched Synapse to Python3, they showed a graph where the matrix.org homeserver had something like 8-10 syncotron processes consuming 8-10gb each.