Hi TCP users,
Currently, I have a homelab server that runs Jellyfin with direct access to local media content and a reverse proxy point to it. While it works well for people in Europe (where the server is), it is quite slow for some of my friends who are living in Asia. I am having some options in mind:
- Hire a VPS in Asia and set up another Jellyfin instance there. This works but I don’t really want to have two Jellyfin instances with two databases and also accessing to local media content will be curbersome to manage.
- Hire a VPS in Asia and set up a CDN but I am not sure if it will ever work with Jellyfin ?
So I would like to ask do you know any things about this and any idea to improve this situation ?
Thank you very much!
Edit: Thanks for all of your response. Based on my experience, I think the slowness is caused by the fact that there are too many hops to jump through before reaching the final client. So I think I will try to do several things:
- Try to optimize my upload speed, it is fast enough but not very stable recently so it could have some impact
- Set up a second Jellyfin instance and sync a part of my library there for my friends.
Edit: Slow here means both slow page loading and slow buffering.


HI, kinda late to the party. 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.
You can consider setting up a separate Jellyfin instance for Asia, but of course that comes with setting up syncing media, maintaining separate user credentials, and so on. So before renting compute, I suggest trying these smaller actions first - if they work you mightn’t need a VPS anymore:
/etc/sysctl.confstuff are:net.core.(rmem_max/wmem_max/rmem_default/wmem_default),net.ipv4.tcp_(mem,rmem,wmem)`. Relevant blogpost and another. YMMVnet.ipv4.tcp_congestion_control=bbr), a modern congestion control algo suitable for long distance/high latency.Curious to see if any of this helps :)