A chat server running on powerful hardware collapsing when handling more than 100 events per second isn't acceptable. Events scale up based on room activity from non-local users including spammers too. It's an issue for a server with 12 users too.
https://element.io/blog/scaling-to-millions-of-users-requires-synapse-pro/
=> More informations about this toot | More toots from GrapheneOS@grapheneos.social
Choosing to write the Matrix server software in Python in the first place was a huge mistake. It's now far harder to develop and maintain the software. It heavily contributes to it being buggy and fragile. It's the biggest factor in it being so incredibly slow and hard to scale.
=> More informations about this toot | More toots from GrapheneOS@grapheneos.social
@GrapheneOS Instagram is largely written in Python and WhatsApp in Erlang, both relatively slow languages compared to C/C++/Rust/Zig/Go, and yet they manage to scale. At a previous company, we had a Python based server handling 4000 sustained requests/second with 9ms latency at the 99th percentile, so it's not just the language at fault.
=> More informations about this toot | More toots from fazalmajid@vivaldi.net
@fazalmajid @GrapheneOS calling Erlang relatively slow in the context of high-scale deployments like WhatsApp is unfair
=> More informations about this toot | More toots from mkljczk@fediverse.pl
@mkljczk @fazalmajid Matrix is meant to be a decentralized chat protocol easily deployed by other people. They threw a massive amount of resources into hosting matrix.org which could have gone to development. They never had a large amount of capital available and put a massive amount of money into hosting matrix.org instead of developing a great chat platform. It's not comparable to burning massive amounts of VC funding on hosting to more quickly develop a product, then rewriting it with more.
=> More informations about this toot | More toots from GrapheneOS@grapheneos.social
@mkljczk @fazalmajid A major part of why Matrix is so centralized around matrix.org is that the server software it's incredibly bloated, slow and doesn't scale well. Centralized software would not have to be designed in the same way and wouldn't have been in the same situation. Also, Matrix has more and more overhead as the decentralization increases. It scales up the load not only room activity and local users but also number of federating servers. If everyone had their own, it'd be a disaster.
=> More informations about this toot | More toots from GrapheneOS@grapheneos.social This content has been proxied by September (3851b).Proxy Information
text/gemini