4 ms·
Wormhole.app mentions that the transfer is p2p AND that the encrypted files are stored on the server for 24 hours. Does the client send two streams (1 to server
by klabb3 6y ago
Wormhole.app mentions that the transfer is p2p AND that the encrypted files are stored on the server for 24 hours. Does the client send two streams (1 to server - 1 p2p)? What happens e.g. if the receiver client comes online during an ongoing upload to the server?
- feross 6y agoIn that case we send two streams - one for the upload, and one for the receiver. We should probably optimize this further. I think pausing the server upload until the P2P transfer finishes would increase overall transfer speed.
- codezero 6y agoOr have both clients upload different parts to the server over the course of the transfer, and optimize for the client with the highest upload speed to do most of the heavy lifting (this assumes you want the server to definitely have a full copy first). Sounds like I'm saying make the server another peer as you may get even more transfer speed sending half the file to the server, then the other half from the server and sender to the receiver - depending on which you want to have the complete file first/faster/at all (more general).