Better HN
topnewbestaskshowjobs
Log inSign up

Arathorn

15,893 karma · joined Dec 8, 2010 (15y ago) · 2,629 submissions

Matrix.org project lead | CEO/CTO [Element](https://element.io)
Submissions

comment 4d ago · link · parent

If you're talking about https://www.euronews.com/2026/11/19/eu-commission-hit-by-lar... then that was an HR system; indeed nothing to do with Element.

comment 4d ago · link · parent

Many of them don't. But thankfully enough of them do (e.g. the EU Commission!) to make the situation better these days. At the current rate we might be able to finally start investing back in fixing some of the long-term problems outlined on this thread.

comment 5d ago · link · parent

Before we got acquired the team worked on SIP stacks. I’d already been thinking about HTTP based messaging APIs long before that, after a few years of SIP at Amdocs we created Matrix to be a modern successor to SIP. We later lost funding and spun out. Anyone who has ever looked inside a Matrix server can see there is no centralised metadata collection going on, and meanwhile we recently demonstrated metadata protected Matrix (encrypting it all via DMLS).

comment 5d ago · link · parent

Wire’s competitive marketing is not to be trusted, unsurprisingly. Only the servers participating in a given conversation can see its metadata.

Amdocs acquired the companies which hired the team who created Matrix, who happened to be based in UK and France. So no, we’re not Israeli telecom guys, and left Amdocs almost 10 years ago.

comment 5d ago · link · parent

> I heard that matrix shares metadata of all chats with any federated instance? Is that true?

No.

> Also, isn't it made by Israeli telecom guys?

No.

comment 5d ago · link · parent

Hm, speaking as CEO of Element - sorry. We don't deliberately ghost prospective customers, needless to say. Can you drop me a mail to matthew at element.io with the company name/contact so I can try to figure out what went wrong so we don't mess up like that in future?

comment 5d ago · link · parent

i'm sorry to disappoint, but Element finances aren't drying up :)

comment 5d ago · link · parent

Fascinating to see folks signing up to HN just to post this :D

The OP literally includes a video & quotes from the actual EU officials running the project which directly contradict whatever anonymous source Politico used.

comment 5d ago · link · parent

We're also in the process of (slowly) adding account portability to Matrix - I demo'd the first ever (rather anticlimactic) migration at the matrix conf last month: https://youtu.be/U5LRRNgvTZE?list=PLFDUAtPqCX98&t=1082

comment 5d ago · link · parent

Yup, and this is a video of EU officials saying what they actually think about the roll-out. https://bsky.app/profile/politico.eu/post/3mxtscilgec2p is also relevant.

comment 5d ago · link · parent

