vysheng / tg

telegram-cli
GNU General Public License v2.0
6.49k stars 1.54k forks source link

File upload via lua is faster than manually typed command #849

Open dausruddin opened 9 years ago

dausruddin commented 9 years ago

I tested upload a file using lua and tg-cli command, in a same server but different user and different instances.

While lua finished upload that file, tg-cli still upload the file at 20%. I tested tg-cli alone in another server, it is still slow. Why lua binding have better upload speed? Python have slow speed too.

I have 900Mbit download and 600Mbit upload speed (according to speedtest.net) but why it is still slow like hell?

Thanks.

hamidzr commented 8 years ago

im struggling with slow upload speeds too. i thinks its related to low sized queries bein used. * 1461510925.419589 Sent query #6277141628362950656 of size 65560 to DC 4 * 1461510925.554408 Sent query #6277141628942670848 of size 65560 to DC 4 * 1461510925.688841 Sent query #6277141629519888384 of size 65560 to DC 4 * 1461510925.823943 Sent query #6277141630102895616 of size 65560 to DC 4

im also testing using a vps on ovh datacenter ( 1gbps link )