Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Reduce VPS Latency
New on LowEndTalk? Please Register and read our Community Rules.

Reduce VPS Latency

Hi LET,

Just an amateur questions..
Any tutorials or references to reduce VPS latency?

note: I'm an amateur with no coding experience, but I do want to learn about it.

Thanks a million.

Thanked by 1greentea

Comments

  • hyena56hyena56 Member

    I suggest you have to find a good hosting provider that has good peerings with-in your location or targeted location. And also keep note the nearest the better

    Thanked by 2Patriarch greentea
  • @hyena56 said:
    I suggest you have to find a good hosting provider that has good peerings with-in your location or targeted location. And also keep note the nearest the better

    I do understand it
    But since the VPS in APAC is relative expensive or rare to get (if it cheap), I try to find an alternative solutions about it :smiley:

    Anyway thank you so much for your response
    Really appreciate it!

    Thanked by 1greentea
  • hyena56hyena56 Member
    edited March 21

    @Patriarch said:

    @hyena56 said:
    I suggest you have to find a good hosting provider that has good peerings with-in your location or targeted location. And also keep note the nearest the better

    I do understand it
    But since the VPS in APAC is relative expensive or rare to get (if it cheap), I try to find an alternative solutions about it :smiley:

    Anyway thank you so much for your response
    Really appreciate it!

    Also is that a Game Server or a VPN? Which software are you running?

    Thanked by 2Patriarch greentea
  • Get a killer NIC with ping boost technology.

    Thanked by 2crunchbits Patriarch
  • Cloudflare's WARP may help.
    Also, use mosh instead of ssh.

    Thanked by 1Patriarch
  • NeoonNeoon Community Contributor, Veteran

    To the VPS from your ISP?
    Deploy a route bending network.

    Thanked by 1Patriarch
  • adnsadns Member

    +1 for Warp. I have same problem too because my ISP's peering sometimes changing and upload to abroad always very slow, so Hetzner, netcup, Contabo, OVH, DigitalOcean, OracleCloud, AWS.

    My solutions:

    • If IPv6 supported, try it instead of IPv4. I have decent download from my Kimsufi (depending on actual route, 33--35 ms and 600--700 Mbps DL or 50 ms with 400 Mbps)
    • Warp is a good option too. However, the Windows, WireGuard and UDP limitations reduce speed. I try to build a WG tunnel to my Kimsufi in Warp because I can maximize the speed with Iperf on linux (1000/300 Mbps that given my ISP) but tunnel-in-tunnel is very weak on Windows.
    • Tried OpenVPN TCP in Warp, same result, very slow and unstable

    My actual idea that I use an old laptop as a VPN GW and I only build my WireGuard connection to KS and I spin up the tunnel on this jump host and route my traffic from my PC to this. I'm waiting a good result. Sadly, in my country VPS and VPN too expensive, not reliable in my opinion and have questionable policies combined with weak routing to abroad.

  • @hyena56 said:
    Also is that a Game Server or a VPN? Which software are you running?

    No. There's no Game Server or any VPN. I used it for my YT Projects

  • @harrison said:
    Cloudflare's WARP may help.
    Also, use mosh instead of ssh.

    Would you mind to explain more spesific about it?

  • @Patriarch said:

    @harrison said:
    Cloudflare's WARP may help.
    Also, use mosh instead of ssh.

    Would you mind to explain more spesific about it?

    You install warp-cli and enable it. It acts similar to a VPN and uses Cloudflare infra to route your packets. It may help with latency.

    If your connection to server is shaky, you can use mosh which uses UDP instead of TCP and is designed for poor connection situations.

  • vsys_hostvsys_host Member, Patron Provider

    @Patriarch

    Do you mean your website latency or VPS node latency?

  • @harrison said:
    You install warp-cli and enable it. It acts similar to a VPN and uses Cloudflare infra to route your packets. It may help with latency.

    If your connection to server is shaky, you can use mosh which uses UDP instead of TCP and is designed for poor connection situations.

    Just to make it clear..
    So I need to install warp-cli on my PC/Laptop and then use it to access my VPS
    Is that right?

    Most of my vps are Windows server.

  • @vsys_host said:
    @Patriarch

    Do you mean your website latency or VPS node latency?

    Node latency :smile:

  • alt_alt_ Member

    Use port forwarding may help. I used to use Rackspace loading balancer a lot. They have premium network with around 50ms testing from any of Asian countries.

    Thanked by 1Patriarch
  • @Patriarch said: So I need to install warp-cli on my PC/Laptop and then use it to access my VPS

    No, install it on your VPS.

    Also for mosh, you need to install it both on server and client.

    Thanked by 1Patriarch
  • alt_alt_ Member
    edited March 22

    @harrison said:

    @Patriarch said: So I need to install warp-cli on my PC/Laptop and then use it to access my VPS

    No, install it on your VPS.

    Also for mosh, you need to install it both on server and client.

    I’ve tried that before. It is so resource consuming especially on low spec vps, that I can barely run my other apps after I routing all traffic through it.

  • vsys_hostvsys_host Member, Patron Provider

    @Patriarch said:

    @vsys_host said:
    @Patriarch

    Do you mean your website latency or VPS node latency?

    Node latency :smile:

    1. You could optimize your VPS configuration (server software, network and server settings)
    2. Use a VPN to connect to VPS
    3. Switch off conntrack (module connection tracking)v
    Thanked by 1Patriarch
  • @alt_ said:

    @harrison said:

    @Patriarch said: So I need to install warp-cli on my PC/Laptop and then use it to access my VPS

    No, install it on your VPS.

    Also for mosh, you need to install it both on server and client.

    I’ve tried that before. It is so resource consuming especially on low spec vps, that I can barely run my other apps after I routing all traffic through it.

    How much exactly is consume the resources?
    Such a CPU, RAM etc

  • @vsys_host said:

    @Patriarch said:

    @vsys_host said:
    @Patriarch

    Do you mean your website latency or VPS node latency?

    Node latency :smile:

    1. You could optimize your VPS configuration (server software, network and server settings)
    2. Use a VPN to connect to VPS
    3. Switch off conntrack (module connection tracking)v

    I need more spesific explanation especially for number 1 :smiley:

  • alt_alt_ Member
    edited March 22

    @Patriarch said:

    @alt_ said:

    @harrison said:

    @Patriarch said: So I need to install warp-cli on my PC/Laptop and then use it to access my VPS

    No, install it on your VPS.

    Also for mosh, you need to install it both on server and client.

    I’ve tried that before. It is so resource consuming especially on low spec vps, that I can barely run my other apps after I routing all traffic through it.

    How much exactly is consume the resources?
    Such a CPU, RAM etc

    More than 1G of RAM and 30% of a E5 core when it is running on my 40M/s traffic vps as I remember.

Sign In or Register to comment.