My talk (https://cfp.2026.matrix.org/matrix-conference-2026/talk/7GYB...) concretely shows how you add MLS to Matrix in a decentralised manner. You could go to https://aurora-tachyon.netlify.app/ and play with it via DMLS right now if you so desired.

Yes, arewemlsyet.com is stale as it refers to a much earlier project to swap Olm/Megolm for MLS, which lost funding in 2023. But these days the work is progressing again, as per the linked talks. We'll update arewemlsyet.com to reflect that.

In terms of Matrix's encryption being a "disaster" - the only concrete problem I'm aware of is the fact that group membership is server-controlled, so that a malicious server could add a visible malicious user (not device) to a room by spoofing an invite. The MLS work and other projects is addressing that, but how big a problem this really is in practice depends on their threat model.

comment 5d ago · link · parent

The reason Matrix typically consumes more resources than XMPP is because it's replicating a large DAG of state events (i.e. the key-value data associated with a room; not the room's actual messages) between all participating servers. So, in a room with 100K users, each server has to maintain at least 100K state events (every time someone joined a room, or changed their name, or left the room, or set permissions, or changed the room's name etc).

Then, whenever the state of the chatroom changes (e.g. you join it, or someone else joins it), each server has to resolve its view of the state of the room with the proposed change. We call this merge conflict resolution algorithm 'state resolution', and it's typically where the heaviness comes from, as a naive implementation loads up all the state events for the room in order to calculate and store the new state.

In exchange, you get fully decentralised access control, and an eventually consistent zero-trust distributed key-value store, with resilience to network partitions (including in P2P environments) - unlike (say) vanilla XMPP which applies access control and KV on a single given server per-conversation.

Now, the key thing is that *there is nothing in the protocol which makes this intrinsically heavy to implement*. The only reason that servers can be heavyweight today is simply because more time has been invested in chasing down more pressing issues like encryption issues, investing in client SDKs, speeding up sync responses, switching to OIDC for auth, etc.

The problem is made worse by the fact that Synapse (the original Python server) has historically been particularly clunky, skewing perception. Over the last few years this has improved significantly, although it could still be way better - at the Matrix Conference last month (https://youtu.be/kdEDxI2MCjA?list=PLFDUAtPqCX98&t=329) we showed off a fork which had improved CPU 10x by shifting the hot path entirely to Rust from Python. (It turns out that over 2026, we wrote as much Rust for Synapse as we did Python, ignoring tests). Further improvements would be to memoize the state res and calculate it incrementally rather than starting from scratch every time. Similarly, there are 100x improvements to be had on storage usage - e.g. by storing state temporally (c.f. my https://docs.google.com/presentation/d/1pKtLl4vCV3-8xz8crvxW... spike from last year).

So, why haven't these improvements landed yet? In practice, the team at Element who builds Synapse have had to focus on customer-driven work instead in order to keep the lights on, and frustratingly performance is lower down the todo list than other feature-work. On the plus side, over the last year or so Element has got into a much healthier state - hence us being able to show off the 10x improvements in Synapse last month (although they still need to land).

Meanwhile, elsewhere in Matrix there are other servers which are more actively focused on being lightweight right now (e.g. continuwuity), but don't have the maturity of Synapse (or the commercially supported distribution that Element provides). And even then, there's still a lot of headroom for speeding up and shrinking things - it should be very very doable to run Matrix on a tiny host like an RPi.

It's not a perfect analogy but I think of it as being similar to the evolution of DVCS systems. There's nothing intrinsically heavy or hard about replicating DAGs of source code between hosts, but Monotone was pretty slow and clunky while Git showed that a smarter implementation could be more than performant enough. The race is on to build the equivalent for Matrix.

comment 1w ago · link · parent

what server are you actually using? the admin portal you’re looking for is https://github.com/element-hq/element-admin.

comment 2w ago · link · parent

what things didn't work, and what server & version of Element were you using?

comment 2w ago · link · parent

The adoption issues are basically that the team who created Matrix (led by me) have ended up burning a lot of energy making the core protocol and implementations work well, and then chasing govtech revenue as a way to fund development: https://element.io/blog/digital-sovereignty-is-built-on-an-o... etc. As a result consumer uptake doesn’t have the focus it should have. We will return to it as soon as we can, however; meanwhile there’s nothing stopping others doing it too.

comment 2w ago · link · parent

fwiw, i'm sure y4my4my4m has good reasons for not using Matrix (beyond unable-to-decrypt memes) - i'd be genuinely interested to know what they are. For instance, i'm wondering if this is more about wanting to avoid being constrained by using an open standard, and instead being able to freestyle rapidly on top of activitypub? After all, it's much easier to go fast if you don't have to interop with anything else. Or consciously wanting to simplify the E2EE? Or having had a bad experience with Matrix server performance/complexity in the past?

comment 2w ago · link · parent

you really shouldn't be getting "unable to decrypt" or "waiting to receive message" problems in Matrix since ~Sept 2024. The only scenario is if you have logged out of all your devices (so the sender has no way to encrypt for you), or if network federation is so broken that messages are flowing indirectly by other servers.

comment 3w ago · link · parent

no, there shouldn't be; MatrixRTC calling has finally (after only 5 years of iteration :) stabilised. The biggest change is renaming the APIs from unstable to stable URL prefixes, but this should be invisible.

comment 3w ago · link · parent

Now should be quite a good time to set up a Matrix server fwiw; we are finally at the tail-end of the journey to Matrix 2.0 (instant sync; auth via OAuth; native multiparty e2ee calling; encryption which operates invisibly). https://matrix.org/blog/2026/10/30/this-week-in-matrix-2026-... gives an overview of where things are at. I'm biased, but by far the easiest and most robust way to run a Matrix stack should be https://github.com/element-hq/ess-helm#ess-community.

comment 3w ago · link · parent

it sounds like you had an awful experience with a specific client and/or server combo (or perhaps multiple ones). can you share which ones? as you say, there's a lot of effort going into it, so it's important to know if impression is based on outdated knowledge or whether you or others have had a bad time with the current generation.

comment 1mo ago · link · parent

If the European Commission actually thought Element was absolute shit, I don't think their management would have come along to The Matrix Conference last week and presented the project as a success: https://cfp.2026.matrix.org/matrix-conference-2026/talk/YHV8.... As someone else said, the quote is pure propaganda.

comment 1mo ago · link · parent

Roughly speaking, the concrete disadvantages of Olm and Megolm are:

* In the current Matrix implementation, server tells the clients what the group membership is, so a server could spoof an invite to add a malicious user to a room and you'd have to rely on social mechanisms to spot it.

* There's no way to force everyone to rotate the sender key at the same time.

* On the plus side, it decentralises relatively well.

The concrete disadvantages of MLS are:

* Vanilla MLS needs a centralised sequencing function for changing group membership.

* The key bundles are much larger.

* On the plus side, only clients within the group can add new users/devices, and everyone in a given epoch shares the same group secret, so when someone rotates everyone has to rotate to participate in the new epoch.

Now, the server-controlled membership problem can be solved with Olm/Megolm if you instead have the client control the membership, using Matrix itself to define which users are authorised to be in the room, by running the Matrix DAG merge resolution on the client as well as the server. I did this a few weeks ago (in prep for The Matrix Conference next week) to show viability; it works, and has the advantage that you don't have to blow up the whole crypto implementation.

On the other hand, MLS can also be made to decentralise. DiMLS (draft-xue-mls-decentralized) isn't the only option here; DeMLS is the one we've been working with (using the Phoenix DeMLS OpenMLS fork) on the Matrix side - and works by letting MLS epochs fork and then merge again later, using puncturable functions to avoid undermining forward secrecy. This is a much bigger change; we experimented with it a few months back; details here: https://www.youtube.com/watch?v=jc7yfec3iIQ. It's promising, it works, but is much more complex and experimental.

So, TL;DR: it's possible to use olm/megolm securely (even if it's had a mixed record); I doubt strafe is doing fancy client-controlled group membership though. Separately, MLS can be used too, but it is way more complex and has its own complications. On the Matrix side we're still pursuing both (and finally making some progress, although it's a very slow burn).

