37
submitted 1 year ago* (last edited 1 year ago) by Mateleo@lemmy.dbzer0.com to c/selfhosted@lemmy.world

Hi,

I'm currenty using Oracle Free Tier for Jellyfin (hosted in Paris) and i wanted to know what is the proper way to speed up media delivery when i'm far away from the server location ? (Korea currently)

EDIT : After all your replies, my VPN through Hong Kong give me the best speed.

you are viewing a single comment's thread
view the rest of the comments
[-] redcalcium@lemmy.institute 41 points 1 year ago* (last edited 1 year ago)

Peering is actually a complex issue. The ISP you're currently using might not have a good peering with your data center operator.

One way to force a different peering is by complaining to your ISP. Include the server's IP address in the complain, and their sysadmin might take a look and alter their routing table so traffics going to your data center will go through different route (assuming the ISP is not shitty and have multiple high quality peering AND actually looking at your support request).

Another way is by using a VPN. By using a VPN, you'll bypass your ISP's network routing. Your traffic will go through your VPN provider's data center instead, which have completely different peering partners than your ISP. Try connecting to different country (e.g. Singapore, Hong Kong, Japan, Europe) to see which one is the fastest. For example, your ISP might have a good peering to Hong Kong, so by connecting to a Hong Kong VPN server, you'll bypass your ISP's shitty peering to Europe.

Finger cross though. In general, connection between this part of Asia and Europe is not great because there is no direct route. Connection to US is a lot faster in comparison because there are many direct undersea fiber optics links.

[-] Mateleo@lemmy.dbzer0.com 7 points 1 year ago

Thank you for your reply! I've just tested with my VPN and Hong Kong gives me the best speed. (Like 20x more)

[-] redcalcium@lemmy.institute 8 points 1 year ago

I was expecting you'll get like 2x improvement max. 20x is crazy lmao.

[-] krellor@kbin.social 5 points 1 year ago

I used to oversee WAN and peering operations for a large multi site. Residential ISPs almost never respond to reports of inefficient routes unless you are one of their peers, big business customers, or you really know your stuff and send in a detailed report showing asymetric routes, bad bgp info, etc.

As far as a VPN goes, that probably wouldn't help either. You will probably increase the number of hops and latency. Your route will still egress your isp gateway, to your VPN provider, then travel over the Internet and to your remote server, while adding additional protocol overhead. Yes, it is remotely possible that there is an improved link from his regional VPN node to his remote provider, but unlikely from my experience with traffic engineering.

[-] redcalcium@lemmy.institute 5 points 1 year ago

Actually in my case it did help. I got faster speed to one of my VPS in Paris (OVH) if I use VPN to Singapore first. Heck, even my VPS in Singapore (also OVH) is faster too after connecting to the VPN. My ISP probably really have a bad peering with OVH.

[-] krellor@kbin.social 3 points 1 year ago

That's interesting. Any chance your ISP could have been qos'ing streaming video? Although Singapore would be about the one place where a VPN concentrator would help; it is pretty much the big fiber hub in that local region for East, West, North connectivity.

Fiber map

[-] redcalcium@lemmy.institute 1 points 1 year ago

I don't think they have QoS beyond enforcing soft data cap at 2TB. Another weird thing I notice with this ISP is how bad sites hosted behind cloudflare would perform. It usually fine, but sometimes they have random high latency on random assets (js, css or image files), and when it happens the speed to that site would tank too to just a few hundred KB/s or less. When it happens it'll magically gone by using a VPN.

[-] Molecular0079@lemmy.world 1 points 1 year ago

Residential ISPs almost never respond to reports of inefficient routes unless you are one of their peers

Oh man, fucking tell me about it. I remember Verizon support gave the absolute runaround when I was trying to debug why my server was absolute garbage in San Jose vs LA. Took me 3 separate support calls for them to finally do something about it. It also took me a while to figure out it was an ISP issue in the first place.

this post was submitted on 24 Sep 2023
37 points (89.4% liked)

Selfhosted

39677 readers
312 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS