Speek-App/Speek

How speek is sharing files.

k00lkd opened this issue · 2 comments

Speek says it have p2p file sharing feature. While transferring files I feel like the speed is too slow. I want to understand how files are shared. Are they really p2p or the file will be transferred over the tor network.

Speek always, when sending messages and sending files, utilizes the Tor network to establish anonymous and secure communication channels between users. Although it is also a P2P-System, as each client acts as both a server and a client, allowing direct communication with other clients without the need for a central server to mediate the communication.

That said, the file transfer is really close to unuseable slow for larger files (~30 KB/s). With the current design, after each chunk is sent, the recipient is sending a confirmation, after which the next chunk is sent. This is obviously very slow.

I made a few changes that utilize multiple concurrent chunk transfers, which in my limited testing sped it up to ~300 KB/s. I will push those changes later.

Thanks @Speek-App for explanation. 30 KB/s to 300 KB/s is significant improvement. Looking forward to use it. However I'm still curious how much you're planning it to push. Will we see like 10-20 MB/s transfer speed in the future or we have any limitation due to network.