comment 1mo ago · link · parent

right, makes sense - thanks for answering. one other question if i may: for the folks suffering malaise, was that using Element X or Elment Classic (or Element Web/Desktop)?

comment 1mo ago · link · parent

out of interest, is that family/friends who don't like it? or broader tech community? which bit irritates the most atm?

comment 2mo ago · link · parent

Black Harvest (https://www.imdb.com/title/tt0103817/) is an incredible documentary; everyone should see it.

comment 2mo ago · link · parent

This will be referring to enforcing MSC4311 (https://github.com/matrix-org/matrix-spec-proposals/pull/431...) stripped state validation. Synapse announced a 1 year compatibility window to avoid ecosystem fragemtnation: https://github.com/element-hq/synapse/issues/19943. However, due to MSC4311 not better outlining how to handle compatibility, another server implementation chose to enforce the MSC more rapidly, breaking compatibility with everyone who hadn't yet implemented the MSC - including Synapse, which hadn't actually implemented it yet. Speaking as the lead of the Matrix Spec Core Team, we should have handled this better. https://github.com/element-hq/synapse/pull/19723 is the Synapse implementation which is now in the process of landing.

comment 2mo ago · link · parent

On the point of

> speaking of weird: how is it that these models, in a sandbox, with supposedly no way to communicate with other agents, manage to find the same public wikis as a scratch pad for agent communication?

It feels somewhat plausible that they're defaulting to the same search and picking the same top result?

comment 2mo ago · link · parent

One trick we've been playing with on the Matrix side is figuring out how to tunnel encrypted Matrix over other transports - so you could absolutely use it, layered on top of ATproto spaces, as a way to get E2EE DMLS metadata-protected realtime voice/video/chat but tied to ATproto DIDs and permissions. We're in the final stages of (at last) finalising MatrixRTC, the E2EE group voip stuff in Matrix, which would pair nicely with this.

The "portable Matrix" idea is currently nicknamed Tachyon, and is earlier stage at this point, although I did a Matrix Live about it a few months back: https://www.youtube.com/watch?v=jc7yfec3iIQ

comment 4mo ago · link · parent

> you don't see the CTO coming to chat about it.

Speaking as the CTO at Element (and proj lead for Matrix), i feel like i've spent a bit too much time coming to chat about Matrix on HN over the years ;)

That said, I agree that Bluesky is doing well in terms of breaking through into mainstream awareness - much more so than Matrix (although obviously big-world-social-media is something of a different beast to distributed-instant-messaging).

The reason Matrix hasn't done better here is primarily economic: we spent too much time and money building out Matrix for everyone in the early days... and not enough time focusing on building either consumer (as Bluesky has) or enterprise or government specialised products. We then got traction at Element on the government side of things (https://element.io/en/matrix-in-europe etc) as it turns out governments love their digital sovereign communications - which in turn meant that in order to get sustainable and survive we had to focus hard on building stuff for that market. Now, ideally the stuff which works for Govt would work for mainstream too (after all, we're generally competing with Signal and WhatsApp, which are of course mainstream apps) - but in practice it has been hard to get that balance right. You can see my <del>TED Talk</del> FOSDEM 2025 talk about the road to mainstream matrix here: https://www.youtube.com/watch?v=lkCKhP1jxdk

Meanwhile, the plan on Matrix is to get to profitability via Govtech and then invest the money back into improving Element (and Matrix) so it also works well for mainstream usage - so hopefully we'll get back on the radar then. It's a long haul though. Meanwhile, kudos to Bluesky for getting to focus on the mainstream use case; I'm jealous, and I hope they find a good sustainability model!

comment 4mo ago · link · parent

I've been keeping a record of the increasingly opinionated vocab it fixates on:

* Projection (it seems to love to describe one data structure as a projection of another)

* Strand (if some data gets isolated/stuck, it's "on a strand" or simply "a strand")

* Load-bearing (obviously)

* Frontier (the leaf on a tree)

* Quiescence (waiting for an algorithm to settle - I guess this one is legit)

* Honest (obviously)

* Residuals (any kind of data which hasn't been consumed by an algorithm)

* Rescission (something which has been rescinded; rather than saying "a rescinded offer" it enthusiastically calls it A Rescission!)

* Supersession (it's not a session which is a superset of another session... it's the word supercession; something that supercedes; similar to preferring the participle form of rescind).

I wonder how much of this is due to it mirroring proximate things to my code's own weird vocab though.

My favourite so far has been that I accused it at one point of playing whackamole by patching issues rather than getting to the bottom of a problem, and a few hours later it started to say things like "and i found mole 2 in CI" etc. For one minute I thought it was talking about the avogadro constant or backdoors or something until I realised it had committed to start calling newly discovered bugs 'moles' in its ongoing game of whackamole...

12345
88