![]() ![]() XMPP traditionally treats servers as more lightweight entities that are only responsible for delivery, not long-term archival. In this model, servers are the custodians of data and perform synchronization between each other when needed to fill gaps in the history.įor Snikket this model is almost at odds with our goals, because we aim to minimize the amount of stored data in the system. One of their fundamental goals is that messages and other exchanged data can survive the loss (or e.g. Matrix is built on the principle of decentralized message log replication. XMPP is built on the principle of decentralized point-to-point message routing and delivery. However Matrix has some additional goals that make it a bit more complex than XMPP for our use case. An open protocol and network which anyone can participate in, and support for bridges to other networks. The high-level goals of Matrix are very similar to the goals of XMPP (which is what Snikket and Prosody use). But anything lacking in Matrix could have been added as part of the project (just like we are adding to XMPP anything we lack). The challenges of the project would have been different, of course. I don't think it's necessarily about what Matrix "lacks". I'm running it on a debian vm and it doesn't require a lot of resources. Everything else is pretty straight forward. You'll probably get hung up on how to use delegation with your reverse proxy but you'll figure it out. You need a domain, and you should know how to use letsencrypt for certs. TLDR: If you're looking for your next project, I'd rate setting up a matrix synapse server as a 6/10 difficulty. Everybody knows to go to IRC but matrix has some pretty smart people in their matrix servers that are looking to help you out. When I was having issues setting up matrix-synapse, I went to the matrix-synapse matrix room and multiple people were all giving me a hand with any question I had. Lastly, the communities on Matrix are invaluable to myself and and probably you if you self host. Even better you can have users use web services like Element Web to sign-up and chat. Theres multiple clients I've found like nheko, moments, element that are a pleasure to look at and smooth as hell. Matrix clients hit different than pretty much any other chat client I've use before. Really you only have to wait when joining rooms on with 30k+ members. The only delay you will get is when you join rooms, but that's just because you're part of a federation now and your matrix server has to go through each user in the room to retrieve and check keys. I haven't configured a STUN/TURN server yet so I can't speak to its performance. I'm running matrix-synapse on a VM and there's no latency between me or my users. So when dendrite is good to go I'll definitely be switching to that.įile uploading, messaging, and E2E encryption all work way better than I expected. However since its still a work in progress and its in beta stages some features aren't implemented and there were a few hiccups that made me switch back to matrix-synapse. Dendrite is the second generation matrix server written in Go and I think its configuration is easier and its footprint is smaller than matrix-synapse. ![]() instead of Once I figured out how delegation worked with a reverse proxy I got it working and figured id try dendrite. The toughest part was figuring out how to setup a subdomain to host my matrix server on, while still being able to point users to the main domain when they sign-up. What Is SelfHosted, As it pertains to this subreddit? Also include hints and tips for less technical readers. We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Service: Blogger - Alternative: WordPress Service: Google Reader - Alternative: Tiny Tiny RSS Service: Dropbox - Alternative: Nextcloud While you're here, please Read This FirstĪ place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |