Hacker News new | ask | show | jobs
by adidalal 1937 days ago
For those interested in self-hosting the home server, I would recommend https://github.com/spantaleev/matrix-docker-ansible-deploy - the documentation is fantastic and it’s very well maintained.
3 comments

I'm personally waiting for Dendrite. Apparently the beta is usable now, setting it up has been on my to-do list.
I self host Synapse for personal use, what are the expected benefits of Dendrite? Is it mostly the performance gain of Go versus Python, or are there other reasons to be looking forward to Dendrite?
My main issue with self-hosting has been federation bandwidth requirements. I joined the very quiet `#homeowners:matrix.org` announcement room, but because almost 600 other people are in there my server was inundated with presence messages (just in case I wanted to know which of those 600 were online right now).

Oh, and there's no way to prevent receiving these messages. They arrive on the same endpoint as non-presence messages, and you can't signal to the sender to stop sending them.

I’ve been hosting my own matrix server for just a few months now. I have a small handful of users. Bandwidth hasn’t been a problem for me, as I’ve only served 5GB in the last 30 days. It’s the sheer number of requests that the server handles that I find staggering. In the last 30 days, my server has handled 1.3mm requests!

It seems like everything polls for data, which I see as wasteful. I recently saw they were adding socket support in a recent MSC... hopefully that will help.

Unfortunately not a solution for federation with other servers, but you can disable presence on Matrix servers you control.

For this playbook, use these variables:

  matrix_synapse_use_presence: false
  matrix_client_element_enable_presence_by_hs_url: {"https://matrix.yourserver.com": false}
Thank you. I had that set for my server, but I just wish there was a way to tell other servers not to send them. Disabling them on my server turns them in to a no-op, but it still has to process all those requests.
The minute you mention Github, you lose 98% of human beings? This is clearly aimed at those who just want something to work out of the box, surely? HN is not the target audience I guess.