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)

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    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.

    • krellor@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      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
        link
        fedilink
        English
        arrow-up
        0
        ·
        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
          link
          fedilink
          arrow-up
          1
          ·
          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

  • ryannathans@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    You’re probably limited by your TCP window sizes and congestion control algorithm. Look up a TCP throughput calculator and adjust your window size/congestion control as needed.

    If your hosting provider doesn’t grant access to this level, you could try various tunnels, like a UDP VPN that might be more resiliant. Again, not sure how limited you are with your provider. Worst case you could UDP VPN into a server in the same city as your host

  • Big P
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Welcome to the reason why a competitor to YouTube is almost impossible. Network routing is extremely complicated and short of laying your own cables or having multiple points of presence there’s not much you can do about it.

  • m0nky@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Okay, so I have actually lived in Korea for 15 years, and am into self hosting, servers for media, etc.

    What I can tell you is, you are fucked. Peering to anywhere other than Japan is a nightmare.

    Give up and build your own server in your own home. No amount of peering tricks or CDNs will help you.

    The best you’ll get in terms of connections to major service providers is hosting in Dallas, which should get you around 100mbps.

  • nutbutter@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    They are limited to 50mbps, as far as I remember, and considering your distance, I would say the ping speeds should be somewhere between 170ms and 250ms.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    IP Internet Protocol
    TCP Transmission Control Protocol, most often over IP
    UDP User Datagram Protocol, for real-time communications
    VPN Virtual Private Network

    [Thread #160 for this sub, first seen 24th Sep 2023, 08:15] [FAQ] [Full list] [Contact] [Source code]