Live data from Hacker News

Element Matrix Services Announces Element Home

element.io

161–169 of 169 posts

Re: Element Matrix Services Announces Element Home

#161

"Dedicated server" mentioned 4 times in that article. In hosting world, dedicated server means real physical server. I wonder if that's just marketing speak and in reality it's virtual server or they really install a separate server for every customer.

A dedicated server seems like overkill. A shared VPS works fine for many realtime applications, even fast-paced games that host 50 players concurrently that send out updates every 32 milliseconds, like agar.io, diep.io, or vnav.io. If I wanted lower latency, I would add WebRTC-based P2P chat for those who support it, to connect directly between servers.

I agree, I just think that this particular wording introduces unfortunate confusion. Virtualized cloud solutions should work just fine for most uses.

Re: Element Matrix Services Announces Element Home

#162

Earlier quoted context omitted.

A dedicated server seems like overkill. A shared VPS works fine for many realtime applications, even fast-paced games that host 50 players concurrently that send out updates every 32 milliseconds, like agar.io, diep.io, or vnav.io. If I wanted lower latency, I would add WebRTC-based P2P chat for those who support it, to connect directly between servers.

I wanted to add: "Dedicated server" in the cloud business refers to a 1-to-1 mapping between server and physical computer. A "virtual server" is one that maps onto a physical computer when it actually needs the CPU. There are generally two types of virtual servers: A very low-end one running ARM or Intel ARM slower than your typical 1.3GhZ laptop, and a very high-end one typically used for CPU-bound applications. The…

There are cheap dedicated servers, for example check out scaleway. I think they're around $10/month. They're slow Intel Atoms, though.

Re: Element Matrix Services Announces Element Home

#163

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.

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?

Re: Element Matrix Services Announces Element Home

#164
The only thing stopping me from moving away from the matrix.org homeserver is the fact that I already have an account and chats there.

Sure, I could rejoin all my rooms from a new account on a different homeserver. But that’s not exactly an elegant solution.

I’m looking forward to when account migration is a solved problem. That’s one of the more impressive and daunting parts of the Matrix spec that I’ve seen.

Re: Element Matrix Services Announces Element Home

#165

Earlier quoted context omitted.

> The entire point of this service is that they do the management for you - if you would rather do the management yourself, you totally can. I want them to manage it and also let me upload patches. I want the setup, DNS, storage, hosting, all the sysadmin stuff... and still be able to patch the software. I want them to be able to `git pull` an update over my patches, and have it carry forward after updates. I want th…

Interesting - do you know of any service that does this? I'm curious as to how exactly you want it to work. Rereading your comment, I agree DNS and backups make sense, but upgrading the application itself still seems somewhat fraught. If your patch doesn't apply on an update, what should happen? Don't upgrade and send you an email? Do they upgrade the rest of the system it runs on? Do you want to be able to run other…

> If your patch doesn't apply on an update, what should happen? Don't upgrade and send you an email?

Get a new version of the patch for that new version from the patch author, which is included in patch metadata.

Re: Element Matrix Services Announces Element Home

#166

Earlier quoted context omitted.

> The entire point of this service is that they do the management for you - if you would rather do the management yourself, you totally can. I want them to manage it and also let me upload patches. I want the setup, DNS, storage, hosting, all the sysadmin stuff... and still be able to patch the software. I want them to be able to `git pull` an update over my patches, and have it carry forward after updates. I want th…

As amusing as it'd be to let people patch their synapses with buggy/vulnerable code and wreak havoc in our datacenter, we're not going to. If you want to run a custom server, run it yourself.

> As amusing as it'd be to let people patch their synapses with buggy/vulnerable code and wreak havoc in our datacenter, we're not going to.

Each Matrix instance is isolated and "dedicated", so one can only wreak havoc on their own instance. Just provide backups and revert when people mess up.

Re: Element Matrix Services Announces Element Home

#167
post #136

Earlier quoted context omitted.

Strace says Desktop Element crashes after a series of calls to recvmsg; one returns 32 bytes, then four fail with EAGAIN. Gdb says SIGSEGV at 0x000055555a03b652, which points into /usr/bin/element-desktop, v1.7.21 from packages.riot.im/debian/. So, probably not a dependency.

Looking on Element Web/Desktop's issue tracker: https://github.com/vector-im/element-web/issues?q=is%3Aissue... there are no open issues concerning segfaults currently. If you file a bug report with the details requested in the template then we'll be able to investigate and fix it, just as we did for https://github.com/vector-im/element-web/issues/13553 (for instance). Otherwise, expecting us to be aware of this and…

Thank you, that saves me time searching for dups. You'll have to forgive me, in 30 years I have only ever seen one bug fixed in response to a report I filed online.

But hope springs eternal: https://github.com/vector-im/element-web/issues/16599>.

The stuck messages are still there, in a newly upgraded Android Element 1.1.0, same as in the last two upgrades to 1.0.14 marked (2021-01-30) and 1.0.17 (2021-02-14). Other people report the same: https://github.com/vector-im/element-android/issues/2494>

Android Element 1.1.0 seems to spam the notifications log with "Listening for events", "parcel size: 992", a bit less often than previous versions. I see it now at 22:16, 22:17, 22:18, 22:20, 22:35, 22:43, 22:49, 22:51, 22:53, 22:56, 23:00, 23:21. Better than 2x/minute.

I can imagine that the slowness (endless spinner when scrolling back in a room transcript) might be a consequence of delays in my homeserver -- privacytools.io -- but the app offers no hint as to where the stall is. Does my homeserver have anything to do with slowness of rooms ? I also don't see any way to check the version of Synapse running on the homeserver. Should I be able to find that?

An example of a very slow scrollback room is #_oftc_#mobian:matrix.org.

Re: Element Matrix Services Announces Element Home

#169

Earlier quoted context omitted.

Interesting! Were you able to set up a fully encrypted TURN server to use with Matrix? Any tips? I wasn't able to succesfully.

If you pop in to #voip-tester:librepush.net I may be able to lend an ear at least. You won't be the first (nor the last, though if I can have the chance to improve that at some point I would love to) person to have struggled with it.

Thanks for pointing me in this direction!
Post reply on HN