Live data from Hacker News

A Desperate Plea for a Free Software Alternative to Aspera (2018)

ccdatalab.org

111–120 of 172 posts

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#111
post #58

Earlier quoted context omitted.

Zip is now effectively obsolete. Good ones lately are Zstd and Lz4, depending on your needs. Lz4 doesn't compress as much, but it is very, very fast. Zstd compresses better than Zip, and unpacks many times faster. It can re-use a custom dictionary saved off from a previous compression, so you can get quick startup time for later fragments.

Zip is just a file format, it supports multiple compression algorithms. You can put any compression algorithm in a zip implementation. I mentioned it because it's the oldest and most well known. The parent would probably be best off using one of the specialty genomics compression tools, that's why I linked to them.

I thought ZIP files only supported a bunch of old algorithms like deflate. Maybe you can make an exotic zip file with zstd but doubt there are any tools that will understand it.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#112
post #58

Earlier quoted context omitted.

You can compress your data beforehand using zip or another tool. Eg. Tools like https://en.wikipedia.org/wiki/Compression_of_Genomic_Sequenc...

Zip is now effectively obsolete. Good ones lately are Zstd and Lz4, depending on your needs. Lz4 doesn't compress as much, but it is very, very fast. Zstd compresses better than Zip, and unpacks many times faster. It can re-use a custom dictionary saved off from a previous compression, so you can get quick startup time for later fragments.

Nitpicking a bit, but a format that is still used ~90% of the time is not obsolete. Not optimal (anymore) is what you meant, I think.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#113
post #105
post #44

Ex Aspera Dev here. I did the encryption and early parallel work. There is a lot of good science behind fasp. An advantage it has over IETF protocols is that both ends trust one another. Another advantage, until recently, was out-of-order delivery. The protocol totally ignores drops, for flow control. Instead, it measures change in transit time. The receiver knows, the sender needs to know, but the useful lifetime of…

I'm curious how much the observed speed of Aspera on the Internet might rely on "nicer" protocols (TCP) backing off as Aspera causes congestion^H^H maximises link utilisation. Do you think the protocol might cause problems if it were more widely used?

Excellent question.

Interestingly (at least, I find it interesting) fasp can happily use up all the bandwidth the various TCP streams aren't using without affecting TCP rates at all. It also backs off and shares bandwidth with other instances of itself or other well-behaved protocols. With some coordination between them, multiple senders can share the available bandwidth in any chosen proportion.

So, you can set up where A always gets 70% when it is sending at all, and B, C, and D share whatever is left when they have anything to send, but all without ever slowing whatever TCP traffic is running. An administrator can (literally) drag up and down the rates of ongoing transfers according to organizational priorities.

That sort of featurism is part of why Aspera can command crazy prices.

It sounds like people are getting good results with fdt. It leads me to wonder if fdt has any of this good-network-citizen capability. A lot of people using fdt and making the net worse for everybody else would be an unfortunate outcome. Aspera was pretty careful about it.

(I keep trying to write ftd, but that is the florist service.)

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#114

I benchmarked Aspera against alternatives for getting data from on-prem storage into the cloud (google cloud storage) a year or two ago on a 10Gbps link. Aspera was faster on a single stream, but if you have a lot of files to move around (you usually do) you can just multiplex a bunch of tcp streams to get the same throughput. So like in the example on their page, if you have 20 wget's hitting their ftp and there are…

Even if you have only the one large file, can't you segment it? That's what I do for my consumer level use case anyway. Using a nonsegmented ftp client to download a file I get like 2MB/s, and when its segmented I max out my download rate at 20MB/s.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#115

Try looking at bbcp perhaps? http://pcbunn.cithep.caltech.edu/bbcp/using_bbcp.htm

bbcp doesn't work so well for some reason. Where I used to work we had a senior dev that claimed that he could just repurpose bbcp for this. Then he gave up and wrote something custom in c++. Then he rewrote it in go, but used (among other things) non-multithreadsafe primitives, then when asked to make it encrypted, he used epoll with tls (which is apparently not a thing in go? I don't know). I told him he should jus…

>On the other hand, maybe bbcp will work, and the senior dev just didn't know what he was doing

I mean... based on your description it sure sounds like he didn't know what he was doing.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#116
post #102

Earlier quoted context omitted.

Step one: send a file that's cryptographically signed. Step two: the client solves the problem of "which of these duplicate and conflicting packets do I need to assemble together to make a message that is appropriately signed?"

I solved it by cryptographically signing each packet. The signature was checked before decrypting the packet. Some customers (e.g. DOD) sent in clear, unsigned. They trusted their networks.

> Some customers (e.g. DOD) sent in clear, unsigned. They trusted their networks.

Wow. I had no idea. This may be one of the dumbest things I've ever read. Encryption is free.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#117

Earlier quoted context omitted.

If you think the best answer to predicting things is to just throw a neural net at it, you should probably learn more control theory. :) (Less flippantly - neural nets are mainly for the case where you can't effectively do manual feature engineering because your inputs are too varied and complex, you don't particularly care about the mathematical properties or guarantees of the solution, and where you don't even real…

I was thinking in terms of relative human effort. Adding a neural network into an open source project like bittorrent is going to be very fast to integrate and will probably offer performance that meets the satisficing criteria of being instantly better than the currently offered level of performance. Edit: By the way, I accepted your initial opinion about traditional approaches being better at face value but that wa…

> I realized that there is alot of interesting network data that could be fed into such a NN

Care to elaborate?

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#118
post #102

Earlier quoted context omitted.

Step one: send a file that's cryptographically signed. Step two: the client solves the problem of "which of these duplicate and conflicting packets do I need to assemble together to make a message that is appropriately signed?"

I solved it by cryptographically signing each packet. The signature was checked before decrypting the packet. Some customers (e.g. DOD) sent in clear, unsigned. They trusted their networks.

not true, although i'm sure there are one-off instances where there's no encryption. but in general there's lots of encryption on each of the different levels of secure government networks.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#119
post #102

Earlier quoted context omitted.

I solved it by cryptographically signing each packet. The signature was checked before decrypting the packet. Some customers (e.g. DOD) sent in clear, unsigned. They trusted their networks.

> Some customers (e.g. DOD) sent in clear, unsigned. They trusted their networks. Wow. I had no idea. This may be one of the dumbest things I've ever read. Encryption is free.

Didn't use to be. VIA/centaur was the first to add AES instructions, later picked up by Intel and AMD. Its not free, but not expensive.

A brilliant woman from, where, Slovenia? figured a way to use SSE instructions to encrypt just as fast as the built-in instructions, I think 2 cycles per byte.

I guess DJB's ciphers run much the same way, nowadays.

Re: A Desperate Plea for a Free Software Alternative to Aspera (2018)

#120

Earlier quoted context omitted.

I was thinking in terms of relative human effort. Adding a neural network into an open source project like bittorrent is going to be very fast to integrate and will probably offer performance that meets the satisficing criteria of being instantly better than the currently offered level of performance. Edit: By the way, I accepted your initial opinion about traditional approaches being better at face value but that wa…

> I realized that there is alot of interesting network data that could be fed into such a NN Care to elaborate?

I believe it would be an interesting exercise if you let the system decide everything, like how often the data is sampled, what information is shared and with whom, etc. Information it might share could be time of day, location, all sorts of routing data, data hashes, # of connections and host throughput rates, and so on. I just did a very quick search on arxiv about leveraging ML algorithms in software defined networking. My guess is that the starting state assumptions that are most important are whether it's a centralized (homogenous) or distributed (heterogenous) network. A fun problem.
Post reply on HN