Comment on Geo-distributed Jellyfin
stratself@lemdro.id 17 hours ago
I’m in a similar rut with intercontinental internet issues, and would like to share my thoughts
While not a full-fledged CDN, you may consider setting up an Asian VPS to serve as a second reverse proxy/ingress route, terminate TLS there, and route plaintext HTTP back to your homelab (this virtual tunnel shall be behind a WireGuard VPN interface). As I’ve figured out in my blogpost here (see scenario 2), this allows the initial TCP and TLS handshakes to happen nearer to the user instead of going all the way to Europe and back home.
Before renting compute, I suggest trying these smaller actions first - if they work you mightn’t need a VPS anymore:
- Look into Linux sysctls tuning of network parameters. My personal tweaks for the
/etc/sysctl.confstuff are: - Implement some sort of Smart Queue Management on your router (e.g. CAKE algorithm)
- Enable HTTP/3+QUIC on your reverse proxy for reduced handshakes. Though it’s unlikely native Jellyfin clients also benefit from such features
Curious to see if any of this helps :)