telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.16k stars 5k forks source link

Switching proxy “bumps” the upload speed #5325

Open brawaru opened 5 years ago

brawaru commented 5 years ago

Description

When you switch proxy, you get a huge speed “bump,” means your upload speed is getting higher than it was before you switched the proxy, even if you switched back to the previous proxy. The next file (if there is queue) will be uploading slower than the file when you switched proxy, but you can repeat steps to get “bump” again.

When I say “huge,” I literally mean there is a big difference between standard upload speed and when you “bump” it with proxy switching:

Still, Telegram upload speeds are pretty bad ;—;

Steps to reproduce

  1. Start uploading a file
  2. Switch proxy

Expected behavior

Speed stays the same or even better, being as if you'd switch the proxies.

Actual behavior

You are getting higher upload speed even if you switch back to the previous proxy.

Configuration

Operating system: Windows 10 Insider (Pro), 10.0.18262

Version of Telegram Desktop: 1.4.4 Beta

Used theme:

I made a demo video where I show how it exactly works, I also used stopwatch on my phone to show an elapsed upload times in seconds.

Aokromes commented 4 years ago

and... what's the problem of get better performance? xd

brawaru commented 4 years ago

The problem is not getting it without having to switch proxies back and forth.

stale[bot] commented 3 years ago

Hey there!

This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

brawaru commented 3 years ago

The problem is still there. Ideally, you should get the same higher speed as when you do the trick with switching proxies. This has nothing to do with proxies themselves, you can toggle proxy on and off and it'll improve uploading speed, rather it's something with uploading mechanism itself.

stale[bot] commented 3 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Remu-rin commented 3 years ago

Still relevant.

sirweazel commented 2 years ago

With this issue, there isn't an actual proxy involved correct? If there is a proxy involved, then I could see a proxy actually slowing things down. I've noticed since one of the updates, that the "disable proxy" setting is not being honored upon startup. So when opening telegram, it uses the system proxy settings in windows via IE internet options and toggling back and forth makes telegram actually use the settings. So I wonder if this is related to that issue, which someone else reported?

brawaru commented 2 years ago

I don't think it's related to this issue, and yeah, in this issue actual proxy is not involved, it's just that Telegram uploading/downloading speed improves upon switching between any proxies, which I would consider a bug and wish such speeds were the default.

Neurotoxin001 commented 2 years ago

After switching from https://github.com/kotatogram/kotatogram-desktop to TDesktop issue with upload speed became very noticeable. Kotatogram has upload speed boost feature and it's really works, speed ups to 200-300% in comparison with TDesktop.

I wondering why there is no ticket with feature request about boosting upload speed. https://bugs.telegram.org - here I can't find it too.

stale[bot] commented 2 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Neurotoxin001 commented 2 years ago

+

Neurotoxin001 commented 2 years ago

Try 3.7.6 beta, I can't reproduce it

brawaru commented 1 year ago

Oh, sorry. Yea, I cannot reproduce this either, with introduction of Premium speed got ever so slightly faster and toggling proxy doesn't seem to affect it anymore.

brawaru commented 1 year ago

NVM! While testing with switching Telegram proxies became harder due to lack of those (since Russia for example does not block Telegram anymore), actually reconnecting your internet while Telegram is uploading gives you a significant speed boost.

Steps to reproduce:

  1. Start uploading a large file.
  2. Turn your internet adapter on/off or enable/disable whichever VPN you use (just cause a brief disconnect).
  3. Notice file uploading speed.

Expected behaviour: Telegram uploads at best speed from the beginning.

Actual behaviour: Telegram uploads at the worst speed, but will upload significantly faster after reconnecting.

https://user-images.githubusercontent.com/10401817/183469783-7e02d9dd-7043-41a3-bb1a-9a75cd4c192a.mp4

Neurotoxin001 commented 1 year ago

4.2 still have it but not proxy. When I turn off / reconnect my VPN - upload speed is bumps from 3mb to 20mb. But it's still slow (I have 100mb connection), so we need it - https://github.com/telegramdesktop/tdesktop/issues/17272

Neurotoxin001 commented 1 year ago

Can you reopen it or I create new? 4.2.1 bumbs upload speed after VPN reconnect

Neurotoxin001 commented 1 year ago

4.2.4 bumps upload speed after switching proxy too, lol

Neurotoxin001 commented 1 year ago

4.4.1 issue is still here. You think it's ok that you don't fix speed issues for more than 4 years?

github-actions[bot] commented 1 year ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Neurotoxin001 commented 1 year ago

+

github-actions[bot] commented 7 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Neurotoxin001 commented 7 months ago

+

Aokromes commented 1 month ago

test on 5.0.1

Neurotoxin001 commented 1 month ago

Uploading speed is now much better, but sometimes it's getting slow and switching proxy still “bumps” the upload speed

github-actions[bot] commented 1 month ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

brawaru commented 1 month ago

Oh it waited for MY response? I can pretty much reproduce this, but it's what @Neurotoxin001 said, the speeds are a lot better now, but switching proxies still bumps the speed even more, esp in cases when for whatever reason speeds drop.