@pete@social.cyano.at avatar

pete

@pete@social.cyano.at

This profile is from a federated server and may be incomplete. View on remote instance

[Question] Why is Matrix mentioned more often than XMPP in self hosted forums?

I'm looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP?...

pete ,
@pete@social.cyano.at avatar

@cyclohexane I can only speak from my personal experience having hosted both XMPP and Matrix for friends/family before.

Ran XMPP (eJabberd) for round about 10 years and it never really was a trivial process, neither for me as admin nor for my friends/family with regards to parcipating.
Basically, back then, I had to manually extend eJabberd with a bunch of XEPs (namely push notifications, message carbons and message archive) to increase the useability and user convenience to even stand a chance getting people on board and able to use the system. The client ecosystem was not quite there yet either - Conversations for instance had just come around to shaping up for android, Gajim for cross-platform was pretty fine though.
Let's not talk about E2E encryption either: GPG - not a chance, OMEMO was just coming around as well and was not yet very reliable.

Matrix on the other hand was quite the breakthrough for me as an admin with regards to user acceptance. I do believe that a big part of that comes from the concerted effort to have a unified client (Element) available on any platform - web, fat clilent, mobile client.
By now there's also a ton of cross chat platform bridges which also greatly serves as a "selling point" towards users. And most imporantly, again in my humble opinion, the required technical knowledge barrier for users is just not comparable to XMPP.

Don't get me wrong, I've learned so much as an admin setting up and hosting XMPP and for a short while I even had a PoC going at work to try and advocate the protocol, but in the end Matrix feels like a worthy successor to me.
It allows me to convince "normal users" to use a federated, self-hosted and free chat platform reliably - and that's what mostly matters to me :wink:

pete ,
@pete@social.cyano.at avatar

@Templa Online play might be out of the question toninght. Their server's are getting hammered as we speak - thankfully there's always full offline mode now, but I can see how people would hesitate on using that.
Just a matter of patience I guess :wink:
I am, however, quite impressed with the good customer relations coming from the developer. They're pretty transparent with status updates on the login issues right now. I can respect that alot.

pete ,
@pete@social.cyano.at avatar

@Templa @DracEULA It looks to me like they added to the graphics crispness and animation fluidity? Looks really, really good now to me.
Also, cannot wait to try out my support/healing Paladin in group play :smile:
Hopefully online play will be fully stable in a few hours from now. I managed to log in just a couple minutes ago, yet transitioning to other areas was still pretty broken or lagging(?).

pete ,
@pete@social.cyano.at avatar

@chloyster I've been playing Last Epoch... far too much... definitely, absolutely too much of Last Epoch - please send help! 😆

pete ,
@pete@social.cyano.at avatar

@chloyster Guild Wars 2 World vs World and Ghost Recon Breakpoint (which was on deep discount). The latter appears to have been mostly turned around with regards to its release bugs but I am still in the process of gauging the capability of the enemy AI.
The fact that you can tweak the gameplay details on a scale of "the division Style looter shooter" right up to "almost mil-sim" levels is quite impressive to me.

pete OP ,
@pete@social.cyano.at avatar

Ironically, if I would have had more services running in docker I might not have experienced such a fundamental outage. Since docker services usually tend to spin up their exclusive database engine you kind of "roll the dice" as far as data corruption goes with each docker service individually. Thing is, I don't really believe in bleeding CPU computation cycles by running redundant database services. And since many of my services are already very long-serving they've been set up from source and all funneled towards a single, central and busy database server - thus, if that one experiences sudden outage (for instance power failure) all kinds of corruption and despair can arise. ;-)

Guess I should really look into a small UPS and automated shutdown. On top of better backup management of course! Always the backups.

pete OP ,
@pete@social.cyano.at avatar

Hear hear! You don't own a backup if you've never restored it before. Words to live by both in corporate and self-hosting environments.

pete OP ,
@pete@social.cyano.at avatar

at least weekly mysqlcheck + mysqlddump and some form of periodic off-machine storing of that is something I'll surely take to heart after this lil' fiasco ;-) sound advice, thank you!

pete ,
@pete@social.cyano.at avatar

You're quite bold - I like it ;-) in all honesty, is your requirement mounting an NFS share? As indicated by @chris it really is designed for the local network.
How about using something more suited like a WebDAV share/mount?

pete ,
@pete@social.cyano.at avatar

Excellent choice. I'm running a physical Routerboard and a virtual RouterOS inside my hypervisor for redundancy.
The license for virtual RouterOS is dirt cheap and has more features than you could ever dream of with any of the the big network device manufacturers.
The physical devices are very well designed for their relatively modest price and likewise fully featured. Perfect for any home lab or to play around with IEEE conform protocols.

Home server crashing randomly

Hi everyone, I host a server with few services running for my family and friends. The server freezes sometimes. Where the services stop responding. If I try to ssh into the server, it takes a lot of time (3 to 5 mins) for it to connect. After being connected, every letter I type takes 2 to 3 mins to appear on screen....

pete ,
@pete@social.cyano.at avatar

I don't see a clear indication that you have too low RAM... RAM should be "used" fully at all times and your "cached" RAM value suggest you still have quite a bunch of RAM that could potentially be consumed by applications when they need it.
I cannot clearly see a swap usage in the graphs - that would be an interesting value to judge the overall stability of the system with regards to fluctuating RAM usage.

However, once you notice the problem again, right after you manage to log in, run a "dmesg -T | grep -i oom" and see if any processes get killed due to temporarily spiking RAM consumption. If you're lucky that command might lend some insight even now still.

Also, what if you run a "top" command for a while, what's the value for "wa" in the second line like? "wa" stands for I/O wait and if that value is anything above 5 it might indicate that your CPU is being bottlenecked by for instance hard disk speed.

pete ,
@pete@social.cyano.at avatar

You're right - I missed that detail. From the graphs alone it looks as if a process ate up all still free to claim (cached) memory, then the system stalled possibly thrashing until OOM kill intervened - as indicated by large chunks of RAM being freed. Allocated RAM in red lowering and cached RAM in blue rising again.

Most emotional moments in games? (SPOILERS)

Just for the heads up, this thread will probably have a lot of spoilers. I’m gonna try to go vague on spoilers for anybody that hasn’t played Hotline Miami 2. If you’ve played the game, you’ll probably know what I mean, but I’m going to say some purposefully esoteric shit to keep it out of full spoiler territory....

pete ,
@pete@social.cyano.at avatar

Played that one only 2 or so years after my mother's succumbing to cancer.
That game helped me im more ways than one - fantastic experience, still can hear some of the musical themes of it in my head as I type this out.

pete ,
@pete@social.cyano.at avatar

Take a look at Calibre-Web (github.com/janeczku/calibre-we…) which I've been using for what you ask for quite a while now. As the name suggests it can also take advantage of a pre-existing Calibre eBook Database.

Synology Photos Slow

I recently acquired a second hand DS216j with 6TB (SHR1 so only 3TB is usable). I moved all my Google Photos images and videos onto it, but now when I access it through QuickConnect it loads them really slow, the videos are constantly buffering and when they load they have a messed up framerate (really jittery). I have a 500...

pete ,
@pete@social.cyano.at avatar

500 fibre connection means it is a 500mbit internet uplink?
Have you checked whether the ethernet cable you're connecing the DS216j to your router is a "Cat5e" cable. If it is a "Cat5" you would be limiting and thus bottlenecking your bandwidth to 100mbit max.

pete ,
@pete@social.cyano.at avatar

There's something to that claim. Sending uncompressed (i.e. not transcoded) video content over the internet can easily saturate your internet link.
Do you have CIFS/Samba, in other words Windows Network Explorer access to the files on the NAS via your local network? If so try directly opening a video and look at the network dashboard of the NAS and/or your computers task manager (performance -> ethernet tab) to see to what mbit bandwidth the not transcoded stream amounts too.
Consider that the exact same mbit bandwidth will be needed using Synology QuickConnect to view media from outside of your local network.

If you want to work around all that you would probably have to look into something that buffers/transcodes your media, something like Jellyfin/Plex or the likes. For that you'd have to look into running Docker on the NAS but that'll plunge you into self-hosting very deep very fast and may be beyond your initial comfort zone.

pete ,
@pete@social.cyano.at avatar

M500 broadband package boasts average download speeds of 516Mbps and average upload speeds of 52Mbps

So, while viewing media from outside your local netwwork, i.e. via Synology QuickConnect, you're limited to 52mbit speed.
If you're self-hosting upload speed matters alot unfortunately. You will surely need something that buffers / transcodes your media for viewing from the internet.

pete ,
@pete@social.cyano.at avatar

I would not upgrade the contract, even if you go beyond your 50mbit UPLOAD speed you won't be sure that no buffering and hence drop in streaming will happen. Note you have a "500Mb Broadband" contract but the upload is limited to 50Mb. Asymmetric bandwidth is typical for "consumer" internet you mostly consume/download - contrary to "hosting" internet uplinks which typically are symmetric and very pricey since you are typically hosting/uploading.

You need specialised software to make sure you can transmit big, uncompressed real-time data (which video basically is) over the internet. It's basically what Youtube does for its users.
It hosts arbitrary uncompressed video data you upload to it (this is your NAS - which you have now) and then displays that data to users on the web in a compressed, streaming fashion (this is what streaming software would handle - which you do not have yet).

In your scenario issues will arise, naturally.

pete ,
@pete@social.cyano.at avatar

What model is the router? I suspect it is a router your provider equipped you with? In that case, with a 500Mb download bandwidth contract it would be really crazy of your provider to hand you a router with 100Mb ports ;-)
In either way looking up specifications of the router model will help here.

pete ,
@pete@social.cyano.at avatar

Deep Rock Galactic - I should have probably picked it up earlier. It's such a wonderful co-op game with so many memorable, epic moments happening.
Very charming atmosphere, too.

Thank you for all the help!

Hi there, I was intrigued by the idea of self-hosting my social media accounts, but was more or less a complete noob with all things hosting. However, with the help of the community here (and quite a few hours spent on it) I finally have a working setup! Mastodon, Matrix, Lemmy, Nextcloud all self-hosted behind Nginx Proxy...

pete ,
@pete@social.cyano.at avatar

It's pretty solid for 1:1 calls, and they are currently working on Matrix's own conferencing protocol/solution.
But until then you could set up a Jitsi Meet instance along with Matrix to run multiple user calls.

pete ,
@pete@social.cyano.at avatar

Plus, Jitsi Meet will allow you publicly available video conferencing which is really nice to have on its own. ;-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines