Piped icon indicating copy to clipboard operation
Piped copied to clipboard

Question : Very slow on self host.

Open BirdInFire opened this issue 3 years ago • 8 comments
trafficstars

My internet connection is quite fast (clearly not fiber, but i can launch at least 8 or 10 youtube / invidious video at the same time without any of them falling under 1080p) of stuttering.

The question is : Why is when i'm self host (so in "custom mode") the video are buffering every 2 second (even with 10 second preload into settings (uped it to 30). My server do not have reached a bottlenek (cpu a 12% and ram a 25% (during the test), ethernet a 1%) And my bandwidth used (internet) is less than 3% during the test.

I have used last version of the docker images. (and disabled all security like SSO (in case) but do not solve the problem

if have followed step by step the config guide (and understand it).

if i switch to another instance on the same front end it's blazing fast (but since piped proxy also the account to them, the selfhost become totally useless ... (i do not even understand the utility of using another instance if we want to self host, i had hoped it proxied only video, but not the case).

Thanks for any help.

BirdInFire avatar Apr 17 '22 00:04 BirdInFire

Is there any way you could potentially share the instance URL? (Maybe privately, via https://github.com/TeamPiped/Piped#contact)

The official instance also uses HTTP/3 via a custom build script at https://github.com/FireMasterK/nginx-http3, which does improve performance a bit.

FireMasterK avatar Apr 22 '22 03:04 FireMasterK

How do i use http3 for self-host ? ./test-build.sh created only 2 images. Is this good idea for us to use? Also, you're using nginx-1.16.1?

shimuldn avatar May 26 '22 17:05 shimuldn

How do i use http3 for self-host ? ./test-build.sh created only 2 images. Is this good idea for us to use? Also, you're using nginx-1.16.1?

will say that soon have upgraded to fedora 36 since so i have to try again.

BirdInFire avatar May 26 '22 18:05 BirdInFire

Is there any way you could potentially share the instance URL? (Maybe privately, via https://github.com/TeamPiped/Piped#contact)

The official instance also uses HTTP/3 via a custom build script at https://github.com/FireMasterK/nginx-http3, which does improve performance a bit.

After test on latest of fedora / piped version same slow problem on custom instance (on even more powerfull server on another network (in fibre)

BirdInFire avatar Jun 19 '22 21:06 BirdInFire

I would use a DNS resolver like dnscrypt. That can have an impact for API response times.

You can also privately message me your API URL at https://github.com/TeamPiped/Piped#contact

FireMasterK avatar Jun 19 '22 22:06 FireMasterK

I would use a DNS resolver like dnscrypt. That can have an impact for API response times.

You can also privately message me your API URL at https://github.com/TeamPiped/Piped#contact

Will try that, ask myself if it's the ISP the problem, i will try to proxy by my phone over 4G, to see if the speed change.

BirdInFire avatar Jun 19 '22 22:06 BirdInFire

Is this still an issue?

FireMasterK avatar Aug 01 '22 16:08 FireMasterK

Is this still an issue?

yes, i have removed it, because even when using proxy (ant let auth on my instance it does not work this proxy system (seem have some problem with code logic (not prepared to use a instance as data vault and use proxy outgoing, or if a settings is bad the speed drop (only a settings on my end can cause that). Will found an alternative.

BirdInFire avatar Aug 01 '22 23:08 BirdInFire

Is this still a problem on the new rust based proxy? If it still is, it's likely your internet, and I don't think I can do anything.

To use it on Piped-Docker, you have to git pull, docker-compose down, ./configure-instance.sh, docker-compose up -d

FireMasterK avatar Nov 07 '22 06:11 FireMasterK

Is this still a problem on the new rust based proxy? If it still is, it's likely your internet, and I don't think I can do anything.

To use it on Piped-Docker, you have to git pull, docker-compose down, ./configure-instance.sh, docker-compose up -d

i will check today when i have some time for me, for tomorrow you will know :)

BirdInFire avatar Nov 07 '22 15:11 BirdInFire