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

Download speed is still limited to 10MBps for premium accounts #24700

Open
aliforever opened this issue Jun 24, 2022 · 23 comments
Open

Download speed is still limited to 10MBps for premium accounts #24700

aliforever opened this issue Jun 24, 2022 · 23 comments
Labels

Comments

@aliforever
Copy link

Steps to reproduce

  1. Buy Premium Account
  2. Download a file from Telegram using a VPS.
  3. Download the file from the VPS using direct link and measure the time.
  4. Download the file from Telegram and measure the time.

Expected behaviour

My internet download speed being 1Gbps~125MBps should be able to download from Telegram with 125MBps rate.

Actual behaviour

The download speed from Telegram is 10MBps

Operating system

Windows 10

Version of Telegram Desktop

4.0

Installation source

Static binary from official website

Logs

https://streamable.com/4xq2fb A video recording of the process
@aliforever aliforever added the bug label Jun 24, 2022
@meklonets
Copy link

I can confirm the premium account on a Linux version has 10 mbs as well.

@Neurotoxin001
Copy link
Contributor

Neurotoxin001 commented Jun 24, 2022

Same issue. Here is my report.

Steps to reproduce

  1. Try to download video https://t.me/dvachannel/82385 or https://t.me/dvachannel/74593 and look at the download speed
  2. Try to download file https://t.me/dsd_music/9442 (link is dead, try it https://t.me/rand2ch/13759) and look at the download speed
  3. Files is downloading faster. Files is ~80mbps and videos is ~25-35mbps.

Telegram for iOS is downloading files at the maximum speed even without Premium. Maybe because basic speed limit is 100mbps and I have that speed from my provider. And Premium removes that limit.

1 video - Tdesktop premium.
1.mp4
2 video - Tdesktop without premium.
2.mp4
3-4 video - ios premium.
3.mp4
4.mp4
5-6 video - ios without premium.
5.mp4
6.mp4
1 picture - speedtest PC.

7

2 picture - speedtest ios.

8

9 video - tdesktop file download with premium.
9.mp4

Preston (TDesktop developer) says it's because of streaming system:
https://t.me/kepka_support/107450

With video, there is a very complicated logic there due to streaming :( Non-streaming ones should be downloaded identically to files.

But when I disable streaming by typing videoplayer in settings - nothing changed:

Streaming off
Telegram_y1dBhhqZlm.mp4

I really think this must be №1 issue on the developer's to-do list. If only because the promised function from the premium does not work.

Premium description

40c5cb9be605e0d0672aa-40c6b5523eff4b532d

Telegram Desktop 4.0.1, Windows 10

@john-preston
Copy link
Member

@aliforever Can you please confirm that the speed when downloading a file (like https://t.me/dsd_music/9442) is better than when downloading a video file? Your original report (video confirmation where you've recorded the slow download speed) is used for a video from a bot. Can you try a file and report if there is a difference?

@john-preston
Copy link
Member

@Neurotoxin001 I think that even with "videoplayer" cheat code it still uses a StreamedFileDownloader for the video file. This is the only difference between a video file download and a file download.

@Neurotoxin001
Copy link
Contributor

Neurotoxin001 commented Jun 25, 2022

I also asked 2 my friends to download file and video and compare speed and they confirm that file is downloading faster. They using latest Telegram Desktop and Windows 10 too but don't have github accounts to confirm it here.

@aliforever
Copy link
Author

@aliforever Can you please confirm that the speed when downloading a file (like https://t.me/dsd_music/9442) is better than when downloading a video file? Your original report (video confirmation where you've recorded the slow download speed) is used for a video from a bot. Can you try a file and report if there is a difference?

It took me 64 seconds to download the file (https://t.me/dsd_music/9442 961MB). It would be 15MBps. So I'd say it's 5MBps more than downloading a video.

@AkciumKicum
Copy link

AkciumKicum commented Jun 26, 2022

Windows 10
TDesktop 4.0.2 x64
speedtest result:
image

  1. Premium account. download video link: https://t.me/dvachannel/82385
    image

  2. Premium account. download video link: https://t.me/dvachannel/74593
    image

  3. Premium account. download media link: https://t.me/dsd_music/9442
    image

@Neurotoxin001
Copy link
Contributor

Are you going to fix it? With upload speed also.

Are you using your client? It's ridiculous. Tdesktop using only 10% of my upload speed.

It's already 2 months after Premium released and this is still not fixed.

@Neurotoxin001
Copy link
Contributor

#17272

@meklonets
Copy link

meklonets commented Sep 12, 2022

Any success with Premium users download speed?
Still have 10 Mb/s while getting 1Gb/s from ISP (torrents and all other speed tests show 1Gb/s).

@Neurotoxin001
Copy link
Contributor

Any success with Premium users download speed?

Unfortunately no. Developers have more important things to do. e.g. animated emoji

@Neurotoxin001
Copy link
Contributor

Try to download file https://t.me/dsd_music/9442 and look at the download speed

Seems like channel is dead. You can test it here:
https://t.me/rand2ch/13759

@Neurotoxin001
Copy link
Contributor

This issue is still relevant and it's sad that premium feature is not working after 6 months

@DenisBabarykin
Copy link

Still have this problem

@aliforever
Copy link
Author

Based on my findings the promise of better download speed only applies if you're connecting close to the dc of the file.

If the uploaded file is on Amsterdam DC for example, you'd achieve maximum speed by connecting from an Amsterdam VPS.

I'm not sure what is decreasing the speed between datacenters and locations, but it seems like Telegram doesn't want to share that information

@PystoyPlayer
Copy link

PystoyPlayer commented Jul 21, 2023

same issue

@Aokromes
Copy link
Collaborator

https://i.imgur.com/0pAbLQH.png telegram desktop 4.8.5

@Neurotoxin001
Copy link
Contributor

https://i.imgur.com/0pAbLQH.png telegram desktop 4.8.5

Is that your maximum speed from internet provider? There is no changes for me. Preston admitted that the problem is in the loader code, and he won't touch it, because he is preparing a version on tdlib (and there is no such problem there, there the speed is maximal, according to the tariff from the provider).

@Aokromes
Copy link
Collaborator

not maximum from internet provider but quite good speed.

@Neurotoxin001
Copy link
Contributor

Try this alpha on tdlib and you will see difference:
https://t.me/kotatochat_ru/195866

@PystoyPlayer
Copy link

PystoyPlayer commented Jul 21, 2023

Try this alpha on tdlib and you will see difference:
https://t.me/kotatochat_ru/195866

btw that works, thanks. But is there same for Macogram ? (from App Store) Its design is much better!

@ilya-fedin
Copy link
Contributor

But is there same for Macogram ?

ask at its repository?
https://github.com/overtake/TelegramSwift

@Aokromes
Copy link
Collaborator

Aokromes commented Dec 9, 2023

btw, i reached 650 mbps with standard telegram desktop, idk where the problem can be.

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

No branches or pull requests

9 participants