this post was submitted on 15 Sep 2021
28 points (100.0% liked)

Asklemmy

44824 readers
1074 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I want to setup a matrix instance to help increase friends and family's privacy. Is there much value in creating my own instance?

I'm a beginner to linux and coding, but am good at following the steps on a video tutorial.

Alternatively i could get everyone to sign up on a preexisting instance + download the element app.

Thanks for sharing your opinions !

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 3 years ago (4 children)

I would recommend you rather look at Snikket, which is a really easy to setup and use XMPP server with nice mobile clients. Perfect for a small family server and very easy to setup.

A Matrix home-server is not too difficult to setup either (conduit.rs is easiest IMHO), but in the medium term it is quite server resource intensive to run as it needs a relatively fast server and has an ever increasing database that can easily surpass the SSD storage available on cheaper VPS.

[–] [email protected] 3 points 3 years ago (1 children)

Appreciate your alternative here.

Why is Matrix so resource intensive compared to XMPP ?

[–] [email protected] 5 points 3 years ago (1 children)

Matrix is basically over-engineered for a chat protocol. It uses a very complex git like distributed database with high CPU and RAM demanding merging operation to ensure a consistent state between the participant servers. In addition this data-structure means that a lot of the meta-data (room-state) can never be erased and gets replicated on every server connecting.

XMPP on the other hand is specifically optimized to be highly scalable (proven to work with billions of users) and tries to minimizes the metadata data-sharing between servers (although that could still be improved).

[–] [email protected] 0 points 3 years ago

This is exactly the conclusion I came to from reading your comments here and researching some more. I dropped matrix, and chose to go ahead with XMPP. Works great & very little overhead, even on the cheapest of servers.

[–] [email protected] 2 points 3 years ago (2 children)

I tried snikket but couldn't get video calls to work unfortunately... Do you know of a good guide that explains how to do set up video calls?

[–] [email protected] 2 points 3 years ago (1 children)

It should work out of the box, but video calls are especially difficult to establish on some mobile phone networks using CG-NAT. Make sure you have the right ports open for STUN/TURN on your server, otherwise maybe ask on the Snikket support chat room?

[–] [email protected] 2 points 3 years ago (1 children)

Thanks. Do you know how to test if a phone network uses CG-NAT?

[–] [email protected] 1 points 3 years ago (1 children)

Basically all do, but some are worse then others. Check if it works when using the same wi-fi connection first.

[–] [email protected] 0 points 3 years ago

Yes. Prosody/conversations video + calling works on my wifi & also on wifi to mobile1. But does not work for 'mobile1' to 'mobile2' data.

[–] [email protected] 1 points 3 years ago

I'm having the same calls issue with Prosody server. It's because of NAT routers on mobile networks. Apparently need to setup a stun and turn server

[–] [email protected] 0 points 3 years ago* (last edited 3 years ago) (1 children)

Thank you. I ended up doing this.

However snikket has some shady funding.

I went for prosody server and set my family up on conversations, blabber, and chatsecure clients. Works great for sending text, pics, videos, voice clips, and e2e encrypted.

As a linux beginner, it was prety easy to setup (provided you have the time). Only issue is with voice/video calls. They use p2p instead of going thru sever, so can't connect well especially on mobile networks behind NAT. Apparently I need to setup up a stun & turn sever.

[–] [email protected] 0 points 3 years ago

However snikket has some shady funding.

Hmm, where did you get that impression? They are funded by the EU Commission / NLnet.

And besides... Snikket is made by one of the main Prosody developers, so it would be the same funding ;)

But if you got your Prosody server to work fine, no need for Snikket at all :)