by curiousmindz · 5y ago · 0 comments
Has anyone found a publication around what they had to do on the technical side (code)?
Edit: Their server's repo hasn't been updated since April 2020. Why?
If you compare it with Matrix, the last commits to Synapse were ~32 hours ago, Dendrite was ~31 hours ago, and Conduit was 3 hours ago - so you can keep up with where development is at, and of course see what is meant to be running in production (and run it yourself if you're able to).
My assumption is that what's happening is that Signal-Server is going through contortions to switch everything to UUIDs, in order to avoid hardcoding phone numbers everywhere as identifiers, and this work is being done on a private branch. Meanwhile, there's presumably a private branch for the current live production deployment too. (For Matrix, we maintain a separate branch for the live matrix.org homeserver instance, to allow for hotfixes etc - although it's public, at https://github.com/matrix-org/synapse/tree/matrix-org-hotfix...)
I have given you flack over the Synapse migration path for server operators over the last few years, but this Signal outage brought home how important it is that Matrix is a more than suitable replacement for Signal among my family and friends, and how smooth it has been to run my Synapse server over the last year.
You and your team are doing an awesome job!
This comment of yours is only the second time I'm hearing of Matrix (the first time was several days ago, in a bunch of comments on an ASK HN discussing the WA policy announcement). And because of your comment (and the implication that Matrix is something one can run independently in production) I am now perusing matrix.org - thanks for sharing.
Also I enjoyed your insight with respect to the Signal dev team and what they're possibly currently frantically busy with.
Mind if I ask you, what your thoughts are on the Signal project long-term?
From the article you linked:
> It’s also true that decentralised systems are harder to evolve than centralised ones - you can’t just push out a given feature with a single app update, but you have to agree and publish a public spec, support incremental migration, and build governance processes and community dynamics which encourage everyone to implement and upgrade. This is hard, but not impossible: we’ve spent loads of time and money on Matrix’s governance model and spec process to get it right.
For me it seems to largely come down to a juxtaposition between the above risk (owed to Matrix) and the below risk (owed to Signal).
> you end up thoroughly putting all your eggs in one basket, trusting past, present & future Signal to retain its values, stay up and somehow dodge compromise & censorship… despite probably being the single highest value attack target on the ‘net.
Definitely something to think deeply about.
Might I add, as a complete Matrix newcomer, the description of its decentralised model in that article reminds me a bit of IRC in the 90s - except with solid encryption.
It certainly seems to make sense if liberty is one's priority.
Not really a privacy issue for the new user, since this is his public avatar, but a nice reminder for this issue that phone number are ill suited as identifiers
I am not even that interested in having a fixed phone number, I would rather ever changing throwaways for many contacts.
As soon as my number gets into the wrong hands, the fight against spam is painful, and I have to drop it.
Yes and no.. I think a resource like a phone number is better than the yahoo/etc email reallocation situation. So far it seems to be rarer that someone tries to get allocated a number to impersonate a previous owner's identity.
Quick question, semi-relevant: does the matrix.org homeserver have open monitoring? Is there someone I can look to see server load?
I’m curious whether Matrix saw a similar influx of users this past week.
1) a bahillion new signups, so they just needed to deploy a bajillion more instances of the server.
2) The clients basically DDoS'ing their servers.
If you look at the android client source, you can see all the commits they put in are about handling errors properly when the server(s) get overloaded.
We don't even know if the main @matrix.org server would have held and if federation would have keep working.
Not worth the cost? How much did whatsapp cost to Facebook? How much did whatsapp cost before that?
Matrix is also running on free and so far we have hosted server offerings but no single individual account offer.
This is argumentum ad populum.
> main @matrix.org server
There is no "main" server. matrix.org is the biggest one, but it is circunstancial. Matrix and Element do not want be the biggest instances or keep things under their control. I can bet that people working on Matrix would be thrilled with the idea of helping people create more instances, and even it would be beneficial for their business.
> Matrix is also running on free and so far we have hosted server offerings but no single individual account offer.
https://communick.com, there you go.
It's not circumstantial at all. You can't send off people to random server without telling them it might shut down because no one knows the owner or when he's going to stop paying for his experience. @matrix.org is the only place where I'd feel safe sending relatives if they want to onboard because it's the only place I know the matrix guys are going to keep running. Most posts I am seeing on HN these days stating registering a matrix account was easy did it on matrix.org.
I believe they should charge a fee. To avoid the GMail effect that got everyone a free email but trapped them in the end. And no, you can't jump as easily from one @something to @somethingelse because you lose your message history and attachments (that's where the often cited mail analogy fails us: with email you can take your email with you when switching). If this chat history doesn't matter BUT you have to find a way to export your contacts then I don't see why it's better than Signal for regular joes.
Two years ago I could run my own matrix instance on a small VPS. Now it requires too much resources, especially when it's federated. Also, the mail federation analogy falls short here because nothing prevents mail from circulating between @something and @somethingelse while matrix has it in its design to whitelist some federated servers.
> https://communick.com, there you go.
Not what I mean. I am not looking to forward this to people asking me "hey, how do I get on matrix ?" "here, set up or buy your own server". Where can I send them when all they want and need is a matrix address ? Where can they pay a small fee to keep their matrix address longterm without going through the hassle of maintaining/renting a server ? Matrix.org But we don't see a rush of new users on Matrix. I wish there were though but I am convinced Matrix and Signal don't address the needs of the same people. And that's certainly why every signal thread seem to attract matrix supporters and we get into that federated/centralized debate. Which has been beaten to death.
I don’t doubt there’s a lot of value in federated decentralized services, but there’s also a lot of value in confusion/configuration-free usability.
Thanks to comments endorsing matrix here, I will be installing it to try, but what Signal gets right is that it pretty much Just Works, and that’s the point GP is making. Frictionless UX coupled with cryptographic excellence make it compelling for lay people, and if it’s between Signal or nothing for the majority of nontechnical folk, then they’re better off using Signal.
Even in the case you have a very well federated system with users very dispersed and the federation had 100% uptime and no bugs... how does it affect uptime for users? A central server going down 1% of the time for all users is the same as 1,000,000 decentralized servers being down 1% of the time for their 1/1,000,000 users. Nobody cares others can use the service during an outage they care they can use the service.
Federation capability at the protocol (even if it's not used in a truly federated way) provides a lot of great features, uptime for users isn't really one though. The most relevant is probably when Signal shuts down intentionally (tomorrow or 1,000 years from now, doesn't matter) you can't just migrate to a different Signal server without all of your contacts moving to the same one. This is akin to taking your /24 with you to your new ISP, porting your phone number to a new phone provider, or taking your custom domain email from Gmail to a different host and the ability to do that on those federated systems is probably why they remain in use today.
This is a great case for GCP.
OTOH due to end to end encryption all the fancy features are implemented client-side so the server is very simple in scope. So maybe it's really feature-complete.