Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How speek is sharing files. #33

Open
k00lkd opened this issue Nov 24, 2022 · 2 comments
Open

How speek is sharing files. #33

k00lkd opened this issue Nov 24, 2022 · 2 comments

Comments

@k00lkd
Copy link

k00lkd commented Nov 24, 2022

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-App
Copy link
Owner

Speek-App commented Jan 11, 2023

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.

@k00lkd
Copy link
Author

k00lkd commented Jan 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants