tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Switching proxy “bumps” the upload speed

Open brawaru opened this issue 5 years ago • 26 comments

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:

  • 13.0 MB file:
    • Standard: 59.90s (avg. 222.23 KB/s.)
    • “Bumped”: 22.54s (avg. 590.59 KB/s.)

~~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.

brawaru avatar Oct 30 '18 03:10 brawaru

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

Aokromes avatar Jan 27 '20 20:01 Aokromes

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

brawaru avatar Jan 28 '20 12:01 brawaru

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!

stale[bot] avatar Oct 24 '20 00:10 stale[bot]

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.

brawaru avatar Oct 24 '20 10:10 brawaru

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!

stale[bot] avatar Apr 22 '21 11:04 stale[bot]

Still relevant.

Remu-rin avatar May 24 '21 02:05 Remu-rin

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?

sirweazel avatar Jul 20 '21 20:07 sirweazel

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.

brawaru avatar Jul 21 '21 01:07 brawaru

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.

Neurotoxin001 avatar Nov 20 '21 16:11 Neurotoxin001

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!

stale[bot] avatar May 30 '22 22:05 stale[bot]

+

Neurotoxin001 avatar May 30 '22 22:05 Neurotoxin001

Try 3.7.6 beta, I can't reproduce it

Neurotoxin001 avatar Jun 18 '22 22:06 Neurotoxin001

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 avatar Jul 08 '22 23:07 brawaru

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

brawaru avatar Aug 08 '22 16:08 brawaru

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 avatar Sep 18 '22 07:09 Neurotoxin001

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

Neurotoxin001 avatar Sep 23 '22 14:09 Neurotoxin001

4.2.4 bumps upload speed after switching proxy too, lol

Neurotoxin001 avatar Oct 26 '22 18:10 Neurotoxin001

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

Neurotoxin001 avatar Dec 08 '22 12:12 Neurotoxin001

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!

github-actions[bot] avatar Jun 07 '23 02:06 github-actions[bot]

+

Neurotoxin001 avatar Jun 07 '23 09:06 Neurotoxin001

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!

github-actions[bot] avatar Dec 06 '23 01:12 github-actions[bot]

+

Neurotoxin001 avatar Dec 06 '23 05:12 Neurotoxin001

test on 5.0.1

Aokromes avatar May 16 '24 12:05 Aokromes

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

Neurotoxin001 avatar May 16 '24 18:05 Neurotoxin001

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.

github-actions[bot] avatar May 31 '24 00:05 github-actions[bot]

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.

brawaru avatar Jun 01 '24 00:06 brawaru