Live data from Hacker News

Signal Is Back

twitter.com

11–20 of 158 posts

Re: Signal Is Back

#11
Is it technically possible to have end to end encryption with Signal if it evolved to first attempt to use direct connections via RTC or some other method?

If they're incurring serious costs to run, that tells me Signal's days are numbered until it has to start commercializing.

Re: Signal Is Back

#12

We rarely get to see an app have to grow suddenly like that. And with Signal being open source, it must be very educational to follow. 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? https://github.com/signalapp/Signal-Server

The problem is 2 fold.

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.

Re: Signal Is Back

#13

Is it technically possible to have end to end encryption with Signal if it evolved to first attempt to use direct connections via RTC or some other method? If they're incurring serious costs to run, that tells me Signal's days are numbered until it has to start commercializing.

More users and more attention also means more donations. I sent them something yesterday as a show of support and have set monthly donations as well.

Re: Signal Is Back

#14
post #12

We rarely get to see an app have to grow suddenly like that. And with Signal being open source, it must be very educational to follow. 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? https://github.com/signalapp/Signal-Server

The problem is 2 fold. 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.

Anyone know if these commits are already in App Store and Google Play? I looked for a Signal update on iOS just now and did not see one.

Re: Signal Is Back

#15
post #9

As Signal is a non-profit what are the possible solutions to reduce costs going forward while maintaining availability?

How about a federated solution? I'd be happy to run my own conversations on my own server.

It's called Matrix and it already exists. The most popular client is element, you can host your own instance, it has e2e encryption on by default and it doesn't require identifying data like phone numbers.

Re: Signal Is Back

#16

Is it technically possible to have end to end encryption with Signal if it evolved to first attempt to use direct connections via RTC or some other method? If they're incurring serious costs to run, that tells me Signal's days are numbered until it has to start commercializing.

This came up on the forum and someone raised a good point - would direct connections require the sender and receiver to be online at the same time? I feel like the architecture has to be more clever than just a WebRTC connection between clients.

Re: Signal Is Back

#17

Is it technically possible to have end to end encryption with Signal if it evolved to first attempt to use direct connections via RTC or some other method? If they're incurring serious costs to run, that tells me Signal's days are numbered until it has to start commercializing.

I'd imagine that would leak your IP address to your chat partner, which is undesirable in many cases

Re: Signal Is Back

#18

As Signal is a non-profit what are the possible solutions to reduce costs going forward while maintaining availability?

Move from the cloud to k8s hosted on their own metal. The Signal server is simplistic (a compliment), it’s the bandwidth that you’re going to get raked over the coals for at cloud providers. Burst to the cloud for outlier events.

If I'm not mistaken, signal is specifically hosted on AWS to so that governments can't just blacklist their IPs without blacklisting all of AWS. So moving to bare metal isn't really an option.

Re: Signal Is Back

#19

Is it technically possible to have end to end encryption with Signal if it evolved to first attempt to use direct connections via RTC or some other method? If they're incurring serious costs to run, that tells me Signal's days are numbered until it has to start commercializing.

This came up on the forum and someone raised a good point - would direct connections require the sender and receiver to be online at the same time? I feel like the architecture has to be more clever than just a WebRTC connection between clients.

> would direct connections require the sender and receiver to be online at the same time?

Could always use 'indirect' connections to store-and-forward, and only relying on the central server when absolutely necessary.

You do risk some lost messages when you underestimate failures, but the same thing applies to any central store-and-forward facility.

Early Kazaa depended on some nodes becoming supernodes. Supposedly initial Skype was decentralized like this (particular to get around NATs), until it became exclusively client-server.

Re: Signal Is Back

#20

Earlier quoted context omitted.

Move from the cloud to k8s hosted on their own metal. The Signal server is simplistic (a compliment), it’s the bandwidth that you’re going to get raked over the coals for at cloud providers. Burst to the cloud for outlier events.

If I'm not mistaken, signal is specifically hosted on AWS to so that governments can't just blacklist their IPs without blacklisting all of AWS. So moving to bare metal isn't really an option.

[deleted]
Post reply on HN